Problem with Firefox 3.6 on MAC and network login
Hi
I Have :
Mac os x 10.6
Firefox 3.6
Office 2008
Zotero 2.0rc5
PythonExt 2.6.2
Zotero MacWord Integration 3.0a8
When I "Add Citation" in Zotero menu of Word, There is an Error Window:
"Word could not communicate with Zotero. Please ensure that Firefox is open and try again.
There the same thing if I try to open Firefox again.
THIS APPENDS ONLY on network login . With a locol login it works fine.
I saw that the problem is that there is an error because the file ~/.zoteroIntegrationPipe doesn't exist.
With a local login, this file is created when I run Firefox. It isn't created with a network login.
(the home has good rights to write)
In the log debug of zotero there is this line:
"could not initialize zotero integration pipe"
Could you help me ?
Thanks
I Have :
Mac os x 10.6
Firefox 3.6
Office 2008
Zotero 2.0rc5
PythonExt 2.6.2
Zotero MacWord Integration 3.0a8
When I "Add Citation" in Zotero menu of Word, There is an Error Window:
"Word could not communicate with Zotero. Please ensure that Firefox is open and try again.
There the same thing if I try to open Firefox again.
THIS APPENDS ONLY on network login . With a locol login it works fine.
I saw that the problem is that there is an error because the file ~/.zoteroIntegrationPipe doesn't exist.
With a local login, this file is created when I run Firefox. It isn't created with a network login.
(the home has good rights to write)
In the log debug of zotero there is this line:
"could not initialize zotero integration pipe"
Could you help me ?
Thanks
~/.zoteroIntegrationPipe is a pipe file which can't be created on files system like AFP
(mkfifo doesn't operate)
I think that it isn't a good idea to put the communication system in the home directory because zotero can't work if there is a directory sytem like opendirectory.
It is a problem for firms
I had the same problems with network account
I was able to fix the problem by changing in zotero plugin's, chrome/content/zotero/xpcom/integration.js at line 38 :
this.init = function() {
if(!Zotero.isWin) {
// create a new file representing the pipe
//_fifoFile = Components.classes["@mozilla.org/file/directory_service;1"].
// getService(Components.interfaces.nsIProperties).
// get("ProfD", Components.interfaces.nsIFile);
//_fifoFile.append(".zoteroIntegrationPipe");
_fifoFile = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);
_fifoFile.initWithPath("/tmp/.zoteroIntegrationPipe");
I put the .zoteroIntegrationPipe in /tmp (/tmp is not writeable for basic user, so I did chmod u+w /tmp before).
And in zotero mac word integration/install/install.applescript I fix the code where it link to .zoteroIntegrationPipe with fixing the path to /tmp/.zoteroIntegrationPipe
repeat with i from 1 to length of W2008_SCRIPT_NAMES
do shell script "osacompile -d -e \"try\" -e \"do shell script \\\"ls /tmp/.zoteroIntegrationPipe && echo 'MacWord2008 " & (item i of W2008_SCRIPT_COMMANDS) & "' > /tmp/.zoteroIntegrationPipe\\\"\" -e \"on error\" -e \"display alert \\\"Word could not communicate with Zotero. Please ensure that Firefox is open and try again.\\\" as critical\" -e \"end try\" -o " & posixPathToScripts & "'" & (item i of W2008_SCRIPT_NAMES) & "'"
end repeat
So the /tmp in Mac plateform is not a good place to put this file, maybe /Users/Shared/.
Tell me if it works for you.
@+
Edo...
It works also for me.
Yes, /tmp isn't a good place because I have to do a chmod.
Yes, /Users/Shared should be a better place for Mac Users
Now it should be interesting that this update is integrated in the next relaese
Thanks
edit: I've found the code now...but what does the "ProfD" variable refer to that you are replacing "Home" with?
Also I can't find where to make the changes in the OpenOffice integration installation.... this really sucks :(
I´ve got the same configuration as jjtitan and the same problem. Usually the word plugin is working like a charm, except for someone working on a "flexible account". This is an account for people working in different offices and computers. We do have some 60 Macs running in our server system, so it seems to be the same problem.
As our admin looks positive on zotero but does not have the time to debug I would much appreciate the result of this thread found its way into the next release.
Christoph
These changes will be in the next official releases, which should be this week.
It works
Thanks
Thanks