Comments (2)
The agent configuration for this Volttron Central Agent is an yaml file that has no yaml objects, not even an empty object. Because the config file is empty, the Volttron platform is returning a NoneType for the 'config' object, thus failing this installation when the agent code is trying to get a property on a None object. To resolve this, ensure that the Volttron Agent config file has at least an empty dictionary.
from volttron-docker.
I uncommented the VOLTTRON Central Agent code in the platform_config.yml file and when I run vctl status I am getting a status of 1. Searching through the logs I found the following error:
2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: Traceback (most recent call last): 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: "main", mod_spec) 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: File "/usr/lib/python3.7/runpy.py", line 85, in _run_code 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: exec(code, run_globals) 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: File "/home/volttron/.volttron/agents/eee54433-f080-45c4-bfc5-5d64993fdba1/volttroncentralagent-5.2/volttroncentral/agent.py", line 1022, in 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: sys.exit(main()) 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: File "/home/volttron/.volttron/agents/eee54433-f080-45c4-bfc5-5d64993fdba1/volttroncentralagent-5.2/volttroncentral/agent.py", line 1016, in main 2021-11-22 17:22:16,828 (volttroncentralagent-5.2 177) ERROR: version=version) 2021-11-22 17:22:16,829 (volttroncentralagent-5.2 177) ERROR: File "/code/volttron/volttron/platform/agent/utils.py", line 459, in vip_main 2021-11-22 17:22:16,829 (volttroncentralagent-5.2 177) ERROR: message_bus=message_bus, **kwargs) 2021-11-22 17:22:16,829 (volttroncentralagent-5.2 177) ERROR: File "/home/volttron/.volttron/agents/eee54433-f080-45c4-bfc5-5d64993fdba1/volttroncentralagent-5.2/volttroncentral/agent.py", line 109, in init_volttron_central 2021-11-22 17:22:16,829 (volttroncentralagent-5.2 177) ERROR: users = config.get('users', None) 2021-11-22 17:22:16,829 (volttroncentralagent-5.2 177) ERROR: AttributeError: 'NoneType' object has no attribute 'get'
@judymin88 Try adding your own Volttron config file and using it for the agent config for Volttron Central Agent. See my solution in #51
from volttron-docker.
Related Issues (13)
- realpath not a thing anymore HOT 1
- docker-compose-rmq.yml HOT 4
- mount host VOLTTRON_HOME
- rmq certification is changed HOT 7
- Please mention how to install on ARM. HOT 8
- Docker installation does not set proper permissions on socket HOT 3
- Volttron1 container is not reentrant HOT 5
- The agent install priority in the setup-platform.py file is hard coded HOT 1
- Error on ZMQ socket bind() needs more information, patch attached. HOT 3
- Unable to access VOLTTRON central HOT 6
- Update Volttron image to 9.0
- Setup doesn't create the correct permissions on VOLTTRON_HOME directory 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 volttron-docker.