You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2024. It is now read-only.
Traceback (most recent call last):
File "C:\Himawari\himawari-rx.py", line 276, in <module>
HimawariRX()
File "C:\Himawari\himawari-rx.py", line 39, in __init__
self.config = self.parse_config()
File "C:\Himawari\himawari-rx.py", line 201, in parse_config
"path": Path(cfgp.get('rx', 'path')),
File "C:\Python3\lib\configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "C:\Python3\lib\configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'rx'
The text was updated successfully, but these errors were encountered:
Hi, this is probably related to a known bug with the configuration file location (himawari-rx.ini) being relative to the current working directory. When a console application is run as Administrator in Windows the current directory defaults to C:WINDOWS\system32.
I have applied a fix for this in xrit-rx and will apply the same fix to himawari-rx soon. For the time being, you could modify himawari-rx.bat so it changes the current directory to the location of himawari-rx first, then runs the application.
@echoofftitle himawari-rx
cd C:/path/to/himawari-rx
python himawari-rx.py --config himawari-rx.ini
pause
Out of interest, why does it need to be run as Administrator?
Sam.
sam210723
changed the title
win 10 run as admin errors
Configuration path is relative to current working directory
Mar 15, 2021
I am having an Win 10 pc running tbs card broadcast ip and port
Win 7 client can get data no issue,
Local win 10 pc nothing just sits there.
Reverse scenario win 7 as the local with card both collect data ok,
I tested and can see packets getting to python but nothing so just trying different scenarios
Thanks
Matt
The text was updated successfully, but these errors were encountered: