Comments (9)
@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.
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.
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.
@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.
@zhangxiaang I understand your issue is fixed given you comment in sparts repo: facebookarchive/sparts#96 (comment)
Is this correct?
from augmented-traffic-control.
@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.
@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.
@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.
@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)
- Support multiple shapings per device? HOT 3
- Switch network control failed HOT 1
- I have installed ATC(augmented traffic control)- how to access it via mobile device - As unable use the same network between the laptop and device. Could anyone please guide me the detailed steps to perform in order to access ATC via mobile device HOT 1
- Does Augmented traffic control supports on Windows system or MacOSX ? HOT 1
- I have created some shapes using web ,but when I selected it and update shaping or turn on, no response
- how to use request to configure the shape
- Does it make any difference if I don't add arg --atcd-iptables,will the net speed be quiker or...? HOT 1
- Any shaping settings give inconsistent results HOT 1
- ATC is not running,how can i do? HOT 3
- Support burst bandwith and duplication settings in the API?
- get "'module' object has no attribute 'lru_cache'" issues when install django-atc-demo-ui HOT 2
- show AttributeError: 'Options' object has no attribute 'get_all_related_objects' when execute "sudo bash restore-profiles.sh"
- shape error: adding NetEm qdisc on IFID enx00116b68175e, mark 2, err: (2, 'No such file or directory')
- sudo: atcd: command not found HOT 3
- python manage.py migrate NameError HOT 1
- installation issue HOT 1
- Support ubuntu18.04 HOT 1
- What is the meaning of Correlation in the atc configuration file?
- How to extend the validity period of the token
- The moment ATCD should start shaping it crashes. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from augmented-traffic-control.