Upload from Github: Python trouble

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
Billy60
Posts: 44
Joined: Sun May 26, 2019 8:09 am
Country: -

Upload from Github: Python trouble

Post by Billy60 »

Good afternoon,
I am trying to download the latest version of OTX sensor from the Github and it doe download the Zipped version.
When extracting, I get an error message from the Python files. So nothing will open.
I am with W10 latest and it seems that this Python install is not necessary, but it also seems that it is requested somewhere.

Any advice ?

Thanks !

mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: Upload from Github: Python trouble

Post by mstrens »

It is strange.
I just made a download (zip) and I could make the extract without error message.
I am also using windows 10.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Upload from Github: Python trouble

Post by kalle123 »

No problem here either with WIN 10 ...

Loaded the master,.zip and unpacked it.

the *.ino loads inside the Arduino IDE.

Starting the configurator.exe also works.

br KH
Billy60
Posts: 44
Joined: Sun May 26, 2019 8:09 am
Country: -

Re: Upload from Github: Python trouble

Post by Billy60 »

Good morning,
I started again the configurator and this time it seems it works ok. In between I just restarted the pc.
Perhaps it would be useful to mention that you can read the files only one by one : I had to close the reader to get to see the next file after clicking on 'generate ...'.
However, I get some error messages on a console window:

Code: Select all

Read config
Exception in Tkinter callback
Traceback (most recent call last):
  File "configparser.py", line 788, in get
  File "C:\Users\Acer\AppData\Local\Programs\Python\Python37\lib\collections\__init__.py", line 916, in __getitem__
  File "C:\Users\Acer\AppData\Local\Programs\Python\Python37\lib\collections\__init__.py", line 908, in __missing__
KeyError: 'ppmexist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tkinter\__init__.py", line 1705, in __call__
  File "oxsConfig.py", line 348, in uploadConfig
  File "configparser.py", line 791, in get
configparser.NoOptionError: No option 'ppmexist' in section: 'Main'

Thanks for your help
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Upload from Github: Python trouble

Post by kalle123 »

Billy60 wrote: Wed May 27, 2020 6:21 am Perhaps it would be useful to mention that you can read the files only one by one
'files' What files??
Billy60 wrote: Wed May 27, 2020 6:21 am I had to close the reader to get to see the next file after clicking on 'generate ...'.
'reader' What reader??

br KH

Billy60
Posts: 44
Joined: Sun May 26, 2019 8:09 am
Country: -

Re: Upload from Github: Python trouble

Post by Billy60 »

The 'files ' are Config.basic and config.advanced.
The 'reader' is the application which is used to just read the content of the files and not work on them. It is here "Text" and not 'Arduino'. When I will work on it then I will open them in Arduino of course.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Upload from Github: Python trouble

Post by kalle123 »

Billy60 wrote: Wed May 27, 2020 9:13 am The 'files ' are Config.basic and config.advanced.
The 'reader' is the application which is used to just read the content of the files and not work on them. It is here "Text" and not 'Arduino'. When I will work on it then I will open them in Arduino of course.
I see no problem in that.

Next
However, I get some error messages on a console window:
Please describe step-by-step and in detail, what you do to get those error messages.

br KH

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”