[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] <bug>: Bild aufrufen auf der public test datenbank
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] <bug>: Bild aufrufen auf der public test datenbank |
Date: |
Sun, 6 Sep 2009 22:11:23 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
> user comment : Bild aufrufen auf der public test datenbank
Martin, thanks for this report !
I double-checked and this is fixed in newer versions (you
are running 0.3.9, quite an old version):
> 2009-09-05 21:31:51 DEBUG gm.ui
> (/var/lib/python-support/python2.6/Gnumed/wxpython/gmMedDocWidgets.py::__display_part()
> #1507): temporary directory [/var/www/gnumed]
> 2009-09-05 21:31:52 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-4QzKyM.tmp'
BTW, you can work around it by connecting to the public
database and reconfiguring the temporary directory setting
to some existing directory (or unset it).
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346