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

M

m2cl3k

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'

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.
 
J

Jeicam

It seems like it constructs path wrongly(as I have seen before), but why sometimes it works and sometimes doesn't(so maybe sometimes it generates path correctly)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top