Skip to content

receiver does not work with autobahn 0.9.x #3

Description

@tofulupo
PyBuilder version 0.10.36
Build started at 2014-10-31 12:16:02
------------------------------------------------------------
[INFO]  Building yadtreceiver version 0.4.1
[INFO]  Executing build in /home/vagrant/yadtreceiver
[INFO]  Going to execute tasks: analyze, publish
[INFO]  Executing unittest Python modules in /home/vagrant/yadtreceiver/src/unittest/python
[ERROR] Import error in unittest file /usr/lib/python2.6/site-packages/yadtbroadcastclient/__init__.py, due to statement 'from autobahn.wamp1.protocol import WampClientFactory, WampClientProtocol' on line 10
[ERROR] Error importing unittests: No module named wamp1.protocol
------------------------------------------------------------
BUILD FAILED - Unable to execute unit tests.
------------------------------------------------------------
Build finished at 2014-10-31 12:16:02
Build took 0 seconds (154 ms)

after installing autobahn 0.8.15 everything is fine:

sudo pip install autobahn-0.8.15.zip
[INFO]  Executed 126 unittests
[INFO]  All unittests passed.
[INFO]  Collecting coverage information
[INFO]  Executing unittest Python modules in /home/vagrant/yadtreceiver/src/unittest/python
[INFO]  Executed 126 unittests
[INFO]  All unittests passed.
[INFO]  Overall coverage is 93%
[INFO]  Building distribution in /home/vagrant/yadtreceiver/target/dist/yadtreceiver-0.4.1
[INFO]  Copying scripts to /home/vagrant/yadtreceiver/target/dist/yadtreceiver-0.4.1/scripts
[INFO]  Copying resources matching 'setup.cfg post-install.sh post-uninstall.sh' from /home/vagrant/yadtreceiver to /home/vagrant/yadtreceiver/target/dist/yadtreceiver-0.4.1
[INFO]  Filter resources matching **/yadtreceiver/__init__.py in /home/vagrant/yadtreceiver/target
[INFO]  Writing MANIFEST.in as /home/vagrant/yadtreceiver/target/dist/yadtreceiver-0.4.1/MANIFEST.in
[INFO]  Writing setup.py as /home/vagrant/yadtreceiver/target/dist/yadtreceiver-0.4.1/setup.py
[INFO]  Running integration test should_load_configuration_file_tests
[INFO]  Executed 1 integration tests.
[INFO]  Building binary distribution in /home/vagrant/yadtreceiver/target/dist/yadtreceiver-0.4.1
------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------
Build Summary
             Project: yadtreceiver
             Version: 0.4.1
      Base directory: /home/vagrant/yadtreceiver
        Environments:
               Tasks: prepare [76 ms] compile_sources [0 ms] run_unit_tests [165 ms] analyze [641 ms] package [7 ms] run_integration_tests [121 ms] verify [0 ms] publish [300 ms]
Build finished at 2014-10-31 12:20:04
Build took 1 seconds (1320 ms)

i've checked the changelog and they removed all WAMP v1 code

0.9.0

Published 2014-09-02

all WAMP v1 code removed
migrated various WAMP examples to WAMP v2
improved unicode/bytes handling
lots of code quality polishment
more unit test coverage

i think WAMPv1 is gone and we should drop the the support

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions