Hi All,
I am Reverse engineering to find the graphical and hierarchal
representation of customized scons using pyreverse.
I am running on Windows 7 command prompt and Python version is 2.7.5.
I downloaded python module asteroid-1.00 for running pyreverse.
I am getting below syntax error while running pyreverse on scons for
asteroid-1.0.0 module.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\astroid-1.0.0-py2.7.egg\astroid\manager.py
", line 39, in astroid_wrapper
return func(modname)
File "C:\Python27\lib\site-packages\astroid-1.0.0-py2.7.egg\astroid\manager.py
", line 104, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "C:\Python27\lib\site-packages\astroid-1.0.0-py2.7.egg\astroid\builder.py
", line 127, in file_build
node = self.string_build(data, modname, path)
File "C:\Python27\lib\site-packages\astroid-1.0.0-py2.7.egg\astroid\builder.py
", line 133, in string_build
module = self._data_build(data, modname, path)
File "C:\Python27\lib\site-packages\astroid-1.0.0-py2.7.egg\astroid\builder.py
", line 146, in _data_build
node = parse(data + '\n')
File "C:\Python27\lib\site-packages\astroid-1.0.0-py2.7.egg\astroid\builder.py
", line 39, in parse
return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
File "<string>", line 36
import as
^
SyntaxError: invalid syntax
Thanks,
Prashanth
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects