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

wstest crashes #24

Closed
aaugustin opened this issue Feb 8, 2014 · 2 comments
Closed

wstest crashes #24

aaugustin opened this issue Feb 8, 2014 · 2 comments

Comments

@aaugustin
Copy link

I upgraded autobahntestsuite to the latest version available on PyPI and I'm getting this exception:

% wstest --help
Traceback (most recent call last):
  File "/Users/myk/.virtualenvs/autobahn/bin/wstest", line 9, in <module>
    load_entry_point('autobahntestsuite==0.5.7', 'console_scripts', 'wstest')()
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/pkg_resources.py", line 353, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/pkg_resources.py", line 2321, in load_entry_point
    return ep.load()
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/autobahntestsuite/__init__.py", line 23, in <module>
    import wstest
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/autobahntestsuite/wstest.py", line 40, in <module>
    import wamptestee
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/autobahntestsuite/wamptestee.py", line 93, in <module>
    class MyTopicService:
  File "/Users/myk/.virtualenvs/autobahn/lib/python2.7/site-packages/autobahntestsuite/wamptestee.py", line 100, in MyTopicService
    @wamp.exportSub("foobar", True)
AttributeError: 'module' object has no attribute 'exportSub'

This is reproducible in a fresh virtualenv:

mkvirtualenv autobahn
pip install --upgrade setuptools
pip install autobahntestsuite
wstest --help
@oberstet
Copy link
Contributor

Just pushed a release (https://pypi.python.org/pypi/autobahntestsuite/0.6.0) .. this is supposed to work with latest AutobahnPython (0.8.1) .. does it work for you?

@aaugustin
Copy link
Author

Much better! Thank you!

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