kwan888-github / iep

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

IEP 3.3: Cant configure shell (at all) #222

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click 'Configure shell' button

What is the expected output? What do you see instead?

I expect to see dialog to configure shell, instead nothing happend except for 
stacktrace in console: 

Traceback (most recent call last):
  File "/tmp/iep/source/iep/iepcore/menu.py", line 294, in <lambda>
    a.triggered.connect(lambda b=None: callback())
  File "/tmp/iep/source/iep/iepcore/menu.py", line 853, in _editConfig2
    d = ShellInfoDialog()
  File "/tmp/iep/source/iep/iepcore/shellInfoDialog.py", line 426, in __init__
    self.interpreters = list(reversed(get_interpreters('2.4')))
  File "/usr/local/lib/python3.3/site-packages/pyzolib/interpreters/__init__.py", line 45, in get_interpreters
  File "/usr/local/lib/python3.3/site-packages/pyzolib/interpreters/__init__.py", line 63, in _select_interpreters
  File "/usr/local/lib/python3.3/site-packages/pyzolib/interpreters/__init__.py", line 63, in <listcomp>
  File "/usr/local/lib/python3.3/site-packages/pyzolib/interpreters/pythoninterpreter.py", line 61, in version_info
  File "/usr/local/lib/python3.3/site-packages/pyzolib/interpreters/pythoninterpreter.py", line 112, in _versionStringToTuple
  File "/usr/local/lib/python3.3/site-packages/pyzolib/interpreters/pythoninterpreter.py", line 112, in <listcomp>
ValueError: invalid literal for int() with base 10: ''

What version of the product are you using? On what operating system?

iep 3.2
python 3.3, 3.2 
debian testing x64 gnome3

Original issue reported on code.google.com by jbz...@gmail.com on 14 Apr 2013 at 6:34

GoogleCodeExporter commented 8 years ago
This bug is supposed to be fixed. Are you running the binaries or from source? 
If the latter, try updaring pyzolib.

Original comment by almar.klein@gmail.com on 15 Apr 2013 at 8:38

GoogleCodeExporter commented 8 years ago
I use binary version (one found here 
http://code.google.com/p/iep/downloads/detail?name=iep-3.2.linux64.tar.gz&can=2&
q=). 

If it is fixed in the VCS I may try to check it out. 

Original comment by jbz...@gmail.com on 15 Apr 2013 at 8:48

GoogleCodeExporter commented 8 years ago
Mmm, it seems the bug was not entirely fixed. But now it should be.

The bug was in pyzolib, a dependency of IEP. The easiest way to fix it, I 
think, is to take this file: 
https://pyzolib.googlecode.com/hg/interpreters/pythoninterpreter.py
... and put it in the library.zip next to the corresponding .pyc file.

Please let me know if this works.

Original comment by almar.klein@gmail.com on 16 Apr 2013 at 7:40

GoogleCodeExporter commented 8 years ago
Still no luck, i put it inside library.zip/pyzolib/interpreters.

jb:)

Original comment by jbz...@gmail.com on 23 Apr 2013 at 9:44

GoogleCodeExporter commented 8 years ago
mmm, perhaps its taking the .pyc instead. You could try removing the .pyc from 
the archive. But beware: some archive manager break the zipfile if you try such 
a thing...

Original comment by almar.klein@gmail.com on 30 Apr 2013 at 7:07

GoogleCodeExporter commented 8 years ago
As part of migrating our code repositories from Googlecode
to Bitbucket, all IEP issues are now tracked at 
https://bitbucket.org/iep-project/iep/issues

To view this issue, use this link (with X replaced by the issue number):
https://bitbucket.org/iep-project/iep/issue/X

Issues on Bitbucket can be created by anyone. Commenting on issues requires 
login via Bitbucket, Google, Twitter or Github.

Original comment by almar.klein@gmail.com on 11 Jun 2013 at 2:40