Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't work under linux lubuntu 24.04 lts #12

Open
iw2evk opened this issue Aug 12, 2024 · 3 comments
Open

don't work under linux lubuntu 24.04 lts #12

iw2evk opened this issue Aug 12, 2024 · 3 comments

Comments

@iw2evk
Copy link

iw2evk commented Aug 12, 2024

Hi,

i've installed oin linux lubuntu 24.04 LTS.
I've used the compressed version fronm mozilla site because the Snap version bloking the usb ports.
I've installed on /home/iw2evk/firefox/native-messaging-hosts the 2 files as you suggested in instructions
after restart i tray on https://whosmatt.github.io/uvmod/ (press patch firmware / flash directy)
At this point with Chrome a kist od usb adress appear, on firefox only a message regarding not installed extensionb , but it's not true !
In console of browser the error is :
ExtensionError: No such native application io.github.kuba2k2.webserial ExtensionUtils.sys.mjs:48:5
ExtensionError resource://gre/modules/ExtensionUtils.sys.mjs:48
startupPromise resource://gre/modules/NativeMessaging.sys.mjs:80
How can i start the webserial service ?
Thanks
Roberto iw2evk

@kuba2k2
Copy link
Owner

kuba2k2 commented Aug 12, 2024

This is not the correct path. It should be ".mozilla", not "firefox". Try using the script installation method that is in the README.

@iw2evk
Copy link
Author

iw2evk commented Aug 12, 2024

Make as suggested..
Error parsing native manifest /home/iw2evk/.mozilla/native-messaging-hosts/io.github.kuba2k2.webserial.json: JSON.parse: unexpected end of data at line 3 column 1 of the JSON data NativeManifests.sys.mjs:98
_tryPath resource://gre/modules/NativeManifests.sys.mjs:98
AsyncFunctionThrow self-hosted:811

My io.github.kuba2k2.webserial.json

{
"name": "io.github.kuba2k2.webserial",
"description": "WebSerial for Firefox",
"path": "/home/iw2evk/mozilla/native-messaging-hosts/firefox-webserial",
"type": "stdio",
"allowed_extensions": ["webserial@kuba2k2.github.io"]
}

My path :
/home/iw2evk/mozilla/native-messaging-hosts

Nothing to do .

@reedstrm
Copy link

reedstrm commented Sep 8, 2024

Did you remember to chmod +x firefox-webserial to make it executable? I just installed on 24.01.1 LTS and I missed that. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants