gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] <bug>: test but bug


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] <bug>: test but bug
Date: Tue, 21 Jul 2009 15:58:04 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hello Uli,

your temporary directory is configured to be /var/www/ but
apparently that directory doesn't exist (or is not
accessible to you).

You need to unset it to let GNUmed do its thing or set it to
something it can write to.

> 2009-07-21 15:21:46  DEBUG     gm.ui 
> (/var/lib/python-support/python2.6/Gnumed/wxpython/gmMedDocWidgets.py::__display_part()
>  #1507): temporary directory [/var/www/gnumed]
> 2009-07-21 15:21:46  DEBUG     gm.gui 
> (/var/lib/python-support/python2.6/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #45): unhandled exception caught:
> Traceback (most recent call last):
>   File 
> "/var/lib/python-support/python2.6/Gnumed/wxpython/gmMedDocWidgets.py", line 
> 1402, in _on_activate
>     self.__display_part(part = node_data)
>   File 
> "/var/lib/python-support/python2.6/Gnumed/wxpython/gmMedDocWidgets.py", line 
> 1529, in __display_part
>     block = block_during_view
>   File "/var/lib/python-support/python2.6/Gnumed/business/gmMedDoc.py", line 
> 315, in display_via_mime
>     fname = self.export_to_file(aTempDir = tmpdir, aChunkSize = chunksize)
>   File "/var/lib/python-support/python2.6/Gnumed/business/gmMedDoc.py", line 
> 186, in export_to_file
>     dir = aTempDir
>   File "/var/lib/python-support/python2.6/Gnumed/pycommon/gmTools.py", line 
> 374, in get_unique_filename
>     f = tempfile.NamedTemporaryFile(**kwargs)
>   File "/usr/lib/python2.6/tempfile.py", line 444, in NamedTemporaryFile
>     (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
>   File "/usr/lib/python2.6/tempfile.py", line 228, in _mkstemp_inner
>     fd = _os.open(file, flags, 0600)
> OSError: [Errno 2] No such file or directory: 
> '/var/www/gnumed/gm-doc_obj-page_1-L9LnV1.odt'

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]