Giter VIP home page Giter VIP logo

Comments (9)

chantra avatar chantra commented on June 10, 2024

@jinkerry
Can you provide the output of:
pip freeze
It looks like version of six you are using does not have the queue module.

As an example, here is the version we have on a working instance:
six==1.8.0

from augmented-traffic-control.

jinkerry avatar jinkerry commented on June 10, 2024

Six version is 1.9.0 in my env.
Maybe some other reason?

Thank you.

jinfengdeMacBook-Pro:~ jinfeng$ pip freeze
altgraph==0.10.2
atc-thrift==0.1.0
atcd==0.1.0
bdist-mpkg==0.5.0
bonjour-py==0.3
daemonize==2.3.1
Django==1.7.7
django-atc-api==0.1.0
django-atc-demo-ui==0.1.0
django-atc-profile-storage==0.1.0
django-bootstrap-themes==3.1.2
django-static-jquery==1.11.1
djangorestframework==3.1.1
futures==2.2.0
macholib==1.5.1
matplotlib==1.3.1
modulegraph==0.10.4
numpy==1.8.0rc1
py2app==0.7.3
pyobjc-core==2.5.1
pyobjc-framework-Accounts==2.5.1
pyobjc-framework-AddressBook==2.5.1
pyobjc-framework-AppleScriptKit==2.5.1
pyobjc-framework-AppleScriptObjC==2.5.1
pyobjc-framework-Automator==2.5.1
pyobjc-framework-CFNetwork==2.5.1
pyobjc-framework-Cocoa==2.5.1
pyobjc-framework-Collaboration==2.5.1
pyobjc-framework-CoreData==2.5.1
pyobjc-framework-CoreLocation==2.5.1
pyobjc-framework-CoreText==2.5.1
pyobjc-framework-DictionaryServices==2.5.1
pyobjc-framework-EventKit==2.5.1
pyobjc-framework-ExceptionHandling==2.5.1
pyobjc-framework-FSEvents==2.5.1
pyobjc-framework-InputMethodKit==2.5.1
pyobjc-framework-InstallerPlugins==2.5.1
pyobjc-framework-InstantMessage==2.5.1
pyobjc-framework-LatentSemanticMapping==2.5.1
pyobjc-framework-LaunchServices==2.5.1
pyobjc-framework-Message==2.5.1
pyobjc-framework-OpenDirectory==2.5.1
pyobjc-framework-PreferencePanes==2.5.1
pyobjc-framework-PubSub==2.5.1
pyobjc-framework-QTKit==2.5.1
pyobjc-framework-Quartz==2.5.1
pyobjc-framework-ScreenSaver==2.5.1
pyobjc-framework-ScriptingBridge==2.5.1
pyobjc-framework-SearchKit==2.5.1
pyobjc-framework-ServiceManagement==2.5.1
pyobjc-framework-Social==2.5.1
pyobjc-framework-SyncServices==2.5.1
pyobjc-framework-SystemConfiguration==2.5.1
pyobjc-framework-WebKit==2.5.1
pyOpenSSL==0.13.1
pyotp==1.4.1
pyparsing==2.0.1
pyroute2==0.3.3
python-dateutil==1.5
pytz==2013.7
scipy==0.13.0b1
six==1.9.0
sparts==0.7.1
thrift==0.9.2
Twisted==13.2.0
xattr==0.6.4
zope.interface==4.1.1

from augmented-traffic-control.

chantra avatar chantra commented on June 10, 2024

So, looking at your output, there is one thing that will not work even after this issue is fixed: ATC does not run on anything other than Linux.

Aside from that, I have installed on a Mac host a brand new virtualenv with python 2.7.6, installed atcd and six==1.9.0 and cannot reproduce the issue when importing:

from atcd.scripts import runner

or running atcd

Anyway, I will close this one for now as this is happening on a platform that is not supported. Thanks for reporting the issue in the first place though.

from augmented-traffic-control.

zhangxiaang avatar zhangxiaang commented on June 10, 2024

@chantra
i also meet this problem ...my pip free log is:
altgraph==0.10.2
atc-thrift==0.1.2
atcd==0.1.2
bdist-mpkg==0.5.0
bonjour-py==0.3
daemonize==2.3.1
Django==1.8.3
django-atc-api==0.1.2
django-atc-demo-ui==0.1.2
django-atc-profile-storage==0.1.2
django-bootstrap-themes==3.1.2
django-static-jquery==1.11.1
djangorestframework==3.1.3
futures==3.0.3
macholib==1.5.1
matplotlib==1.3.1
modulegraph==0.10.4
numpy==1.8.0rc1
py2app==0.7.3
pyobjc-core==2.5.1
pyobjc-framework-Accounts==2.5.1
pyobjc-framework-AddressBook==2.5.1
pyobjc-framework-AppleScriptKit==2.5.1
pyobjc-framework-AppleScriptObjC==2.5.1
pyobjc-framework-Automator==2.5.1
pyobjc-framework-CFNetwork==2.5.1
pyobjc-framework-Cocoa==2.5.1
pyobjc-framework-Collaboration==2.5.1
pyobjc-framework-CoreData==2.5.1
pyobjc-framework-CoreLocation==2.5.1
pyobjc-framework-CoreText==2.5.1
pyobjc-framework-DictionaryServices==2.5.1
pyobjc-framework-EventKit==2.5.1
pyobjc-framework-ExceptionHandling==2.5.1
pyobjc-framework-FSEvents==2.5.1
pyobjc-framework-InputMethodKit==2.5.1
pyobjc-framework-InstallerPlugins==2.5.1
pyobjc-framework-InstantMessage==2.5.1
pyobjc-framework-LatentSemanticMapping==2.5.1
pyobjc-framework-LaunchServices==2.5.1
pyobjc-framework-Message==2.5.1
pyobjc-framework-OpenDirectory==2.5.1
pyobjc-framework-PreferencePanes==2.5.1
pyobjc-framework-PubSub==2.5.1
pyobjc-framework-QTKit==2.5.1
pyobjc-framework-Quartz==2.5.1
pyobjc-framework-ScreenSaver==2.5.1
pyobjc-framework-ScriptingBridge==2.5.1
pyobjc-framework-SearchKit==2.5.1
pyobjc-framework-ServiceManagement==2.5.1
pyobjc-framework-Social==2.5.1
pyobjc-framework-SyncServices==2.5.1
pyobjc-framework-SystemConfiguration==2.5.1
pyobjc-framework-WebKit==2.5.1
pyOpenSSL==0.13.1
pyotp==1.4.1
pyparsing==2.0.1
pyroute2==0.3.3
python-dateutil==1.5
pytz==2013.7
scipy==0.13.0b1
six==1.4.1
sparts==0.7.1
thrift==0.9.2
Twisted==13.2.0
vboxapi==1.0
xattr==0.6.4
zope.interface==4.1.1

how can i resolve this problem or how to update the 'six' version ?
thank u very much!!!

from augmented-traffic-control.

chantra avatar chantra commented on June 10, 2024

@zhangxiaang I understand your issue is fixed given you comment in sparts repo: facebookarchive/sparts#96 (comment)
Is this correct?

from augmented-traffic-control.

zhangxiaang avatar zhangxiaang commented on June 10, 2024

@chantra
but i meet the same problem with @jinkerry ...
if i import runner , the terminal told me that ImportError: No module named queue...
have u resolved this problem? @jinkerry
thanks a lot !

from augmented-traffic-control.

chantra avatar chantra commented on June 10, 2024

@zhangxiaang
Do you use virtualenv? When you import runner, do you do this as root? as a normal user?

Can you run:

/usr/bin/env python -c 'import six; print six.__version__'

and paste the output to https://gist.github.com/

from augmented-traffic-control.

zhangxiaang avatar zhangxiaang commented on June 10, 2024

@chantra thanks for ur reply!
when i run (as root)

  /usr/bin/env python -c 'import six; print six.__version__'

the output is '1.4.1'
it is strange, when i run " sudo pip freeze" , the six version is 'six==1.9.0'

from augmented-traffic-control.

chantra avatar chantra commented on June 10, 2024

@zhangxiaang you may be most likely using a virtualenv setup. You can either start atcd using sudo OR make sure you upgrade six package for root.

from augmented-traffic-control.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.