"The system cannot find the path specified[...]" wxPython strange bug

m2cl3k at gmail.com m2cl3k at gmail.com
Thu Jun 6 05:55:14 EDT 2013


Hi,
I'm developing plugin for sublime text 2. I'm importing wxPython module and sometimes I get following error:
[code]
Reloading plugin C:\Users\User\AppData\Roaming\Sublime Text 2\Packages\User\my_plugin.py
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 62, in reload_plugin
  File ".\my_plugin.py", line 10, in <module>
    import wx
  File "<string>", line 9, in __init__
WindowsError: [Error 3] The system cannot find the path specified: u'/C/Users/User/AppData/Roaming/Sublime Text 2/Packages/User/wx_distr/wx/tools/Editra/plugins'
[/code]

But after some time, if I reload my plugin few times(it's random), it launches properly.
It seems very strange to me, anyone have any ideas?

Thanks,
Maciej.



More information about the Python-list mailing list