2020-03-06, 12:03 PM
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
2020-03-06, 12:10 PM
(2020-03-06, 12:03 PM)Sailoog Wrote: [ -> ]I will try to publish the docs today. You will need openplotter-settings 2.2.0, update please.
Hi Sailoog, already updated to openplotter-settings 2.2.0, nice job! Now only missing (so to speak ...) Pypilot "stable" ... thanks for the immense work done. Good wind ... always !!!
(2020-03-06, 12:10 PM)Max1947 Wrote: [ -> ](2020-03-06, 12:03 PM)Sailoog Wrote: [ -> ]I will try to publish the docs today. You will need openplotter-settings 2.2.0, update please.
Hi Sailoog, already updated to openplotter-settings 2.2.0, nice job! Now only missing (so to speak ...) Pypilot "stable" ... thanks for the immense work done. Good wind ... always !!!
.... and in the face of the "coronavirus" ... and to think that this year I have not even done the antiviral vaccine and therefore we do the begging ... then in the ass of the whale!
2020-03-06, 08:11 PM
The Corona Virus is also the reason for the delay... I hope I get them at the beginning of next week... that is my last update. But then I have enough ;-)
2020-03-09, 03:36 PM
Here we go: https://openplotter.readthedocs.io/en/la...p_app.html
Let me know if something is not clear.
Let me know if something is not clear.
2020-03-09, 10:03 PM
Hi Sailoog,
i have done all the changes... But something went wrong with the gpg.key.
I have add the gpg Key to data/MCS.gpg.key.
I have further done all the changes in post install and preuninstall. for the config entry and the package and key entry.
Then I have build the package without errors and warnings and add it to cloudsmith. The GPG is the public key from cloudsmith.
This is the error message:
Can you help me with this?
https://github.com/Thomas-GeDaD/openplot...CS.gpg.key
i have done all the changes... But something went wrong with the gpg.key.
I have add the gpg Key to data/MCS.gpg.key.
I have further done all the changes in post install and preuninstall. for the config entry and the package and key entry.
Then I have build the package without errors and warnings and add it to cloudsmith. The GPG is the public key from cloudsmith.
This is the error message:
Code:
Adding MCS-app to OpenPlotter...
FAILED: unexpected EOF while parsing (<string>, line 0)
Checking sources...
gpg: Ungültige ASCII-HüllemQENBF5fs9MBCAC8d2wepJdDdzfPKchpjNQihimopFOH2rwXcIalofhGKZYW9wmf\r\n
OK:1 http://archive.raspberrypi.org/debian buster InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
OK:3 https://www.free-x.de/debian buster InRelease
OK:4 http://ppa.launchpad.net/opencpn/opencpn/ubuntu bionic InRelease
Holen:5 https://dl.cloudsmith.io/public/thomas-gersmann/openplotter-mcs/deb/debian buster InRelease [5.628 B]
OK:6 https://repos.influxdata.com/debian buster InRelease
OK:7 http://ppa.launchpad.net/openplotter/openplotter/ubuntu bionic InRelease
OK:8 https://packages.grafana.com/oss/deb stable InRelease
OK:9 https://deb.nodesource.com/node_10.x buster InRelease
Holen:10 https://dl.cloudsmith.io/public/openplotter/openplotter/deb/debian buster InRelease [5.524 B]
Fehl:5 https://dl.cloudsmith.io/public/thomas-gersmann/openplotter-mcs/deb/debian buster InRelease
Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY FAF1571900218507
Paketlisten werden gelesen... Fertig
W: GPG-Fehler: https://dl.cloudsmith.io/public/thomas-gersmann/openplotter-mcs/deb/debian buster InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY FAF1571900218507
E: Das Depot »https://dl.cloudsmith.io/public/thomas-gersmann/openplotter-mcs/deb/debian buster InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
DONE
https://github.com/Thomas-GeDaD/openplot...CS.gpg.key
2020-03-10, 11:01 AM
I have made a pull request to your github fixing that issue.
2020-03-10, 11:25 AM
Hi Sailoog,
thnk you very much.
I have add it and it works.
I have a further Problem.
You do this to add the app to the config:
If there is an empty string in the config (normaly if you do not have add an app) The try braks off and the app should not added to the config.
Should i add an handle for if string is not empty?
because eval("") =>SyntaxError: unexpected EOF while parsing
thnk you very much.
I have add it and it works.
I have a further Problem.
You do this to add the app to the config:
Code:
try:
externalApps0 = eval(conf2.get('APPS', 'external_apps'))
externalApps1 = []
for i in externalApps0:
if i['package'] != package: externalApps1.append(i)
externalApps1.append(app)
conf2.set('APPS', 'external_apps', str(externalApps1))
print(_('DONE'))
except Exception as e: print(_('FAILED: ')+str(e))
If there is an empty string in the config (normaly if you do not have add an app) The try braks off and the app should not added to the config.
Should i add an handle for if string is not empty?
because eval("") =>SyntaxError: unexpected EOF while parsing
2020-03-10, 11:33 AM
OK, let me try to reproduce and fix this error.
2020-03-10, 02:27 PM
So all works fine:
is it o.k. for you?
Code:
try:
externalApps0 = conf2.get('APPS', 'external_apps')
if externalApps0:
externalApps0 = eval(externalApps0)
externalApps1 = []
for i in externalApps0:
if i['package'] != package: externalApps1.append(i)
externalApps1.append(app)
conf2.set('APPS', 'external_apps', str(externalApps1))
print(_('DONE'))
except Exception as e: print(_('FAILED: ')+str(e))
is it o.k. for you?
2020-03-10, 04:19 PM
Further the app is not right detected?:
[attachment=843]
[attachment=843]