On 04.11.16 09:05, Doug Barton wrote:
> On 10/31/2016 12:09 AM, Patrick Brunschwig wrote:
>> On 30.10.16 20:10, Daniel Kahn Gillmor wrote:
>>>> Do you see any exception in the Thunderbird console?
>>>
>>> Ah, good call, sorry i didn't look there first.  When i open the key
>>> manager dialog box, i get a small warning that i think is irrelevant to
>>> this concern [0].
>>>
>>> Then when i try to do the import, i see the following error:
>>>
>>>     Timestamp: 10/30/2016 01:44:08 PM
>>>     Error: NS_ERROR_FILE_ALREADY_EXISTS: Component returned failure
>>> code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS) [nsIFile.create]
>>>     Source File: resource://enigmail/files.jsm
>>>     Line: 263
>>>
>>> That's createTempSubDir, presumably with dirName="enigmail_import".
>>> Sure enough, i have $TMPDIR/enigmail_import already (probably leftovers
>>> From a previous attempt that failed due to the arglist).
>>
>> Indeed. It's obviously not ideal to assume that a temp directory does
>> not exist. I'll fix this.
> 
> Are you not using something equivalent to mktemp?

You have to use a Mozilla-API function in Thunderbird. The function
allows to specify that a directory name should be unique - but you have
to actually use the parameter to obtain a unique directory ...

-Patrick


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to