Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error importing voltron #247

Open
Mcimagamer opened this issue Dec 9, 2018 · 1 comment
Open

error importing voltron #247

Mcimagamer opened this issue Dec 9, 2018 · 1 comment

Comments

@Mcimagamer
Copy link

Mcimagamer commented Dec 9, 2018

`An error occurred while loading Voltron:

Traceback (most recent call last):
File "/home/user/.local/lib/python3.7/site-packages/voltron/entry.py", line 57, in
import voltron
File "/home/user/.local/lib/python3.7/site-packages/voltron/init.py", line 95, in
setup_env()
File "/home/user/.local/lib/python3.7/site-packages/voltron/init.py", line 31, in setup_env
pkg_plugins=PluginDirectory('plugins', parent=PackageDirectory())
File "/home/user/.local/lib/python3.7/site-packages/scruffy/env.py", line 47, in init
self.add(**kwargs)
File "/home/user/.local/lib/python3.7/site-packages/scruffy/env.py", line 112, in add
self._children[key].prepare()
File "/home/user/.local/lib/python3.7/site-packages/scruffy/file.py", line 437, in prepare
self.load()
File "/home/user/.local/lib/python3.7/site-packages/scruffy/file.py", line 443, in load
self._pm.load_plugins(self.path)
File "/home/user/.local/lib/python3.7/site-packages/scruffy/plugin.py", line 65, in load_plugins
self.load_plugins(filepath)
File "/home/user/.local/lib/python3.7/site-packages/scruffy/plugin.py", line 61, in load_plugins
mod = imp.load_module(modname, file, path, descr)
File "/usr/lib/python3.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 169, in load_source
module = _exec(spec, sys.modules[name])
File "/home/user/.local/lib/python3.7/site-packages/voltron/plugins/view/memory.py", line 16
async = True
^
SyntaxError: invalid syntax

Please ensure Voltron is installed correctly per the documentation: https://github.com/snare/voltron/wiki/Installation`
I get this error when loading gdb, i got no errors during the install, and installed the packets for my current version, for version 3.0, and version 2.7 just to be sure. I'm using Manjaro.
also :
$ readelf -d which gdb|grep python
0x0000000000000001 (NEEDED) shared library: [libpython3.7m.so.1.0]

@xurtis
Copy link

xurtis commented Feb 6, 2019

it appears that python 3.7 made async and await keywords.

https://docs.python.org/3/whatsnew/3.7.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants