Comments (3)
is run.py process can write config.json ?
Normally, when you start run.py and config.json not have uniq_id, a new uniq_id is created and config.json is updated.
from odr-encodermanager.
yes run.py run with odr user:
odr 3844 0.3 1.3 91576 27888 ? S 16:08 0:00 /usr/bin/python3 /home/odr/ODR-EncoderManager/run.py -c config.json
root@dab:/home/odr/ODR-EncoderManager# ls -al
total 148
drwxr-xr-x 11 odr odr 4096 oct 7 16:04 .
drwxr-xr-x 7 odr odr 4096 oct 7 14:44 ..
drwxr-xr-x 3 odr odr 4096 oct 7 14:45 api
drwxr-xr-x 3 odr odr 4096 oct 7 14:45 auth
drwxr-xr-x 3 odr odr 4096 oct 7 14:45 avt
drwxr-xr-x 3 odr odr 4096 oct 7 15:37 config
-rwxrwxrwx 1 odr odr 3403 oct 7 16:08 config.json
-rw-r--r-- 1 odr odr 3047 oct 7 15:50 config.json.sample
-rwxr-xr-x 1 odr odr 1068 oct 7 14:44 generate_network_config.py
-rwxr-xr-x 1 odr odr 2039 oct 7 14:44 generate_supervisor_config.py
drwxr-xr-x 8 odr odr 4096 oct 7 15:50 .git
-rw-r--r-- 1 odr odr 92 oct 7 14:44 .gitignore
drwxr-xr-x 2 odr odr 4096 oct 7 14:44 lcd
-rwxr-xr-x 1 odr odr 2495 oct 7 14:44 lcd.py
-rw-r--r-- 1 odr odr 674 oct 7 14:44 LICENCE
drwxr-xr-x 2 odr odr 4096 oct 7 14:44 logs
-rw-r--r-- 1 odr odr 56718 oct 7 14:44 ODR-Encoder_Manager.png
-rwxr-xr-x 1 odr odr 3790 oct 7 14:44 README.md
-rwxr-xr-x 1 odr odr 8049 oct 7 14:44 run.py
drwxr-xr-x 5 odr odr 4096 oct 7 14:44 static
-rw-r--r-- 1 odr odr 0 oct 7 15:53 supervisor-encoder.conf
-rw-r--r-- 1 odr odr 324 oct 7 14:44 supervisor-gui.conf
-rwxr-xr-x 1 odr odr 337 oct 7 14:44 supervisor-lcd.conf
drwxr-xr-x 2 odr odr 4096 oct 7 14:44 templates
from odr-encodermanager.
Hello,
I have similar issue, also using "next" branch, same as mickaelmonsieur :
Use configuration file config.json
Traceback (most recent call last):
File "/home/odr/ODR-EncoderManager/run.py", line 174, in
config.initConfigurationChanged()
File "/home/odr/ODR-EncoderManager/config/init.py", line 59, in initConfigurationChanged
self.addConfigurationChanged(coder['uniq_id'])
KeyError: 'uniq_id'
I check also and config is writable
from odr-encodermanager.
Related Issues (14)
- dabplus-enc & mot-encoder always run after SIGINT HOT 1
- Error 301 and 202 HOT 4
- Mixing set DLS and set DL+ requests HOT 1
- Check if EncoderManager can start encoders in supervisor
- Build the debian package for ODR-EncoderManager
- logfiles
- missing supervisor-encoder.conf HOT 2
- mot fifo file instead file HOT 2
- uniq_id needed to set DLS/DL+ via API for this encoder is ... HOT 2
- Could not open /tmp/metadata.dls HOT 4
- No "Restart" button HOT 3
- File unknown HOT 1
- python3-pysnmp on Debian 9 Stretch 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 odr-encodermanager.