Word 2008 PlugIn is not working - Leaves Office if trying to Add Citation
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
But after typing
FG1-MacBook-R403:~ "username"$ cd /Users/"username"/Documents/Microsoft-Benutzerdaten/Word\ Script\ Menu\ Items/Zotero
and
python MacWord.py addCitation
i've got al lot of Info
Traceback (most recent call last):
File "MacWord.py", line 45, in <module>
from appscript import *
File "/Library/Python/2.5/site-packages/appscript-0.19.0-py2.5-macosx-10.3-fat.egg/appscript/__init__.py", line 11, in <module>
File "/Library/Python/2.5/site-packages/appscript-0.19.0-py2.5-macosx-10.3-fat.egg/aem/__init__.py", line 6, in <module>
File "/Library/Python/2.5/site-packages/appscript-0.19.0-py2.5-macosx-10.3-fat.egg/aem/ae.py", line 7, in <module>
File "/Library/Python/2.5/site-packages/appscript-0.19.0-py2.5-macosx-10.3-fat.egg/aem/ae.py", line 4, in __bootstrap__
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 835, in resource_filename
self, resource_name
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 1304, in get_resource_filename
self._extract_resource(manager, self._eager_to_zip(name))
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 1326, in _extract_resource
self.egg_name, self._parts(zip_path)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 915, in get_cache_path
self.extraction_error()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 881, in extraction_error
raise err
pkg_resources.ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg
cache:
[Errno 13] Permission denied: '/Users/"username"/.python-eggs'
The Python egg cache directory is currently set to:
/Users/"username"/.python-eggs
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.
Try these commands in Terminal and tell us the output:
whoami
ls -ld /Users/christophze/
ls -ld /Users/christophze/.python-eggs/
"username"
ls -ld /Users/"username"/
drwxr-xr-x 16 edv staff 544 18 Jun 2008 /Users/"username"/
ls -ld /Users/"username"/.python-eggs/
ls: /Users/"username"/.python-eggs/: No such file or directory
With this info I try to work out a solution with my admin, but i do know now lot more then before our conversation.
I keep you informed if there is a solution.
Thanks
Christoph
1) The necessary components for the Word 2008 plugin were not all installed. This may or may not have been a common problem, but the newest experimental plugin installer appears to resolve this problem. It will likely fix most others' problems (such as Basti.13's).
2) Christoph's home directory on his OS X machine is not currently "owned" by Christoph's user account. This arrangement is a highly unusual, and there is no practical security situation why it should be the case. We cannot resolve this problem on our end, because Christoph is effectively not allowed to write to his own user space on his machine. Once Christoph can overcome this obstacle, we expect our code to work.
Step by step:
If I type "cd " in Terminal.app, followed by a space and without the quotes and then drag the zotero folder to Terminal and press enter I get the following:
bastis-macbook-pro:Zotero Basti$
Nothing else happens.
If I then type: python MacWord.py addCitation the Mac seems to be doing something for a second and then I get this again:
bastis-macbook-pro:Zotero Basti$
The plugin is still not working. I reinstalled it as well using the link in this thread.
If I enter: ls /Library/Python/2.5/site-packages/
I get:
README
appscript-0.19.0-py2.5-macosx-10.3-fat.egg
appscript-0.19.0-py2.5-macosx-10.3-fat.pth
So what am I doing wrong here? And sean, you are talking about a new experimental plugin. Is that the one in this thread? Or where can I download it from!
Even though it is not working yet, thanks a lot for all your efforts. I really appreciate it!
Basti.
Now Zotero works like a charm and I'm a happy user again.
Therefore I am able to do the next steps to establish a Zotero Group Library for my research group.
Thanks again for the support, especially cause the problem was completely on my side.
@basti13: sorry for seizing your thread, I hope there is also a solution for you
Christoph
Any ideas or interpretations of the output I get from Terminal?
I'd really appreciate it!
Basti.
then yes!
Still same results
updated my word yesterday as well. I really don't know what is happening here.
Basti
python 'MacWord 2008.py' addCitation
instead of
python MacWord.py addCitation
bastis-macbook-pro:~ Basti$ cd /Users/Basti/Documents/Microsoft-Benutzerdaten/Word\ Script\ Menu\ Items/Zotero
bastis-macbook-pro:Zotero Basti$ python MacWord 2008.py addCitation
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file 'MacWord': [Errno 2] No such file or directory
bastis-macbook-pro:Zotero Basti$
bastis-macbook-pro:Zotero Basti$ python MacWord.py addCitation
bastis-macbook-pro:Zotero Basti$
Last login: Tue Jul 7 20:22:04 on ttys000
bastis-macbook-pro:~ Basti$ cd /Users/Basti/Documents/Microsoft-Benutzerdaten/Word\ Script\ Menu\ Items/Zotero python 'MacWord 2008.py' addCitation
bastis-macbook-pro:Zotero Basti$
Basti.