nvbn / everpad

Evernote client well integrated with linux desktop
1.17k stars 143 forks source link

everpad not syncing new notes #416

Open perryhook opened 10 years ago

perryhook commented 10 years ago

I recently installed Everpad on Ubuntu 14.04 Trusty. It will download my notes, but does not sync new notes to Evernote. I have uninstalled and reinstalled, purged, restarted, nothing works. I also revoked authorization and reauthorized.

It says it has synced, but logging into Evernote web or my Android client do not show the new notes. I have Everpad version 2.5, API version 6, and Schema Version 5.

SlavikZ commented 10 years ago

Try to stop everpad-provider with killall everpad-provider, run it from terminal with everpad-provider --verbose, then try to sync. What is your terminal output?

perryhook commented 10 years ago

Hmm, I since tried installing Everpad after cloning the git repo and using python setup.py install, but it didn't work. I thought I'd cleaned up the mess that made, but now after reinstalling Everpad with apt-get it won't even run. I get error pkg_resources.DistributionNotFound: PySide . I tried installing python-pyside with apt-get and it looked like it went well. But everpad gives the same error.

On Sun, May 11, 2014 at 12:08 PM, SlavikZ notifications@github.com wrote:

Try to stop everpad-provider with killall everpad-provider, run it from terminal with everpad-provider --verbose, then try to sync. What is your terminal output?

— Reply to this email directly or view it on GitHubhttps://github.com/nvbn/everpad/issues/416#issuecomment-42779777 .

gorrie commented 10 years ago

I am in a similar usercase and there is a lot of broken functionality. I've seen a lot of autosubmitted crash report dialog action, but Ubuntu makes it unclear where this stuff goes. Hopefully you fine fellows know.

That being said, I tried your troubleshooting: $ everpad-provider --verbose Segmentation fault (core dumped)

:(

SlavikZ commented 10 years ago

gorrie - This should fix your segfault: Open file /usr/share/pyshared/everpad/provider/daemon.py file in editor with sudo and near the file end after line dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) add the following line: dbus.mainloop.glib.threads_init() Be careful with the indentation. You should get something like this:

...
    try:
        fcntl.lockf(fp, fcntl.LOCK_EX | fcntl.LOCK_NB)
        dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
        dbus.mainloop.glib.threads_init()
        app = ProviderApp(args.verbose, sys.argv)
        app.exec_()
    except IOError:
...

After changes try run everpad-provider again.

gorrie commented 10 years ago

Thanks for the fix.

Are there any additional debug or logs that would be helpful from this environment or is everything all thoroughly documented already?

SlavikZ commented 10 years ago

If after the fix everything runs fine, then there is no need for any additional info.

perryhook commented 10 years ago

I got my system back up to original state and confirmed I was also getting the segfault.

This fix seems to do the trick. Thanks!

On Tue, May 13, 2014 at 11:15 PM, SlavikZ notifications@github.com wrote:

If after the fix everything runs fine, then there is no need for any additional info.

— Reply to this email directly or view it on GitHubhttps://github.com/nvbn/everpad/issues/416#issuecomment-43045917 .

SlavikZ commented 10 years ago

You are welcome!

wimpunk commented 10 years ago

Nice, this fixed my issue to. Are their any plans to integrate this as a patch?

SlavikZ commented 10 years ago

The patch was already accepted with this commit: https://github.com/nvbn/everpad/commit/7f0b0f9c0d53982ab586a9557cea5b879ba4e074

lucbrassard commented 9 years ago

Thanks a lot for this solution, It help me to resolved this problem. I use often this evernote service.

preyes323 commented 9 years ago

I just encountered the same problem. Performed the suggested fix. Seems to be working. I'm seeing updates on my terminal while sync is in progress.

Note: The fix doesn't to be applied yet. I just installed everpad last night by adding the PPA in this git.

iPadGuy commented 9 years ago

@SlavikZ, Thanks for the fix!

tchakravarty commented 9 years ago

I had the same issue with Everpad not syncing, and I did the killall everpad-provider and ran everpad-provider --verbose from a terminal, and now notes seem to sync both ways. But what happens when I close the terminal -- do notes stop syncing? Do I have to keep a terminal process running to have Everpad sync?

iPadGuy commented 9 years ago

If I start everpad from the command line, I run it as a background process (eg. 'everpad &').

iPad Guy

On 15-05-10 04:50 AM, Tirthankar Chakravarty wrote:

I had the same issue with Everpad not syncing, and I did the |killall everpad-provider| and ran |everpad-provider --verbose| from a terminal, and now notes seem to sync both ways. But what happens when I close the terminal -- do notes stop syncing? Do I have to keep a terminal process running to have Everpad sync?

— Reply to this email directly or view it on GitHub https://github.com/nvbn/everpad/issues/416#issuecomment-100603311.