This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenPlotter 3 roadmap
Got a npm 'malformed' error when installing signalk server.
Seems 'bullseye' is missing in the /etc/apt/sources.list.d/openplotterNodejs.list definition


it should be:
deb https://deb.nodesource.com/node_16.x bullseye  main
deb-src https://deb.nodesource.com/node_16.x  bullseye main
Reply
(2022-05-21, 11:03 AM)rovinggecko Wrote: Got a npm 'malformed' error when installing signalk server.
Seems 'bullseye' is missing in the /etc/apt/sources.list.d/openplotterNodejs.list definition


it should be:
deb https://deb.nodesource.com/node_16.x bullseye  main
deb-src https://deb.nodesource.com/node_16.x  bullseye main

what is your OS?

EDIT: I think I know what is going on. There are changes in openplotter-settings to improve codenames management. You should add sources again in settings and then re-install signal k. This can happen in alpha versions.
I have optimized codenames management for ubuntu and derivatives like Mint etc.
Reply
Running it on rpi4, 64 bit.
Will try your suggestion. Currently I did a manual edit.
Reply
fyi,
I rebooted my op3 after installing the updated settings app. It showed that opencpn installer was not installed. I then installed it but when I refreshed, it stuck on the checking…….status. Now the check system crashes after it returns about 7 lines of text to the dialogue.
I suspect it may be the latest update causing this bu it could be something I have done.
Clean install next.
Paul
Reply
Following on from above, 
Installing from scratch, first step after booting the February alpha image was to update, I immediately got the error:

Error installing packages - The following
packages have unmet dependencies
openplotter-settings: Depends: ntp but it
is not installable
OK

I get the same error using the open plotter settings update and the task bar updates available icon.

Using 
Sudo apt full-upgrade 
completed successfully and the settings app was updated to 3.3.1 and all the other updates applied
(Raspi OS 64bit)
Next step, install the other op3 apps……

Yet another update - apologies for all the messages.

Re-booted after updating above.
Opened OP Settings 3.1.1
Clicked on Refresh

Now stuck on ‘checking apps list, please wait……..’
(List of apps is no longer populated.)

Closed settings app.
Tried to re-open but just get the hourglass for around 15 seconds but settings doesn’t open.

Rebooted, check system crashes before completing and settings app doesn’t open.
Reply
type in a terminal:

Code:
openplotter-settings

and paste here the error you get.
Reply
(2022-05-21, 04:46 PM)Sailoog Wrote: type in a terminal:

Code:
openplotter-settings

and paste here the error you get.

pi@raspberrypi:- $ openplotter-settings
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openplotterNodejs.List (Component)
E: The list of sources could not be read.
Traceback (most recent call last) :
File "/usr/bin/openplotter-settings",
line 11, in smodule>
load entry point ('openplotterSettings==3.3.1'
'consöle_scripts",
'openplotter-settings')()
File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py",
, line 1028, in main
MyFrame () . Show()
File
"/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py",line96,in
_init.
self.pageApps()
File "/usr/Lib/python3/dist-packages/openplotterSettings/openplotterSettings.py",line719,inpageApps
sources = subprocess. check_output (['apt -cache'
'policy']). decode (sys.stdin.encoding)
File "/usr/lib/python3.9/subprocess.py"
line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/us/Lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process args,
subprocess.CalledProcessError: Command
*[*apt-cache', 'policy']' returned non-zero exit status 100.

Note: this is ocr read from my iPad camera so not 100% accurate (some ‘ have been recognised as * etc.)
Let me know if you require a more accurate copy.

(2022-05-21, 05:19 PM)Paul M Wrote:
(2022-05-21, 04:46 PM)Sailoog Wrote: type in a terminal:

Code:
openplotter-settings

and paste here the error you get.
Just realised I can cut and paste using VNC (doh) 

pi@raspberrypi:~ $ openplotter-settings
E: Malformed entry 1 in list file /etc/apt/sources.list.d/openplotterNodejs.list (Component)
E: The list of sources could not be read.
Traceback (most recent call last):
  File "/usr/bin/openplotter-settings", line 11, in <module>
    load_entry_point('openplotterSettings==3.3.1', 'console_scripts', 'openplotter-settings')()
  File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 1028, in main
    MyFrame().Show()
  File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 96, in __init__
    self.pageApps()
  File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 719, in pageApps
    sources = subprocess.check_output(['apt-cache', 'policy']).decode(sys.stdin.encoding)
  File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['apt-cache', 'policy']' returned non-zero exit status 100.
pi@raspberrypi:~ $ 
Reply
delete /etc/apt/sources.list.d/openplotterNodejs.list file and then click "add sources" in openplotter-settings.
Reply
I get the following response when adding sources:

OpenPlotter packages source already exists
free-x packages source already exists


Pressing refresh takes a while but gives the expected result. (50 seconds)
Reply
OK, that sounds like a progress Smile

Today I will publish new versions for apps using sources (dashboards, signal k, opencpn, settings). Now you should not have problems installing openplotter in any Debian derivative and any Ubuntu derivative.
Reply


Forum Jump:


Users browsing this thread: 18 Guest(s)