[fixed]launch plugin does not work with win32 binary v0.5.15

Report Bugs Here

[fixed]launch plugin does not work with win32 binary v0.5.15

Postby tea » Thu Nov 05, 2009 6:09 am

Hi
This may not lunch plugin issue, though... Build issue ?
I can not figure out, so I would just report what i saw.

First, I updated to v0.5.15 by the auto update.
Then I met the problem that Lunch plugin doesn't run a code.
I've tried reinstall all (remove from control panel and remove users plugins/profiles/etc manually)
But I got the same result.

Source version, it works fine when run from source and the binary which made by py2exe.
Python2.5.4
wxPython 2.8.10.1
setuptools 0.6c10
tea
Limited User
 
Posts: 2
Joined: Thu Nov 05, 2009 4:09 am

Re: lunch plugin does not work with win32 binary v0.5.15/vista

Postby cody » Thu Nov 05, 2009 1:38 pm

Hi,

It was an issue with the windows installer. It put the files for the spellchecking support into the main install directory and although the spellchecking still works having those files there seems to have an odd affect of making the subprocesses used to run the launch commands fail.

See the issue for this at editra.googlecode.com or the post about the projects plugin right below this for a workaround.


Cody
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States

Re: lunch plugin does not work with win32 binary v0.5.15/vista

Postby tea » Fri Nov 06, 2009 5:53 am

Thank you, I could find the issue. Launch#Run worked fine without enchant module files.
I removed *.py *.pyc *.pyo and lib*.dll iconv.dll intl.dll files and share, lib, tokenize dir from the official win binary.


BTW, I did not install PyEnchant when I tried local build before.
Then I tried to build Editra again with PyEnchant (win installer version).

The difference of an official win binary and a local build was a path of enchant module.
In a local build, library.zip had contained them.
(and extra modules ... gtk and so on ... i guess it was from enchant/checker)
but that was missing copies of dictionary files. at least in setup.py, I could not find those data files.

I've found out the bottom of pyenchant tutorial page,
it explains append enchant.utils.win32_data_files() to data_files.
http://www.rfk.id.au/software/pyenchant ... ing-py2exe

...

I did not success to use libenchant in Editra,
personally I do not need spell check. I would just test the build and installation.
tea
Limited User
 
Posts: 2
Joined: Thu Nov 05, 2009 4:09 am

Re: lunch plugin does not work with win32 binary v0.5.15/vista

Postby cody » Fri Dec 11, 2009 1:29 am

tea wrote:
I've found out the bottom of pyenchant tutorial page,
it explains append enchant.utils.win32_data_files() to data_files.
http://www.rfk.id.au/software/pyenchant ... ing-py2exe


Thanks this was quite useful and seems to fix the issue and simplify the build process.


Cody
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States

Re: lunch plugin does not work with win32 binary v0.5.15/vista

Postby Sam » Sat Dec 12, 2009 8:17 pm

Hello,

I have read the above post quite a few times and I guess I am not smart enough to figure out how to implement the fix. I am just looking to make my F5 button execute my code using Launch currently it appears to be running but eave a simple script like 'print "hello"' won't output any to the Launch window.

I probably doing something really stupid but I have tried all that I know. Any help would be appreciated.

Sam
Sam
Limited User
 
Posts: 4
Joined: Sat Dec 12, 2009 3:17 am

Re: lunch plugin does not work with win32 binary v0.5.15/vista

Postby cody » Sat Dec 12, 2009 9:47 pm

Hi,

You just need to remove some files from the installation directory as a workaround in this release. I will be making a new release hopefully this next week that has the fix included.

See my responses about what files to remove in the following thread: viewtopic.php?f=2&t=481


Cody
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron