zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #02362
Re: Firefox addon - Zim-clip 0.5.2 : alternative location for Zim
On Tue, Apr 9, 2013 at 10:48 PM, Rui Nibau <rui.nibau@xxxxxxxxxxxxxxx>wrote:
>
> I have to find why zim-server-socket is created in a different place...
>
>
We use the temp dir given by the standard "tempfile" module, it depends on
environment variables (see http://docs.python.org/2/library/tempfile.html).
Apparently the firefox process has another environment than the terminal
process.
Sounds like I should take care in zim that the socket location is uniquely
defined and not depending on this temporary file. But not sure what would
be a robust way to determine such a location.
Regards,
Jaap
Follow ups
References