A copy of Zotero is already open.
Folks,
I've read several posts regarding this, and none have a definitive answer beyond 'restarting your computer' (which I would like to avoid). What is most interesting about this bug is that it does not happen when I switch to a different user account on my Mac. So, for my school user (where I am doing all of my research), Zotero can't open. But on my work account, it opens fine.
So, what file is present on my school user account that is preventing this from opening? That way, I can remove it and move forward with my research.
Also, why does this bug exist? Why is this a problem, and why are you writing a file on disk instead of checking the processes on the machine to see if something is running? This seems like something that could be avoided with some smarter code.
Thanks.
I've read several posts regarding this, and none have a definitive answer beyond 'restarting your computer' (which I would like to avoid). What is most interesting about this bug is that it does not happen when I switch to a different user account on my Mac. So, for my school user (where I am doing all of my research), Zotero can't open. But on my work account, it opens fine.
So, what file is present on my school user account that is preventing this from opening? That way, I can remove it and move forward with my research.
Also, why does this bug exist? Why is this a problem, and why are you writing a file on disk instead of checking the processes on the machine to see if something is running? This seems like something that could be avoided with some smarter code.
Thanks.
http://superuser.com/questions/8991/a-copy-of-firefox-is-already-open-only-one-copy-of-firefox-can-be-open-at-a-ti
If you're interested in why Mozilla (as a cross-platform app) chose this particular approach, you can get a sense from reading the Wikipedia article on file locking:
http://en.wikipedia.org/wiki/File_locking
rm ~/Library/Application\ Support/Zotero/Profiles/zsrcumro.default/.parentlock
I think it is caused when the account crashes or otherwise gets closed out suddenly. I came to my computer this morning and all of my users were logged out (an interesting occurrence in itself). Zotero doesn't quit properly, leaveing this file on the drive, and it can't open as a result.
In case anyone is concerned - there shouldn't be any issue with deleting this file, it doesn't have anything in it. It's just a flag to say Zotero is open.