OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

VOLTTRON: installation error configparser.NoSectionError: No section: 'volttron'

  • Thread starter Thread starter Mainland
  • Start date Start date
M

Mainland

Guest
I tried installing VOLTTRON but no success. I had installed and used it for a year and it was working fine. Recently, I deleted the VOLTTRON folder and decided to do the installation afresh again. I am surprised to see no success to this time. Don't know why?

Code:
pi@raspberrypi:~ $ cd volttron
pi@raspberrypi:~/volttron $ source env/bin/activate
(volttron) pi@raspberrypi:~/volttron $ ./start-volttron
Starting VOLTTRON verbosely in the background with VOLTTRON_HOME=/home/pi/.volttron
Waiting for VOLTTRON to startup..
VOLTTRON startup failed/timed out. Please check volttron.log for details
(volttron) pi@raspberrypi:~/volttron $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
(volttron) pi@raspberrypi:~/volttron $ tail -f volttron.log
    class Agent:
  File "/home/pi/volttron/volttron/platform/vip/agent/__init__.py", line 76, in Agent
    volttron_central_address=None, volttron_central_instance_name=None, enable_auth=is_auth_enabled()):
  File "/home/pi/volttron/volttron/platform/agent/utils.py", line 234, in is_auth_enabled
    config = load_platform_config()
  File "/home/pi/volttron/volttron/platform/agent/utils.py", line 169, in load_platform_config
    options = parser.options('volttron')
  File "/usr/lib/python3.9/configparser.py", line 675, in options
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'volttron'
S^C
(volttron) pi@raspberrypi:~/volttron $

enter image description here
<p>I tried installing VOLTTRON but no success. I had installed and used it for a year and it was working fine. Recently, I deleted the VOLTTRON folder and decided to do the installation afresh again. I am surprised to see no success to this time. Don't know why?</p>
<pre><code>pi@raspberrypi:~ $ cd volttron
pi@raspberrypi:~/volttron $ source env/bin/activate
(volttron) pi@raspberrypi:~/volttron $ ./start-volttron
Starting VOLTTRON verbosely in the background with VOLTTRON_HOME=/home/pi/.volttron
Waiting for VOLTTRON to startup..
VOLTTRON startup failed/timed out. Please check volttron.log for details
(volttron) pi@raspberrypi:~/volttron $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
(volttron) pi@raspberrypi:~/volttron $ tail -f volttron.log
class Agent:
File "/home/pi/volttron/volttron/platform/vip/agent/__init__.py", line 76, in Agent
volttron_central_address=None, volttron_central_instance_name=None, enable_auth=is_auth_enabled()):
File "/home/pi/volttron/volttron/platform/agent/utils.py", line 234, in is_auth_enabled
config = load_platform_config()
File "/home/pi/volttron/volttron/platform/agent/utils.py", line 169, in load_platform_config
options = parser.options('volttron')
File "/usr/lib/python3.9/configparser.py", line 675, in options
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'volttron'
S^C
(volttron) pi@raspberrypi:~/volttron $
</code></pre>
<p><a href="https://i.sstatic.net/Xy8Cstcg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Xy8Cstcg.png" alt="enter image description here" /></a></p>
 

Latest posts

Top