Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Everpad provider crashes on multi-user computer #28

Closed
hdave opened this issue Sep 2, 2012 · 0 comments
Closed

Everpad provider crashes on multi-user computer #28

hdave opened this issue Sep 2, 2012 · 0 comments

Comments

@hdave
Copy link

hdave commented Sep 2, 2012

Steps to reproduce on Ubuntu 12.04 with Everpad 1.5.1

  1. Boot up machine
  2. User 'A' logs in.
  3. Switch user
  4. User 'B' logs in.
  5. Observe evernote provider crash with the following crash report.
PythonArgs: ['/usr/bin/everpad-provider']
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/everpad-provider", line 9, in <module>
     load_entry_point('everpad==1.5.1dev', 'console_scripts', 'everpad-provider')()
   File "/usr/lib/pymodules/python2.7/everpad/provider/daemon.py", line 60, in main
     fp = open('/tmp/everpad-provider.lock', 'w')
 IOError: [Errno 13] Permission denied: '/tmp/everpad-provider.lock'

The temporary lockfile should probably contain the uid of the user. On this particular computer, its not uncommon to have 5 people logged in via the main console desktop at the same time via 'switch user'.

@nvbn nvbn closed this as completed in 9a8da7b Sep 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants