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

Fix module import #32

Closed
wants to merge 1 commit into from
Closed

Fix module import #32

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 11, 2016

When try run pymux cannot import ctrl module so this patch fix this.

Traceback (most recent call last):
  File "/usr/bin/pymux", line 9, in <module>
    load_entry_point('pymux==0.5', 'console_scripts', 'pymux')()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib64/python2.7/site-packages/pymux/entry_points/run_pymux.py", line 28, in <module>
    from pymux.main import Pymux
  File "/usr/lib64/python2.7/site-packages/pymux/main.py", line 18, in <module>
    from .arrangement import Arrangement, Pane, Window
  File "/usr/lib64/python2.7/site-packages/pymux/arrangement.py", line 11, in <module>
    from .process import Process
  File "/usr/lib64/python2.7/site-packages/pymux/process.py", line 13, in <module>
    from .stream import BetterStream
  File "/usr/lib64/python2.7/site-packages/pymux/stream.py", line 7, in <module>
    from pyte import ctrl
ImportError: cannot import name ctrl

@jonathanslenders
Copy link
Member

Thank you! I just pushed a new release for this.
Merged in: f3c9435

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

Successfully merging this pull request may close these issues.

None yet

2 participants