Issue #2 resolved

Orbited don't run with last version of twisted (12.3.0)

Abdou Karim Kandji avatarAbdou Karim Kandji created an issue

If I run command 'orbited -c orbited.cfg' i got this output:

File "/home/xxx/.virtenvs/project/local/lib/python2.7/site-packages/orbited/start.py", line 25, in _setup_protocols reactor.listenWith(port_class, factory=factory_class(), resource=root, childName=child_path) AttributeError: 'SelectReactor' object has no attribute 'listenWith'

It seems that attribute 'listenWith' is removed on the last version of Twisted, but if i downgrade Twisted version on '12.0.0' orbited works fine.

Comments (4)

  1. israel altamira

    I downloaded orbited0.7.11beta3 and I found that this commit is not inside the beta3, why? and where can I find the realease that include the commit you talk about here (the 0748fc9) ... Im installing under win7.....

  2. israel altamira

    especifically I didnt found the commit in file

    C:\Python27\Lib\site-packages\orbited-0.7.11beta3-py2.7.egg\orbited\start.py
    

    And my error was something like this one:

    E:\...\code\trunk\myapp>orbited --config myapp_orbited.cfg
    Traceback (most recent call last):
      File "C:\Python27\Scripts\orbited-script.py", line 9, in <module>
        load_entry_point('orbited==0.7.11beta3', 'console_scripts', 'orbited')()
      File "C:\Python27\lib\site-packages\orbited-0.7.11beta3-py2.7.egg\orbited\start.py", line 182, in main
        _setup_protocols(root)
      File "C:\Python27\lib\site-packages\orbited-0.7.11beta3-py2.7.egg\orbited\start.py", line 26, in _setup_protocols
        reactor.listenWith(port_class, factory=factory_class(), resource=root, childName=child_path)
    AttributeError: 'SelectReactor' object has no attribute 'listenWith'
    
  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.