nixnote2 icon indicating copy to clipboard operation
nixnote2 copied to clipboard

NixNote cannot authorize

Open MRC01 opened this issue 5 years ago • 29 comments

Expected vs. actual behavior

When authorizing an account, Nixnote shows the first screen, where you enter your Evernote username. When you click "Continue", the window should show a form where you enter your password. But this never appears. Instead, the window goes blank and hangs forever. When you close it (using the X in the window frame), Nixnote shows a dialog saying, "Login failed."

This is happening on all 3 of my Ubuntu machines (Ubuntu 16, 18 and 20), which were working as of Fri 1/29. I also visited Evernote to delete the app authorizations so they could get recreated.

Specifications

ii nixnote2 202012171423~2.1.6~ubuntu18.04.1 amd64 Open Source Evernote desktop client ii nixnote2-tidy 1:5.6.0-1~202012151955~ubuntu18.04.1 amd64 HTML/XML syntax checker and reformatter m

Relevant text from log file. Note the 13 second gap near the end; that was after I clicked "Continue" and watched the blank window for 13 seconds before closing it.

INFO 2021-01-30 12:32:22.195 src/nixnote.cpp:1537 Authorization token not found => reauthorize TRACE 2021-01-30 12:32:22.199 src/gui/browserWidgets/tageditornewtag.cpp:228 Enteringevent:15TagEditorNewTag TRACE 2021-01-30 12:32:22.199 src/gui/browserWidgets/tageditornewtag.cpp:241 Exitingevent:15TagEditorNewTag TRACE 2021-01-30 12:32:22.212 src/gui/browserWidgets/tageditornewtag.cpp:228 Enteringevent:15TagEditorNewTag TRACE 2021-01-30 12:32:22.213 src/gui/browserWidgets/tageditornewtag.cpp:241 Exitingevent:15TagEditorNewTag DEBUG 2021-01-30 12:32:22.285 src/qevercloud/QEverCloud/src/http.cpp:85 QEverCloud.http.ReplyFetcher.onFinished m_success=true DEBUG 2021-01-30 12:32:22.285 src/qevercloud/QEverCloud/src/http.cpp:94 QEverCloud.http.ReplyFetcher.onFinished m_httpStatusCode=200 datalen=135 TRACE 2021-01-30 12:32:35.234 src/gui/browserWidgets/tageditornewtag.cpp:228 Enteringevent:15TagEditorNewTag TRACE 2021-01-30 12:32:35.234 src/gui/browserWidgets/tageditornewtag.cpp:241 Exitingevent:15TagEditorNewTag INFO 2021-01-30 12:32:35.236 src/nixnote.cpp:1544 Reauthorization failed

MRC01 avatar Jan 30 '21 20:01 MRC01

Hello,

Same behavior for me

Trace :

INFO  2021-02-01 16:25:42.870 src/nixnote.cpp:1537 Authorization token not found => reauthorize
TRACE 2021-02-01 16:25:42.885 src/gui/browserWidgets/tageditornewtag.cpp:228 Enteringevent:15TagEditorNewTag
TRACE 2021-02-01 16:25:42.885 src/gui/browserWidgets/tageditornewtag.cpp:241 Exitingevent:15TagEditorNewTag
DEBUG 2021-02-01 16:25:43.149 src/qevercloud/QEverCloud/src/http.cpp:85 QEverCloud.http.ReplyFetcher.onFinished m_success=true
DEBUG 2021-02-01 16:25:43.149 src/qevercloud/QEverCloud/src/http.cpp:94 QEverCloud.http.ReplyFetcher.onFinished m_httpStatusCode=200 datalen=135
TRACE 2021-02-01 16:25:59.204 src/gui/browserWidgets/tageditornewtag.cpp:228 Enteringevent:15TagEditorNewTag
TRACE 2021-02-01 16:25:59.205 src/gui/browserWidgets/tageditornewtag.cpp:241 Exitingevent:15TagEditorNewTag
INFO  2021-02-01 16:25:59.218 src/nixnote.cpp:1544 Reauthorization failed

Ubuntu version

Ubuntu 18.04.5 LTS

nixNote Version :

NixNote 202012171423~2.1.6~ubuntu18.04.1

deniaJ avatar Feb 01 '21 15:02 deniaJ

Since this happened on 3 different machines with no local changes on the client side, it looks like this could be a change that Evernote made to their servers or their API... pure speculation of course. https://evernote.com/blog/dev-faq/ I filled out a form there saying: "I use Nixnote, a Linux client for Evernote. On Sat 1/30 it stopped working, unable to authenticate with Evernote servers. It had been working flawlessly for years, and failed on 3 different machines none of which had any local changes. So it looks like Evernote changed something on their servers. Can you please confirm, and if so, what can we do to get Nixnote working again?

MRC01 avatar Feb 01 '21 16:02 MRC01

Hi, I just tried nixnote (both latest development AppImage & the one shipped with Ubuntu 20.04) on an Ubuntu 20.04 LTS.. and tried twice deleting all the data & doing a fresh login and it worked fine.. I can try later on Ubuntu 18.04 in virtual machine.. Robert

robert7 avatar Feb 02 '21 08:02 robert7

Screenshot from 2021-02-02 09-22-26 Screenshot from 2021-02-02 09-26-44 Screenshot from 2021-02-02 09-27-08

do you try Google/AppleID login? I did simple login with Evernote username/password without 2FA.. but the whole login content is supplied by Evernote (not by nixnote), Nixnote only gets a security token at the end of login..

robert7 avatar Feb 02 '21 08:02 robert7

I just did also a fresh install of Ubuntu 18.04 in virtual machine, then installed nixnote2 from stable PPA... authorisation with username/password worked fine..

robert7 avatar Feb 02 '21 09:02 robert7

Sadly, this doesn't work on any of my systems (Ubuntu 18 and 20). I closed all instances of Nixnote2, renamed ~/.nixnote to hide it. Started Nixnote and it starts as a new install. Same problem: first screen of authorization appears (enter username). But when I click the big green Continue button, the window goes blank and never responds. I'm authorizing with simple Evernote email/password. Not tied to Google or other account. image

MRC01 avatar Feb 02 '21 15:02 MRC01

I tried Google authentication, that doesn't work either. It hangs on the first screen. Enter your google email, then when you click the blue Next button, nothing happens. image

MRC01 avatar Feb 02 '21 15:02 MRC01

Is Nixnote trying to hand off these authorization HTTP calls to a separate process that isn't working? Does it matter what the default browser is set to?

MRC01 avatar Feb 02 '21 15:02 MRC01

I purged Nixnote2 completely from the system, removed ~/.nixnote, removed the ppa, updated apt, then reinstalled. This gave version 2.0.2-2build1. Same bug described above. Purge Nixnote2 again, remove ~/.nixnote, add the ppa, reinstall. This gave version 202012171423-2.1.6-ubuntu18.04.1. Same bug as above. This suggests the bug may be something that Nixnote depends on in my system config. But I have no idea what that might be. It was working perfectly on 3 different desktops, then suddenly stopped working on all 3 of them overnight last Fri-Sat. I didn't change anything on my client side.

MRC01 avatar Feb 02 '21 15:02 MRC01

As I said, I can't reproduce on fresh install of Ubuntu 18.04.5 LTS (neither on 20.04), all works fine for me..

the relevant source code is https://github.com/robert7/nixnote2/blob/master/src/qevercloud/QEverCloud/src/oauth.cpp (which comes from QEvercloud version 4.1.0.. maybe @d1vanov can help you here..)

The auth dialog (EvernoteOAuthDialog) is called from https://github.com/robert7/nixnote2/blob/master/src/nixnote.cpp As far I unterstand it, built in Qt QWebView browser is used, also it should not matter, which browser is set to be default..

did you also try the Appimage version? Same problem?

robert7 avatar Feb 02 '21 16:02 robert7

note that ~/.nixnote is NOT the default directory used by Nixnote only if ~/.nixnote exists, then it is used if it doesn't exist, default directories in .config/nixnote2 and .local/share/nixnote2 are used (be sure you also purge those)

regarding ubuntu 18.04: if you use default repositories, then on Ubuntu 18.04 you get nixnote 2.0.2; from 19.04 you get nixnote 2.1.. so on 18.04 you need to use the PPA version

robert7 avatar Feb 02 '21 16:02 robert7

Thanks for the tips. I found .nixnote directories in the other locations you mentioned. I removed all of them and restarted the app. Same bug as above. I've tried both versions: 2.0.2 from the default repos, and 2.1 from the PPA. Same bug. Looks like a broken system dependency separate from the Nixnote app itself. But I can't imagine what it is.

MRC01 avatar Feb 02 '21 16:02 MRC01

Did you try the AppImage version? (this should have all dependencies included by itself)

robert7 avatar Feb 02 '21 16:02 robert7

I rechecked the source code.. if you don't succeed with AppImage version, I could add some more debug messages to the log, to get some info what is happening.. (It is a bit difficult for me now... first I'm on macOS and also my open source licence for C++ development environment is already expired.. ). I guess the Evernote web oauth login is getting into some unexpected branch...

robert7 avatar Feb 02 '21 17:02 robert7

do you use 2FA (two-step verification) on your evernote account?

robert7 avatar Feb 02 '21 17:02 robert7

I don't use 2FA with Evernote. I should try the appimage version...

MRC01 avatar Feb 02 '21 17:02 MRC01

The appimage has the same bug on my system. I purged the PPA versions, wiped all the .nixnote locations and ran it "clean". When the first authorization window appears, the following list of error messages appear in the console. That window still appears as before, I enter my Evernote email, then when I click continue, the window goes blank and hangs forever. etc. as described above.

INFO 2021-02-03 08:22:26.811 src/nixnote.cpp:1537 Authorization token not found => reauthorize

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.056: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.057: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so: undefined symbol: gst_debug_get_stack_trace

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.059: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpango.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpango.so: undefined symbol: gst_video_time_code_meta_api_get_type

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.061: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so: undefined symbol: gst_video_region_of_interest_meta_get_param

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.065: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdv.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdv.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.065: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstimagefreeze.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstimagefreeze.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.067: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtc.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtc.so: undefined symbol: gst_element_foreach_pad

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.069: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegpsdemux.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegpsdemux.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.070: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmatroska.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmatroska.so: undefined symbol: gst_element_message_full_with_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.071: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstavi.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstavi.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.073: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegtsdemux.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpegtsdemux.so: undefined symbol: gst_stream_set_stream_type

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.074: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtcdsp.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtcdsp.so: undefined symbol: gst_adapter_pts_at_discont

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.075: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsmoothstreaming.so': /usr/lib/x86_64-linux-gnu/libgstadaptivedemux-1.0.so.0: undefined symbol: gst_message_parse_error_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.075: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttimecode.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttimecode.so: undefined symbol: gst_video_time_code_copy

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.079: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwavparse.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwavparse.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.080: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdebug.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdebug.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.081: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtpmanager.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtpmanager.so: undefined symbol: gst_param_spec_array

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.081: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgme.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgme.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.083: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiomixmatrix.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiomixmatrix.so: undefined symbol: gst_param_spec_array

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.083: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioconvert.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioconvert.so: undefined symbol: gst_param_spec_array

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.083: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so: undefined symbol: gst_event_new_stream_group_done

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.083: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioresample.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioresample.so: undefined symbol: gst_audio_resampler_filter_mode_get_type

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.085: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstteletext.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstteletext.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.086: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstogg.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstogg.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.086: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdecklink.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdecklink.so: undefined symbol: gst_audio_stream_align_mark_discont

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.091: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopengl.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopengl.so: undefined symbol: gst_video_overlay_install_properties

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.093: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstisomp4.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstisomp4.so: undefined symbol: gst_video_time_code_compare

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.093: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsid.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsid.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.095: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsoup.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsoup.so: undefined symbol: gst_element_message_full_with_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.107: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so: undefined symbol: gst_pad_get_task_state

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.119: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libssh-gcrypt.so.4: symbol gcry_mpi_ec_decode_point version GCRYPT_1.6 not defined in file libgcrypt.so.20 with link time reference

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.120: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_event_parse_stream_group_done

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.120: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmultifile.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmultifile.so: undefined symbol: gst_video_time_code_interval_new_from_string

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.121: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideofilter.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideofilter.so: undefined symbol: gst_video_direction_get_type

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.122: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrealmedia.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrealmedia.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.122: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpbtypes.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpbtypes.so: undefined symbol: gst_dynamic_type_register

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.122: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiomixer.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiomixer.so: undefined symbol: gst_audio_aggregator_convert_pad_get_type

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.123: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcompositor.so': /usr/lib/x86_64-linux-gnu/libgstbadvideo-1.0.so.0: undefined symbol: gst_aggregator_pad_pop_buffer

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.124: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioparsers.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioparsers.so: undefined symbol: gst_base_parse_drain

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.127: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so: undefined symbol: gst_audio_stream_align_new

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.144: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstasf.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstasf.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.150: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenglmixers.so': /usr/lib/x86_64-linux-gnu/libgstbadvideo-1.0.so.0: undefined symbol: gst_aggregator_pad_pop_buffer

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.155: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtsp.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtsp.so: undefined symbol: gst_bin_set_suppressed_flags

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.156: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstflv.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstflv.so: undefined symbol: gst_aggregator_pad_pop_buffer

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.159: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstipcpipeline.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstipcpipeline.so: undefined symbol: gst_element_call_async

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.161: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrawparse.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrawparse.so: undefined symbol: gst_param_spec_array

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.164: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmidi.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmidi.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.164: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so: undefined symbol: gst_video_overlay_install_properties

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.167: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsthls.so': /usr/lib/x86_64-linux-gnu/libgstadaptivedemux-1.0.so.0: undefined symbol: gst_message_parse_error_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.167: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpeadapter.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpeadapter.so: undefined symbol: gst_buffer_unset_flags

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.168: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdashdemux.so': /usr/lib/x86_64-linux-gnu/libgstadaptivedemux-1.0.so.0: undefined symbol: gst_message_parse_error_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.170: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so: undefined symbol: gst_bin_set_suppressed_flags

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.170: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstkms.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstkms.so: undefined symbol: gst_video_overlay_install_properties

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.170: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaiff.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaiff.so: undefined symbol: gst_element_message_full_with_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.172: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmxf.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmxf.so: undefined symbol: gst_aggregator_pad_pop_buffer

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.180: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgdkpixbuf.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgdkpixbuf.so: undefined symbol: gst_make_element_message_details

(NixNote2-x86_64.AppImage:18271): GStreamer-WARNING **: 08:22:27.183: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiobuffersplit.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiobuffersplit.so: undefined symbol: gst_audio_stream_align_set_rate INFO 2021-02-03 08:22:47.342 src/nixnote.cpp:1544 Reauthorization failed INFO 2021-02-03 08:23:09.423 src/main.cpp:375 main: Exit: retcode=0

MRC01 avatar Feb 03 '21 16:02 MRC01

Above I mentioned that I reported this to Evernote, in case it was a bug or change in their API. Their support responded and I got in a conversation with them. He told me that Evernote has an official Linux client. It's in beta, so people have to join the beta. I did, got the beta and I'm running it. It works well. I have mixed feelings about this, since I've used Nixnote for a few years now and even made a small contribution to the source code a while back. But I'm pragmatic and if Evernote releases this official client, it's what I wanted all along. Sure, Evernote might never release this client, pull the beta and disable it. In that case I'll track down Nixnote and get it working again...

MRC01 avatar Feb 05 '21 17:02 MRC01

I will try to add some log messages in the relevant code.. this could help to find out what is going on on your machine... as I can't reproduce myself..

If there is official client for Linux, then it could be better to use it, than Nixnote... I'm currently also using official Evernote client (for macOS).. it was some disadvantages, but overall it is working fine.

robert7 avatar Feb 08 '21 10:02 robert7

If you do add more logging, let me know and I can run it again. It would be nice to figure out what is going on here. That said, I'm finding the official Linux beta client to be full release quality.

MRC01 avatar Feb 08 '21 15:02 MRC01

Same for me - white screen after Google :(

image

vitaly-zdanevich avatar Mar 26 '23 23:03 vitaly-zdanevich

Somehow I didn't notice the mention of me long ago in this thread until now... Out of curiosity I decided to take a look at this issue - I tried to build Nixnote2 from latest master and login myself. I wasn't able to do so as well as others here. And there was little trace of what went wrong.

Nixnote2 by default ships with built-in copy of QEverCloud sources and this copy is quite outdated by now. So I decided to try and replace the built-in copy of QEverCloud with actual one and see where it would get me. It took me some time to update calls from Nixnote2 into QEverCloud but in the end I got it sorted out. However, it didn't get me far, I still wasn't able to login but I saw something odd from the internals of QtWebKit during the attempt to authenticate.

If someone doesn't know, QtWebKit has been deprecated long ago by Qt devs and it hasn't seen notable updates for years. Instead Qt devs urge everyone who needs a web engine/browser functionality in their apps to switch to QtWebEngine. QEverCloud is actually capable of working with QtWebEngine for OAuth. So I decided to check what would happen if I switch QEverCloud's OAuth to QtWebEngine. And it worked flawlessly, I was able to login and to start the sync.

So I presume QtWebKit has just become too old to handle real modern web pages such as Evernote's OAuth page.

I can open a PR which moves new QEverCloud in and switches it to use QtWebEngine but it cannot be just merged: all the build and package scripts need to be updated to require both QtWebKit (which is still used by Nixnote2 for for the note editor functionality) and QtWebEngine. It's kinda too much for me but maybe someone would be interested in doing so. Then said someone could just take my branch as a start, update build and package scripts and open a more feature complete PR.

d1vanov avatar Mar 27 '23 14:03 d1vanov

Hi Dmitry, thanks for the info. I know that QtWebKit is outdated, unfortunately, I don't have time to do the switch to QtWebEngine. Anyone who is interested, is welcomed to fork & continue… In case someone is interested to continue with your branch, I can maybe offer a bit of assistance. Of course, working pull request would be great. Robert

robert7 avatar Mar 27 '23 16:03 robert7

Created a PR with my changes, as discussed.

d1vanov avatar Mar 28 '23 17:03 d1vanov

Thank you!

robert7 avatar Mar 29 '23 11:03 robert7

until the issue is fixed (see also linked pull request), if someone gets the "white screen" after login see the workaround described by @boo-yee in https://github.com/robert7/nixnote2/pull/197#issuecomment-1491543975

I tried it today, I also get blank dialog workaround

  • click sync to login
  • enter username password
  • after login dialog stays "white"
  • click cancel - you get "login failed"
  • click to sync again - now you get dialog with evernote asking for "reauthorize" (as previous login actually worked)
  • click OK, you are logged in

verified on ubuntu 20.04 and 22.04

robert7 avatar Apr 14 '23 18:04 robert7

2023-04-15 10-34-38 2023-04-15 10-35-40 2023-04-15 10-36-52

robert7 avatar Apr 15 '23 08:04 robert7

The login problem should now be fixed in version 2.1.10

Thanks to @d1vanov !!

robert7 avatar Apr 19 '23 19:04 robert7