jpilot@lists.jpilot.org

General support, questions, patches for J-Pilot.

View all threads

JPilot does not sync on Ubuntu 22.04

UZ
Ulf Zibis
Tue, Jul 19, 2022 10:30 PM

Hi,

after pressing the sync button, nothing happens. This worked fine on Ubuntu 20.04 for my Palm Treo 650.

What does this mean? :
Gtk-Message: 23:47:26.939: Failed to load module "xapp-gtk3-module"

Here is the debug log:

$ jpilot -d
Debug messages on.
calling check_hidden_dir
pidfile: /home/ich/.jpilot/jpilot.pid
opening dir /usr/lib/jpilot/plugins/
found plugin libkeyring.so
opened plugin [/usr/lib/jpilot/plugins/libkeyring.so]
This plugin is version (1.1).
getting plugin_get_name
KeyRing: plugin_get_name
getting plugin_get_menu_name
getting plugin_get_help_name
getting plugin_get_db_name
plugin name is [KeyRing 1.1]
found plugin libsynctime.so
opened plugin [/usr/lib/jpilot/plugins/libsynctime.so]
This plugin is version (1.0).
getting plugin_get_name
getting plugin_get_menu_name
getting plugin_get_help_name
getting plugin_get_db_name
plugin name is [SyncTime 1.0]
found plugin libexpense.so
opened plugin [/usr/lib/jpilot/plugins/libexpense.so]
This plugin is version (1.1).
getting plugin_get_name
Expense: plugin_get_name
getting plugin_get_menu_name
getting plugin_get_help_name
getting plugin_get_db_name
plugin name is [Expense 1.1]
opening dir /home/ich/.jpilot/plugins/
plugin: [KeyRing 1.1] was loaded
calling plugin_startup for [KeyRing 1.1]
KeyRing: plugin_startup
KeyRing: base_dir = [/usr]
plugin: [Expense 1.1] was loaded
calling plugin_startup for [Expense 1.1]
Expense: plugin_startup
Expense: base_dir = [/usr]
plugin: [SyncTime 1.0] was loaded
Gtk-Message: 23:47:26.939: Failed to load module "xapp-gtk3-module"
rc file from prefs is jpilotcss.default
parsing /usr/share/jpilot/jpilotcss.default
setting schema to addresses
cb_notebook_changed(), prev_page=4, page=0
jp_pref_write_rc_file()
get_addresses2()
Entering jp_read_DB_files: AddressDB
Leaving jp_read_DB_files
Leaving get_addresses2()
set_new_button_to new 1 old 1
alarms_init()
UPTODATE 2022 7 19 23 40
alarms_find_next()
get_days_calendar_events()
Entering jp_read_DB_files: DatebookDB
Leaving jp_read_DB_files
Leaving get_days_calendar_events()
alarms_write_file()
jp_pref_write_rc_file()
jp_pref_write_rc_file()
cb_check_version
jp_pref_write_rc_file()
setting PILOTRATE=[115200]
pref port=[usb:]
num_backups=3
lock succeeded
forking sync process
sync:calling load_plugins
opening dir /usr/lib/jpilot/plugins/
found plugin libkeyring.so
opened plugin [/usr/lib/jpilot/plugins/libkeyring.so]
This plugin is version (1.1).
getting plugin_get_name
KeyRing: plugin_get_name
getting plugin_get_menu_name
getting plugin_get_help_name
getting plugin_get_db_name
plugin name is [KeyRing 1.1]
found plugin libsynctime.so
opened plugin [/usr/lib/jpilot/plugins/libsynctime.so]
This plugin is version (1.0).
getting plugin_get_name
getting plugin_get_menu_name
getting plugin_get_help_name
getting plugin_get_db_name
plugin name is [SyncTime 1.0]
found plugin libexpense.so
opened plugin [/usr/lib/jpilot/plugins/libexpense.so]
This plugin is version (1.1).
getting plugin_get_name
Expense: plugin_get_name
getting plugin_get_menu_name
getting plugin_get_help_name
getting plugin_get_db_name
plugin name is [Expense 1.1]
opening dir /home/ich/.jpilot/plugins/


 Abgleich mit usb:
 Hot-Sync Knopf jetzt drücken


command=100 [****************************************
]
command=100 [ Abgleich mit usb:
]
command=100 [ Hot-Sync Knopf jetzt drücken
]
command=100 [****************************************
]
jp_pref_write_rc_file()
paned pos = 829
jp_pref_write_rc_file()
output height = 102


 Cancelling HotSync


caught signal SIGCHLD
paned pos = 829
jp_pref_write_rc_file()
output height = 102
paned pos = 829
jp_pref_write_rc_file()
output height = 102
paned pos = 829
jp_pref_write_rc_file()
output height = 102
paned pos = 829
jp_pref_write_rc_file()
output height = 102
x=622, y=78
jp_pref_write_rc_file()
jp_pref_write_rc_file()
jp_pref_write_rc_file()
calling plugin_exit_cleanup
KeyRing: plugin_exit_cleanup
calling plugin_exit_cleanup
Expense: plugin_exit_cleanup
jp_pref_write_rc_file()
cleanup_pc_file for DatebookDB
No compacting needed
max_id was 0
cleanup_pc_file for AddressDB
No compacting needed
max_id was 0
cleanup_pc_file for ToDoDB
No compacting needed
max_id was 0
cleanup_pc_file for MemoDB
No compacting needed
max_id was 0
cleanup_pc_file for [Keys-Gtkr]
No compacting needed
max_id was 0
cleanup_pc_file for [ExpenseDB]
No compacting needed
max_id was 0
not calling cleanup_pc_file for: []

Much thanks,

-Ulf

Hi, after pressing the sync button, nothing happens. This worked fine on Ubuntu 20.04 for my Palm Treo 650. What does this mean? : Gtk-Message: 23:47:26.939: Failed to load module "xapp-gtk3-module" Here is the debug log: $ jpilot -d Debug messages on. calling check_hidden_dir pidfile: /home/ich/.jpilot/jpilot.pid opening dir /usr/lib/jpilot/plugins/ found plugin libkeyring.so opened plugin [/usr/lib/jpilot/plugins/libkeyring.so] This plugin is version (1.1). getting plugin_get_name KeyRing: plugin_get_name getting plugin_get_menu_name getting plugin_get_help_name getting plugin_get_db_name plugin name is [KeyRing 1.1] found plugin libsynctime.so opened plugin [/usr/lib/jpilot/plugins/libsynctime.so] This plugin is version (1.0). getting plugin_get_name getting plugin_get_menu_name getting plugin_get_help_name getting plugin_get_db_name plugin name is [SyncTime 1.0] found plugin libexpense.so opened plugin [/usr/lib/jpilot/plugins/libexpense.so] This plugin is version (1.1). getting plugin_get_name Expense: plugin_get_name getting plugin_get_menu_name getting plugin_get_help_name getting plugin_get_db_name plugin name is [Expense 1.1] opening dir /home/ich/.jpilot/plugins/ plugin: [KeyRing 1.1] was loaded calling plugin_startup for [KeyRing 1.1] KeyRing: plugin_startup KeyRing: base_dir = [/usr] plugin: [Expense 1.1] was loaded calling plugin_startup for [Expense 1.1] Expense: plugin_startup Expense: base_dir = [/usr] plugin: [SyncTime 1.0] was loaded Gtk-Message: 23:47:26.939: Failed to load module "xapp-gtk3-module" rc file from prefs is jpilotcss.default parsing /usr/share/jpilot/jpilotcss.default setting schema to addresses cb_notebook_changed(), prev_page=4, page=0 jp_pref_write_rc_file() get_addresses2() Entering jp_read_DB_files: AddressDB Leaving jp_read_DB_files Leaving get_addresses2() set_new_button_to new 1 old 1 alarms_init() UPTODATE 2022 7 19 23 40 alarms_find_next() get_days_calendar_events() Entering jp_read_DB_files: DatebookDB Leaving jp_read_DB_files Leaving get_days_calendar_events() alarms_write_file() jp_pref_write_rc_file() jp_pref_write_rc_file() cb_check_version jp_pref_write_rc_file() setting PILOTRATE=[115200] pref port=[usb:] num_backups=3 lock succeeded forking sync process sync:calling load_plugins opening dir /usr/lib/jpilot/plugins/ found plugin libkeyring.so opened plugin [/usr/lib/jpilot/plugins/libkeyring.so] This plugin is version (1.1). getting plugin_get_name KeyRing: plugin_get_name getting plugin_get_menu_name getting plugin_get_help_name getting plugin_get_db_name plugin name is [KeyRing 1.1] found plugin libsynctime.so opened plugin [/usr/lib/jpilot/plugins/libsynctime.so] This plugin is version (1.0). getting plugin_get_name getting plugin_get_menu_name getting plugin_get_help_name getting plugin_get_db_name plugin name is [SyncTime 1.0] found plugin libexpense.so opened plugin [/usr/lib/jpilot/plugins/libexpense.so] This plugin is version (1.1). getting plugin_get_name Expense: plugin_get_name getting plugin_get_menu_name getting plugin_get_help_name getting plugin_get_db_name plugin name is [Expense 1.1] opening dir /home/ich/.jpilot/plugins/ ****************************************  Abgleich mit usb:  Hot-Sync Knopf jetzt drücken **************************************** command=100 [**************************************** ] command=100 [ Abgleich mit usb: ] command=100 [ Hot-Sync Knopf jetzt drücken ] command=100 [**************************************** ] jp_pref_write_rc_file() paned pos = 829 jp_pref_write_rc_file() output height = 102 ****************************************  Cancelling HotSync **************************************** caught signal SIGCHLD paned pos = 829 jp_pref_write_rc_file() output height = 102 paned pos = 829 jp_pref_write_rc_file() output height = 102 paned pos = 829 jp_pref_write_rc_file() output height = 102 paned pos = 829 jp_pref_write_rc_file() output height = 102 x=622, y=78 jp_pref_write_rc_file() jp_pref_write_rc_file() jp_pref_write_rc_file() calling plugin_exit_cleanup KeyRing: plugin_exit_cleanup calling plugin_exit_cleanup Expense: plugin_exit_cleanup jp_pref_write_rc_file() cleanup_pc_file for DatebookDB No compacting needed max_id was 0 cleanup_pc_file for AddressDB No compacting needed max_id was 0 cleanup_pc_file for ToDoDB No compacting needed max_id was 0 cleanup_pc_file for MemoDB No compacting needed max_id was 0 cleanup_pc_file for [Keys-Gtkr] No compacting needed max_id was 0 cleanup_pc_file for [ExpenseDB] No compacting needed max_id was 0 not calling cleanup_pc_file for: [] Much thanks, -Ulf
UZ
Ulf Zibis
Wed, Jul 20, 2022 9:32 AM

Am 20.07.22 um 00:30 schrieb Ulf Zibis:

Hi,

after pressing the sync button, nothing happens. This worked fine on Ubuntu 20.04 for my Palm Treo 650.

What does this mean? :
Gtk-Message: 23:47:26.939: Failed to load module "xapp-gtk3-module"

After sudo apt install xapp this message disappeared. So it seems a dependency, which is missing in the dependencies of jpilot_2.0.1-1_amd64.deb

Anyway, sync still doesn't work here.
Please help !

Am 20.07.22 um 00:30 schrieb Ulf Zibis: > Hi, > > after pressing the sync button, nothing happens. This worked fine on Ubuntu 20.04 for my Palm Treo 650. > > What does this mean? : > Gtk-Message: 23:47:26.939: Failed to load module "xapp-gtk3-module" After `sudo apt install xapp` this message disappeared. So it seems a dependency, which is missing in the dependencies of jpilot_2.0.1-1_amd64.deb Anyway, sync still doesn't work here. Please help !
UZ
Ulf Zibis
Fri, Jul 22, 2022 4:06 PM

Am 20.07.22 um 11:32 schrieb Ulf Zibis:

Anyway, sync still doesn't work here.
Please help !

Now it works.
I had missed to add dialout to groups of my user.

Wouldn't it be possible, to do this automatically with the install script or via install hook in the DEB-Package ... and note the user to re-login?

Another possibility would be, that JPilot would open a small dialogue for that, when Sync gets invoked.

-Ulf

Am 20.07.22 um 11:32 schrieb Ulf Zibis: > Anyway, sync still doesn't work here. > Please help ! Now it works. I had missed to add `dialout` to groups of my user. Wouldn't it be possible, to do this automatically with the install script or via install hook in the DEB-Package ... and note the user to re-login? Another possibility would be, that JPilot would open a small dialogue for that, when Sync gets invoked. -Ulf
JM
Judd Montgomery
Fri, Jul 22, 2022 9:06 PM

On 7/22/22 12:06, Ulf Zibis wrote:

Am 20.07.22 um 11:32 schrieb Ulf Zibis:

Anyway, sync still doesn't work here.
Please help !

Now it works.
I had missed to add dialout to groups of my user.

Wouldn't it be possible, to do this automatically with the install script or via install hook in the DEB-Package ... and note the user to re-login?

Another possibility would be, that JPilot would open a small dialogue for that, when Sync gets invoked.

-Ulf

There is a commit that would notify the user of this.  It is just a
guess at the problem though because not every distro is going to have a
dialout group or need the user to be in it.

Judd

On 7/22/22 12:06, Ulf Zibis wrote: > Am 20.07.22 um 11:32 schrieb Ulf Zibis: >> Anyway, sync still doesn't work here. >> Please help ! > Now it works. > I had missed to add `dialout` to groups of my user. > > Wouldn't it be possible, to do this automatically with the install script or via install hook in the DEB-Package ... and note the user to re-login? > > Another possibility would be, that JPilot would open a small dialogue for that, when Sync gets invoked. > > -Ulf There is a commit that would notify the user of this.  It is just a guess at the problem though because not every distro is going to have a dialout group or need the user to be in it. Judd
UZ
Ulf Zibis
Fri, Jul 29, 2022 10:20 AM

Am 22.07.22 um 23:06 schrieb Judd Montgomery:

There is a commit that would notify the user of this.

Thanks!

I tried to find that commit, but wasn't successful? Where can I find it?

And what's about the xapp package? Wouldn't it be worth to add it to the dependency list?

Am 22.07.22 um 23:06 schrieb Judd Montgomery: > There is a commit that would notify the user of this. Thanks! I tried to find that commit, but wasn't successful? Where can I find it? And what's about the `xapp` package? Wouldn't it be worth to add it to the dependency list?
JM
Judd Montgomery
Fri, Jul 29, 2022 5:03 PM

On 7/29/22 06:20, Ulf Zibis wrote:

Am 22.07.22 um 23:06 schrieb Judd Montgomery:

There is a commit that would notify the user of this.

Thanks!

I tried to find that commit, but wasn't successful? Where can I find it?

Oh, it is a PR.  I will try to get to these this weekend.

https://github.com/juddmon/jpilot/pull/36

And what's about the xapp package? Wouldn't it be worth to add it to
the dependency list?

What is xapp?

On 7/29/22 06:20, Ulf Zibis wrote: > Am 22.07.22 um 23:06 schrieb Judd Montgomery: > >> There is a commit that would notify the user of this. > Thanks! > > I tried to find that commit, but wasn't successful? Where can I find it? > Oh, it is a PR.  I will try to get to these this weekend. https://github.com/juddmon/jpilot/pull/36 > And what's about the `xapp` package? Wouldn't it be worth to add it to > the dependency list? What is xapp?
UZ
Ulf Zibis
Fri, Jul 29, 2022 9:43 PM

Am 29.07.22 um 19:03 schrieb Judd Montgomery:

Oh, it is a PR.  I will try to get to these this weekend.
https://github.com/juddmon/jpilot/pull/36

That's great. I've found it recently. Please note my change suggestion here: https://github.com/juddmon/jpilot/issues/31#issuecomment-1199228267

What is xapp?

I don't know more than it is written here: https://packages.ubuntu.com/jammy/xapp
It's new since Ubuntu 22.04. I seems, it has something to do with the cinnamon desktop. Maybe it's requested here, because I use the Nemo file manager, which has some dependencies on cinnamon packages.
After I installed it, the above mentioned warning disappeared.

Am 29.07.22 um 19:03 schrieb Judd Montgomery: > Oh, it is a PR.  I will try to get to these this weekend. > https://github.com/juddmon/jpilot/pull/36 That's great. I've found it recently. Please note my change suggestion here: https://github.com/juddmon/jpilot/issues/31#issuecomment-1199228267 > What is xapp? I don't know more than it is written here: https://packages.ubuntu.com/jammy/xapp It's new since Ubuntu 22.04. I seems, it has something to do with the cinnamon desktop. Maybe it's requested here, because I use the Nemo file manager, which has some dependencies on cinnamon packages. After I installed it, the above mentioned warning disappeared.
UZ
Ulf Zibis
Mon, Aug 15, 2022 8:33 PM

Am 29.07.22 um 19:03 schrieb Judd Montgomery:

Oh, it is a PR.  I will try to get to these this weekend.
https://github.com/juddmon/jpilot/pull/36

Thanks for the hint. I've found it.

It seems, you did not have time that weekend :-(
Is there a chance for another weekend?

Am 29.07.22 um 19:03 schrieb Judd Montgomery: > Oh, it is a PR.  I will try to get to these this weekend. > https://github.com/juddmon/jpilot/pull/36 Thanks for the hint. I've found it. It seems, you did not have time that weekend :-( Is there a chance for another weekend?