kamawanu / googlecode-pydbgr

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

Error importing module autolist. #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run latest trunk or PyPI release.
2.
3.

What is the expected output? What do you see instead?
Expected:  All pydbgr imports without errors.

Actual:  Error importing module autolist: <type 'exceptions.ImportError'>

Manually importing autolist.py returns:
"ImportError: No module named lib/stack"

What version of the product are you using? On what operating system?
version 0.1.5 on Python 2.6 running on Windows XP

Please provide any additional information below.

Line 24 of autolist.py uses import_relative but specifies a path as:
'lib/stack'

The path should be specified as: 'lib.stack' as the parameter is split on '.' 
not '/'.  See ref [A] below:

Line of code that needs to be changed:
http://code.google.com/p/pydbgr/source/browse/trunk/pydbgr/processor/command/set
_subcmd/autolist.py?r=242#24

[A] Reference from import_relative:
http://code.google.com/p/pyimport-relative/source/browse/trunk/import_relative.p
y?r=19#104

Original issue reported on code.google.com by shma...@gmail.com on 7 Jan 2011 at 11:24

GoogleCodeExporter commented 8 years ago
Thanks for reporting the problem.

See if the change with SVN commit 243 helps.

Original comment by rocky.bernstein on 8 Jan 2011 at 9:57

GoogleCodeExporter commented 8 years ago

Original comment by rocky.bernstein on 8 Jan 2011 at 9:58

GoogleCodeExporter commented 8 years ago
The latest release, 0.1.6 I believe addresses these problems. 

Original comment by rocky.bernstein on 28 Dec 2012 at 9:18