Commit ffa73d2cf38b03453a0f6a0ed3927d30a6d43736

Authored by Etienne Pallier
1 parent 0af0c072
Exists in dev

petits bugfixes

docker/PYROS_DOCKER_RUN
... ... @@ -34,7 +34,7 @@ echo "- PLC simulator LOG file is ../../LOG_PYROS_plc_simulator.log"
34 34 # - Display log on current terminal
35 35 #docker exec -it pyros python3 pyros.py start agentM
36 36 # - Save log in file
37   -docker exec pyros python3 pyros.py start agentM >> ../../LOG_PYROS_agent_monitoring.log 2>&1 &
  37 +docker exec pyros python3 pyros.py start agentM -o "guitalens" >> ../../LOG_PYROS_agent_monitoring.log 2>&1 &
38 38 echo "- Agent Monitoring LOG file is ../../LOG_PYROS_agent_monitoring.log"
39 39  
40 40 fi
... ...
src/core/pyros_django/agent/Agent.py
... ... @@ -589,8 +589,8 @@ class Agent:
589 589 print("\n")
590 590 print("- Unit Channels:", oc.get_channels(my_unit_name))
591 591  
592   - print("\n")
593   - print("- Unit/Channel info:", oc.get_channel_information(my_unit_name, 'OpticalChannel_up'))
  592 + #print("\n")
  593 + #print("- Unit/Channel info:", oc.get_channel_information(my_unit_name, 'OpticalChannel_up'))
594 594  
595 595 print("\n")
596 596 print("- Unit Components agents:", oc.get_components_agents(my_unit_name))
... ...
src/core/pyros_django/pyros/settings.py
... ... @@ -134,7 +134,7 @@ SQL_USER = ""
134 134 SQL_PWD = ""
135 135 #PATH_TO_OBSCONF_FILE = os.path.join(BASE_DIR,"../../privatedev/config/default/observatory_default.yml")
136 136  
137   -ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pyros.irap.omp.eu','0.0.0.0']
  137 +ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pyros.irap.omp.eu', 'astroguita.hd.free.fr', '0.0.0.0']
138 138 # defining variables when using Docker
139 139 if WITH_DOCKER:
140 140 ALLOWED_HOSTS.append('0.0.0.0')
... ...