#175 NixNote 2 (beta 1) unable to start

v1.0 (example)
open
nobody
None
5
2014-08-25
2014-04-08
docent14
No

INFO 2014-04-08 08:16:48.499 ( main.cpp @ 104 ) Built with Qt 4.8.4 running on 4.8.4
INFO 2014-04-08 08:16:48.499 ( main.cpp @ 105 ) Thrift version: 0.9.1
Error: signal 11:
nixnote2(_Z13fault_handleri+0x18)[0x4caac8]
/lib/x86_64-linux-gnu/libc.so.6(+0x36ff0)[0x7f3794047ff0]
nixnote2(main+0x80e)[0x4c86de]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f3794032de5]
nixnote2[0x4ca9e8]

What is strange - it just run times, then starter to show this message.

Discussion

  • docent14
    docent14
    2014-04-08

    After reinstallation:

    INFO 2014-04-08 08:26:18.125 ( main.cpp @ 104 ) Built with Qt 4.8.4 running on 4.8.4
    INFO 2014-04-08 08:26:18.125 ( main.cpp @ 105 ) Thrift version: 0.9.1
    Thrift: Tue Apr 8 08:26:49 2014 SSL_shutdown: error code: 0
    Thrift: Tue Apr 8 08:26:51 2014 SSL_shutdown: error code: 0
    ERROR 2014-04-08 08:29:55.516 ( communication/communicationmanager.cpp @ 261 ) TTransport error: Type-> 7
    ERROR 2014-04-08 08:29:55.516 ( communication/communicationmanager.cpp @ 264 ) TTransport error # 1 . Retrying
    Thrift: Tue Apr 8 08:29:55 2014 SSL_shutdown: error code: 0
    ERROR 2014-04-08 08:29:55.516 ( communication/communicationmanager.cpp @ 266 ) Reconnecting
    Thrift: Tue Apr 8 08:29:56 2014 SSL_shutdown: error code: 0
    ERROR 2014-04-08 08:31:12.166 ( communication/communicationmanager.cpp @ 261 ) TTransport error: Type-> 7
    ERROR 2014-04-08 08:31:12.166 ( communication/communicationmanager.cpp @ 264 ) TTransport error # 1 . Retrying
    Thrift: Tue Apr 8 08:31:12 2014 SSL_shutdown: error code: 0
    ERROR 2014-04-08 08:31:12.166 ( communication/communicationmanager.cpp @ 266 ) Reconnecting
    Thrift: Tue Apr 8 08:31:13 2014 SSL_shutdown: error code: 0

    No synchronisation with evernote.

    Linux Mint 16, x64
    3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    //Message log atached

     
    Last edit: docent14 2014-04-08
    Attachments
  • I love Thrift.

    That error is saying that Thrift encountered an "internal error". Unfortunately that isn't my code so fixing it will be tricky. The good news is that for a long time I was developing on Mint 14, so I would think it is possible to get it working.

    The first thing I'd try is to rebuild Thrift yourself just to be sure all the libraries are in sync. This is how you do it:

    1.) Download Thrift 0.9.1 from http://thrift.apache.org/download
    2.) Install any required packages. I think these are the ones you'll need:

    sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev

    3.) Issue "./configure --without-php --without-php_extension --without-python --without-erlang --without-java". You should see a message at similar to this at the end:

    "Building C++ Library ... : yes"

    4.) Issue a "make" to actually do the compile.
    5.) Assuming it compiled, issue a "sudo make install"
    6.) Rename or remove /usr/lib/nixnote2 (which just has Thrift libraries in it anyway).
    7.) Delete ~/.nixnote and do a resync. Be sure to set the message level to debugging prior to the sync.

    Thanks

     
  • docent14
    docent14
    2014-04-08

    Between 6 and 7 - ldconfig is required
    After waiting 10 minutes, some notes began to appear (no all). As for now, after starting NixNote2 my account just logs out ;( No trace in messages.log

    Syslog shows

    Apr 8 17:11:34 mbojko-XPS kernel: [10054.627014] detected fb_set_par error, error code: -22
    Apr 8 17:11:34 mbojko-XPS cinnamon-session[6076]: WARNING: Detected that screensaver has left the bus
    Apr 8 17:11:34 mbojko-XPS cinnamon-session[6076]: Gdk-WARNING: cinnamon-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.#012
    Apr 8 17:11:34 mbojko-XPS mdm[6016]: WARNING: mdm_slave_xioerror_handler: Fatal X error - Restarting :0
    Apr 8 17:11:34 mbojko-XPS pulseaudio[11328]: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true
    Apr 8 17:11:34 mbojko-XPS NetworkManager[1934]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.132': no such name
    Apr 8 17:11:34 mbojko-XPS colord: device removed: xrandr-AU Optronics
    Apr 8 17:11:34 mbojko-XPS colord: device removed: xrandr-Samsung Electric Company-S22B300-808595767
    Apr 8 17:11:34 mbojko-XPS colord: device removed: xrandr-Samsung Electric Company-S22C300-808597553
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-5bc00240418183c168dc4f4e8a7d7c43
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-467b9bf00df13a30614c95172d625ae1
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-4dbe920f57460f4182457d24b5369e32
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-421464c77673e5d03668d44883bf6428
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-9739741f1b5d3a5afb55497343273c3c
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-db2ab0fe8d0f8f6e4f0a027b69ab9f6a
    Apr 8 17:11:34 mbojko-XPS colord: Profile removed: icc-e61a81b74a45651ddf9a9ce59e0ab005
    Apr 8 17:11:34 mbojko-XPS NetworkManager[1934]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.132': no such name
    Apr 8 17:11:34 mbojko-XPS NetworkManager[1934]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.132': no such name
    Apr 8 17:11:34 mbojko-XPS NetworkManager[1934]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.132': no such name
    Apr 8 17:11:34 mbojko-XPS rtkit-daemon[3036]: Successfully made thread 11338 of process 11338 (n/a) owned by '1000' high priority at nice level -11.
    Apr 8 17:11:34 mbojko-XPS rtkit-daemon[3036]: Supervising 1 threads of 1 processes of 1 users.
    Apr 8 17:11:34 mbojko-XPS pulseaudio[11338]: [pulseaudio] pid.c: Stale PID file, overwriting.
    Apr 8 17:11:34 mbojko-XPS rtkit-daemon[3036]: Successfully made thread 11362 of process 11338 (n/a) owned by '1000' RT at priority 5.
    Apr 8 17:11:34 mbojko-XPS rtkit-daemon[3036]: Supervising 2 threads of 1 processes of 1 users.
    Apr 8 17:11:34 mbojko-XPS rtkit-daemon[3036]: Successfully made thread 11363 of process 11338 (n/a) owned by '1000' RT at priority 5.
    Apr 8 17:11:34 mbojko-XPS rtkit-daemon[3036]: Supervising 3 threads of 1 processes of 1 users.
    Apr 8 17:11:34 mbojko-XPS pulseaudio[11338]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-0hkaz36jUr: Connection refused
    Apr 8 17:11:34 mbojko-XPS pulseaudio[11338]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-0hkaz36jUr: Connection refused
    Apr 8 17:11:34 mbojko-XPS bluetoothd[1834]: Endpoint registered: sender=:1.165 path=/MediaEndpoint/HFPAG
    Apr 8 17:11:34 mbojko-XPS bluetoothd[1834]: Endpoint registered: sender=:1.165 path=/MediaEndpoint/HFPHS
    Apr 8 17:11:34 mbojko-XPS bluetoothd[1834]: Endpoint registered: sender=:1.165 path=/MediaEndpoint/A2DPSource
    Apr 8 17:11:34 mbojko-XPS bluetoothd[1834]: Endpoint registered: sender=:1.165 path=/MediaEndpoint/A2DPSink
    Apr 8 17:11:35 mbojko-XPS acpid: client 6042[0:0] has disconnected
    Apr 8 17:11:35 mbojko-XPS acpid: client 6042[0:0] has disconnected
    Apr 8 17:11:35 mbojko-XPS acpid: client connected from 11368[0:0]
    Apr 8 17:11:35 mbojko-XPS acpid: 1 client rule loaded
    Apr 8 17:11:35 mbojko-XPS acpid: client connected from 11368[0:0]
    Apr 8 17:11:35 mbojko-XPS acpid: 1 client rule loaded
    Apr 8 17:11:35 mbojko-XPS acpid: client 11368[0:0] has disconnected
    Apr 8 17:11:35 mbojko-XPS acpid: client connected from 11368[0:0]
    Apr 8 17:11:35 mbojko-XPS acpid: 1 client rule loaded
    Apr 8 17:11:36 mbojko-XPS acpid: client 11368[0:0] has disconnected
    Apr 8 17:11:36 mbojko-XPS acpid: client connected from 11368[0:0]
    Apr 8 17:11:36 mbojko-XPS acpid: 1 client rule loaded
    Apr 8 17:11:36 mbojko-XPS acpid: client 11368[0:0] has disconnected
    Apr 8 17:11:36 mbojko-XPS acpid: client connected from 11368[0:0]
    Apr 8 17:11:36 mbojko-XPS acpid: 1 client rule loaded
    Apr 8 17:11:40 mbojko-XPS dbus[1746]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
    Apr 8 17:11:40 mbojko-XPS dbus[1746]: [system] Successfully activated service 'org.freedesktop.systemd1'
    Apr 8 17:11:41 mbojko-XPS colord: Device added: xrandr-AU Optronics
    Apr 8 17:11:41 mbojko-XPS colord: Device added: xrandr-Samsung Electric Company-S22B300-808595767
    Apr 8 17:11:41 mbojko-XPS colord: Device added: xrandr-Samsung Electric Company-S22C300-808597553
    Apr 8 17:11:41 mbojko-XPS cinnamon-session[11400]: WARNING: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-5bc00240418183c168dc4f4e8a7d7c43
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-467b9bf00df13a30614c95172d625ae1
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-4dbe920f57460f4182457d24b5369e32
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-421464c77673e5d03668d44883bf6428
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-9739741f1b5d3a5afb55497343273c3c
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-db2ab0fe8d0f8f6e4f0a027b69ab9f6a
    Apr 8 17:11:41 mbojko-XPS colord: Profile added: icc-e61a81b74a45651ddf9a9ce59e0ab005

     
    Last edit: docent14 2014-04-08
  • Shon
    Shon
    2014-04-10

    I think my confusion with the Proxy Server settings was that some notes came through and some didn't. I will watch for the update and run it through the paces and let you know how it works.

    Thanks

    Shon

     
  • The next beta removes Thrift. When it is released (hopefully soon) please delete your ~/.nixnote directory and do another sync. According to the docs it should handle a proxy server. If not, let me know and I'll see if there is anything else I can try.