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.
Comment #1
Posted on Oct 25, 2014 by Swift HippoI 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.
Comment #2
Posted on Oct 25, 2014 by Swift HippoThe change for this is done now.
Comment #3
Posted on Oct 25, 2014 by Swift Hippo(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium