code-google-com / editra-plugins

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

PyStudio 2.6 plugin broken : 'module' object has no attribute 'Common' #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[12:58:56][pluginmgr][err] Couldn't Load StackThread: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load Debugger: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load SyntaxChecker: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load Variables: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load ModuleFinder: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load BreakPoints: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load Project: 'module' object has no 
attribute 'Common'
[12:58:56][pluginmgr][err] Couldn't Load Expressions: 'module' object has no 
attribute 'Common'

Original issue reported on code.google.com by rans1...@gmail.com on 15 Aug 2012 at 12:01

GoogleCodeExporter commented 9 years ago
I give up, morale is diminished

For what its worth it loads just fine on my Mac so not sure what is going on. I 
can see the issue on my Windows machine...

Original comment by CodyPrec...@gmail.com on 15 Aug 2012 at 12:20

GoogleCodeExporter commented 9 years ago
As further point of testing on Windows:

*) Plugin loads fine if used in develop mode / running editra from Source

*) Fails if running editra.exe

*) Rebuild plugin on Windows and also fails if run from Editra.exe

only idea at this point is some possible name conflict so its getting the wrong 
module when trying to import Common or something?

Original comment by CodyPrec...@gmail.com on 15 Aug 2012 at 12:41

GoogleCodeExporter commented 9 years ago
Ok I will look at debugging this issue, but in the meantime, can you take down 
0.6 and leave 0.4 up?

Original comment by rans1...@gmail.com on 15 Aug 2012 at 12:47

GoogleCodeExporter commented 9 years ago
ended up havign a few minutes again today.

I looked at it on my windows machine this time and found two issues

1) For some reason it didn't like some of the imports like this in the 
ProjectMgr file.
import PyStudio.Common.Images as Images
Changing it to
from PyStudio.Common import Images
Made the imports work

2) The Controller folder was missing from the egg. Rather baffeld as to how 
this was working on my Mac. There must be something corrupted in the 
environment on that machine that I need to look into.

I checked in these changes and I can now load the plugin in a binary version of 
Editra on windows. Can you try to build the plugin and double check? I will 
also attach a copy here (still says 0.6 on it).

Original comment by CodyPrec...@gmail.com on 15 Aug 2012 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
I built it from source (which has version 0.7) and it is working.

Original comment by rans1...@gmail.com on 15 Aug 2012 at 8:45

GoogleCodeExporter commented 9 years ago
To clarify I built the egg and installed it on the binary installed Editra and 
it worked, so good to go

Original comment by rans1...@gmail.com on 15 Aug 2012 at 8:47

GoogleCodeExporter commented 9 years ago
Ok, good news.

Will double check on my other configurations this evening and push out yet 
another release. (hopefully one that is all good this time)

Original comment by CodyPrec...@gmail.com on 15 Aug 2012 at 8:49

GoogleCodeExporter commented 9 years ago
Also built from source (0.7) and installed it on the source installed Editra 
and it's working.
Hi hi hurray.

Original comment by matri...@gmail.com on 16 Aug 2012 at 5:36

GoogleCodeExporter commented 9 years ago
Ok, great.

Just out of being completely paranoid at this point as I still cannot figure 
out how the previous one worked on my Mac. Can anyone test one or both of these 
builds that I will upload for release?

Original comment by CodyPrec...@gmail.com on 16 Aug 2012 at 12:53

Attachments:

GoogleCodeExporter commented 9 years ago
previously attached wrong ones ...

Original comment by CodyPrec...@gmail.com on 16 Aug 2012 at 1:04

Attachments:

GoogleCodeExporter commented 9 years ago
PyStudio-0.7-py2.7.egg working fine

Original comment by matri...@gmail.com on 16 Aug 2012 at 3:36

GoogleCodeExporter commented 9 years ago
Thanks,

Will release it then.

Original comment by CodyPrec...@gmail.com on 16 Aug 2012 at 3:50