DeltaEscher / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Unable to launch Editra 0.5.51 on MacOS 10.6 #499

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If Editra 0.5.51 is stored in a folder whose name contains an accented
character (in my case "é"), it doesn't launch.

-----

OS: MacOS 10.6.2 with French localization.
Editra version 0.5.51 (previous version worked fine).

-----

The error message is:

Editra Error
An unexpected error has occurred during execution of the main script
RuntimeError: dictionary changed size during execution.

and I have to click "Open Console" or "Terminate".

In the console, the traceback is the following:

24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]    Traceback (most
recent call last):
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"dev_tool.pyo", line 280, in ExceptionHook
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]    UnicodeDecodeError:
'ascii' codec can't decode byte 0xcc in position 44: ordinal not in range(128)
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]    Original exception was:
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]    Traceback (most
recent call last):
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"/Volumes/Partition
2/Applications/Développement/Editra.app/Contents/Resources/__boot__.py",
line 137, in <module>
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]        _run('Editra.py')
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"/Volumes/Partition
2/Applications/Développement/Editra.app/Contents/Resources/__boot__.py",
line 134, in _run
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]        execfile(path,
globals(), globals())
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"/Volumes/Partition
2/Applications/Développement/Editra.app/Contents/Resources/Editra.py", line
1106, in <module>
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]        Main()
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"/Volumes/Partition
2/Applications/Développement/Editra.app/Contents/Resources/Editra.py", line
1002, in Main
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]        _Main(opts, args)
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"/Volumes/Partition
2/Applications/Développement/Editra.app/Contents/Resources/Editra.py", line
1042, in _Main
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]        frame =
ed_main.MainWindow(None, wx.ID_ANY, wsize, ed_glob.PROG_NAME)
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"ed_main.pyo", line 136, in __init__
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"ed_menu.pyo", line 450, in __init__
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"ed_menu.pyo", line 796, in GenSettingsMenu
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"ed_menu.pyo", line 475, in CreateLexerMenu
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]      File
"syntax/synglob.pyo", line 155, in GetIdFromDescription
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]    RuntimeError:
24/03/10 21:55:44   [0x0-0x3f03f].org.editra.Editra[477]    dictionary changed
size during iteration

Original issue reported on code.google.com by lsecou...@9online.fr on 25 Mar 2010 at 8:10

GoogleCodeExporter commented 8 years ago
Hi,

Did you have previous version installed at the same location?

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 26 Mar 2010 at 11:47

GoogleCodeExporter commented 8 years ago
Hi,

Yes. I always install Editra in a folder named:

/Volumes/Partition 2/Applications/Développement

Regards.

Luc

Original comment by lsecou...@9online.fr on 26 Mar 2010 at 12:34

GoogleCodeExporter commented 8 years ago
Ok, I don't think it is a unicode issue then because nothing has changed on 
those
code paths in a long time. This is good though because the error above makes 
more
sense then. 

It is likely a logical error in loading the syntax highlighting support 
registry,
possibly something new was added or removed between your previous install so 
that on
the first startup the bug was exposed but by the second startup the registry 
had been
re indexed so its size did not change again.

Original comment by CodyPrec...@gmail.com on 26 Mar 2010 at 12:53

GoogleCodeExporter commented 8 years ago
Should be fixed in current svn

Original comment by CodyPrec...@gmail.com on 30 Mar 2010 at 1:17