On Saturday, June 15, 2013 5:03:27 PM UTC-7, MRAB wrote: > On 15/06/2013 23:10, alex23 wrote: > > > On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > > >> I get this error when I try to save .dxf files in Inkscape: > > >> > > >> Fatal Python error: Py_Initialize: can't initialize sys standard streams > > >> > > >> Then it seems to recover but it doesn't really recover. It saves the files > >> and then DraftSite won't open them. Here is what the > thing says when > >> Inkscape tried to fix the saving problem. > > > > > > What do you mean by "Inkscape tried to fix the saving problem"? > > > > > >> File "D:\Program Files (x86)\Inkscape\python\Lib\encodings\__init__.py", > >> line 123 > > >> raise CodecRegistryError,\ > > >> ^ > > >> SyntaxError: invalid syntax > > > > > To me that traceback looks like it's Python 3 trying to run code written > > for Python 2. > > > > > Here's a report of a similar issue with Blender (which also provides a > > > local install of Python under Windows): > > > http://translate.google.com.au/translate?hl=en&sl=fr&u=http://blenderclan.tuxfamily.org/html/modules/newbb/viewtopic.php%3Ftopic_id%3D36497&prev=/search%3Fq%3Dinkscape%2BCodecRegistryError > > > > > > (Sorry for the ugly url, it's a Google translation of a french > > > language page) > > > > > > Do you have a separate installation of Python? It's possible it may be > > > conflicting. If you rename it's folder to something else (which will > > > temporarily break that install), do you still see this same issue in > > > Inkscape? > > >
-- http://mail.python.org/mailman/listinfo/python-list