kamawanu / googlecode-pydbgr

Automatically exported from code.google.com/p/pydbgr
GNU General Public License v3.0
0 stars 0 forks source link

ImportError: No module named input #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
trepan2 --help
Traceback (most recent call last):
  File "/usr/local/bin/trepan2", line 8, in <module>
    load_entry_point('trepan==0.2.8', 'console_scripts', 'trepan2')()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 318, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2221, in load_entry_point
    return ep.load()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Library/Python/2.7/site-packages/trepan-0.2.8-py2.7.egg/trepan/cli.py", line 29, in <module>
    Mapi       = import_relative('api',       '.',   package)
  File "/Library/Python/2.7/site-packages/import_relative-0.2.3-py2.7.egg/import_relative.py", line 152, in import_relative
    mod = imp.load_module(top_module, fp, pathname, description)
  File "/Library/Python/2.7/site-packages/trepan-0.2.8-py2.7.egg/trepan/api.py", line 38, in <module>
    Mdebugger    = import_relative('debugger', '.')
  File "/Library/Python/2.7/site-packages/import_relative-0.2.3-py2.7.egg/import_relative.py", line 152, in import_relative
    mod = imp.load_module(top_module, fp, pathname, description)
  File "/Library/Python/2.7/site-packages/trepan-0.2.8-py2.7.egg/trepan/debugger.py", line 41, in <module>
    Muser     = import_relative('interfaces.user', '.')
  File "/Library/Python/2.7/site-packages/import_relative-0.2.3-py2.7.egg/import_relative.py", line 200, in import_relative
    next_mod = __import__(prefix, None, None, ['__bogus__'])
  File "/Library/Python/2.7/site-packages/trepan-0.2.8-py2.7.egg/trepan/interfaces/user.py", line 23, in <module>
    Minput     = import_relative('io.input', '...trepan')
  File "/Library/Python/2.7/site-packages/import_relative-0.2.3-py2.7.egg/import_relative.py", line 200, in import_relative
    next_mod = __import__(prefix, None, None, ['__bogus__'])
ImportError: No module named input

I am not sure what is missing. Help is appreciated. thanks

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

trepan2 works and debug prompt appears?

What version of the product are you using? On what operating system?
 easy_install  https://pydbgr.googlecode.com/files/trepan-0.2.8-py2.7.egg
 I tried it on ubuntu 12.10 and OS-X 10.9.3
Please provide any additional information below.

Original issue reported on code.google.com by barstr...@gmail.com on 3 Jun 2014 at 11:53

GoogleCodeExporter commented 8 years ago
I have been working on trepan2 recently to address issues like this. 

Version 0.3.8 should not give this error. However to install do not use pip 
without the --egg option. Installing via easy_install, or pip --egg or from 
source should work.

Sorry for taking so long to get around to this.

Original comment by rocky.bernstein on 25 Oct 2014 at 4:55

GoogleCodeExporter commented 8 years ago
The change for this is done now.

Original comment by rocky.bernstein on 25 Oct 2014 at 5:24

GoogleCodeExporter commented 8 years ago

Original comment by rocky.bernstein on 25 Oct 2014 at 5:31