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

voltron crashing on start when being installed using pip with Python 3.7 #263

Open
fdik opened this issue Dec 11, 2019 · 4 comments
Open

Comments

@fdik
Copy link

fdik commented Dec 11, 2019

% voltron
Traceback (most recent call last):
  File "/Users/vb/Library/Python/3.7/bin/voltron", line 5, in <module>
    from voltron import main
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/voltron/__init__.py", line 95, in <module>
    setup_env()
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/voltron/__init__.py", line 31, in setup_env
    pkg_plugins=PluginDirectory('plugins', parent=PackageDirectory())
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/scruffy/env.py", line 49, in __init__
    self.add(**kwargs)
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/scruffy/env.py", line 114, in add
    self._children[key].prepare()
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/scruffy/file.py", line 439, in prepare
    self.load()
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/scruffy/file.py", line 445, in load
    self._pm.load_plugins(self.path)
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/scruffy/plugin.py", line 65, in load_plugins
    self.load_plugins(filepath)
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/scruffy/plugin.py", line 61, in load_plugins
    mod = imp.load_module(modname, file, path, descr)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "/Users/vb/Library/Python/3.7/lib/python/site-packages/voltron/plugins/view/memory.py", line 16
    async = True
          ^
SyntaxError: invalid syntax
@lanza
Copy link

lanza commented Dec 13, 2019

async is a python3 keyword. Just change the variable name.

@cydave
Copy link

cydave commented Dec 22, 2019

For reference 09d1d75

@dwizzzle
Copy link

Any idea why @cydave commit is not included in the pip3 install? I just hit the same issue

@cydave
Copy link

cydave commented Dec 31, 2019

@dwizzzle My best guess would be that the release on Pypi is out of date.

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

4 participants