Comments (6)
I tested this pretty thoroughly before I created #15. Are you doing anything peculiar? Like not entering either of the rates, or the name, for instance.
from augmented-traffic-control.
I used the config from PR #21 . I did try a name with a space first, and then without a space.
from augmented-traffic-control.
I played around with this and it appears to be working as designed.
However, after some thought, I decided that the workflow for profiles was very non-intuitive. Some of the widgets were storing background state that did not reflect the actual fields if users updated them after the state was originally accessed.
I reworked the workflow to be much more intuitive in #23.
The UI presents the name field from the get-go and doesn't display the profile list if it's not available. In addition, I removed all the widget state that was previously causing confusion.
If #23 still does not fix the issue, could you show me exactly what you're doing to cause this issue?
from augmented-traffic-control.
I did not do anything special that should have prevented it from working as expected. The work flow was something alike:
- set some shaping values
- click on add profile
- enter profile name
- saved profile
After this, the list would still be empty. Reloading the page would not help. I am pretty sure I did run the Django migration script ... so the dB should have been there.
Will check again later to see if I did anything stupid. But if I did something stupid, an error message should have been thrown to me and not be discarded silently.
from augmented-traffic-control.
The only other thing I can think of is you have to run atcui-setup
as the atc
user, otherwise the atc
user can read from it (i.e. will start successfully) but cannot write to it. This would cause the issues you mentioned.
The old workflow had some error messages for common errors, but they were fairly simple and there were likely other ways of causing issues without hitting those cases. The simplified workflow in #23 should be much more robust.
from augmented-traffic-control.
ok, confirmed that /var/django/atc_ui/db.sqlite3 was owned by root. I had run the atcui-setup as root .... so the script should be modified to run the manage.py
script with the right credentials which basically means the whole script altogether should be ran as the user than is used to run the UI.
I will capture that in another task.
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.