[Error 17]No usable Temporary file name found.

Hi,

I developed a tool in Python 2.7.8 and packaged it using "py2exe". When I
run the tool I get the following error

Traceback (most recent call last):

  File "application_gui.py", line 2, in <module>
  File "modules\Application.pyc", line 13, in <module>
  File "modules\Base.pyc", line 15, in <module>
  File "matplotlib\__init__.pyc", line 764, in <module>
  File "matplotlib\__init__.pyc", line 682, in rc_params
  File "matplotlib\__init__.pyc", line 595, in matplotlib_fname
  File "matplotlib\__init__.pyc", line 248, in wrapper
  File "matplotlib\__init__.pyc", line 470, in _get_configdir
  File "matplotlib\__init__.pyc", line 176, in _is_writable_dir
  File "tempfile.pyc", line 462, in NamedTemporaryFile
  File "tempfile.pyc", line 251, in _mkstemp_inner

IOError: [Errno 17] No usable temporary file name found

I am using matplotlib 1.4.3.

Thanks,
Srinath.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Error-17-No-usable-Temporary-file-name-found-tp46219.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

Srinath,

This does seem to be a persistent problem (I have seen py2exe related
questions go by a number of times), but unfortunately one I do not know how
to solve.

I suspect that this is more of an issue with py2exe / it's configuration,
you might do better reaching out to the py2exe mailing list (and then
making sure their answer makes it into our docs!).

Tom

···

On Thu, Oct 8, 2015 at 7:38 PM programmer86 <penugondasrinath at gmail.com> wrote:

Hi,

I developed a tool in Python 2.7.8 and packaged it using "py2exe". When I
run the tool I get the following error

Traceback (most recent call last):

  File "application_gui.py", line 2, in <module>
  File "modules\Application.pyc", line 13, in <module>
  File "modules\Base.pyc", line 15, in <module>
  File "matplotlib\__init__.pyc", line 764, in <module>
  File "matplotlib\__init__.pyc", line 682, in rc_params
  File "matplotlib\__init__.pyc", line 595, in matplotlib_fname
  File "matplotlib\__init__.pyc", line 248, in wrapper
  File "matplotlib\__init__.pyc", line 470, in _get_configdir
  File "matplotlib\__init__.pyc", line 176, in _is_writable_dir
  File "tempfile.pyc", line 462, in NamedTemporaryFile
  File "tempfile.pyc", line 251, in _mkstemp_inner

IOError: [Errno 17] No usable temporary file name found

I am using matplotlib 1.4.3.

Thanks,
Srinath.

--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Error-17-No-usable-Temporary-file-name-found-tp46219.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel at python.org
Matplotlib-devel Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20151009/609f194d/attachment.html&gt;