Products > Test Equipment
Open source lxi-tools and liblxi v1.0 released for GNU/Linux
lundmar:
--- Quote from: dpenev on December 13, 2017, 05:57:41 pm ---Hi lundmar,
I have tested the latest lxi tool v1.15 and screenshot is working fine on my Siglent SSA3021X
A minor note which would be a bit more convenient for me is if I would able to write directly to my share
At the moment I get an error
lxi screenshot -a 192.168.1.61 /share/scr2.bmp
Loaded siglent-ssa3000x screenshot plugin
Error: Could not write screenshot file (No such file or directory)
Thank you for your work.
Dimitar
--- End quote ---
You're welcome. I'm glad we finally have it working.
Yes, an unfortunate consequence of using snap at the moment is that it runs in a security confined environment so writing to anywhere outside of your home directory is denied. I'm told this is something which might be fixed in future versions of snap.
Until then there is a little trick you can do to bypass the confinement:
--- Code: ---$ lxi screenshot -a 10.0.0.42 - | convert - screenshot.png
--- End code ---
This way it is the unconfined convert tool that writes the screenshot file and so you can write anywhere you like.
Actually, you can even skip the convert tool assuming your know the image file format extension:
--- Code: ---$ lxi screenshot -a 10.0.0.42 - > screenshot.png
--- End code ---
ralphrmartin:
Just tried to install this unsuccessfully on debian.
I first installed snap as described, and all went well. I then tried
snap install lxi-tools --edge
and got
error: cannot install "lxi-tools": Get https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
snap install lxi-tools
gives the same result.
Any idea what is up?
Thanks.
lundmar:
--- Quote from: ralphrmartin on December 24, 2017, 04:17:49 pm ---Just tried to install this unsuccessfully on debian.
I first installed snap as described, and all went well. I then tried
snap install lxi-tools --edge
and got
error: cannot install "lxi-tools": Get https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
snap install lxi-tools
gives the same result.
Any idea what is up?
Thanks.
--- End quote ---
I notice that "api/v1/snaps" is involved. I'm not sure but I think recent versions of snap uses snap api v2.
I just installed lxi-tools successfully on Debian 9.3 (Stretch) which uses snap/snapd version 2.29.4.2.
Which Debian and snap version are you using?
EDIT: It looks like snap/snapd is only officially supported on latest stable Debian (Stretch).
ralphrmartin:
I'm using
GNU/Linux testing Stretch
and
snap 2.21-2+b1
I've realised that testing with Stretch is now a bit outdated, so have changed just to testing. Having done that, all seems OK. :-+
Oops, spoke too soon. While snap install worked OK, I now get
bash: lxi: command not found
Am I doing something silly?
ralphrmartin:
OK, so I found the binary: /snap/bin/lxi
But trying to run it as
/snap/bin/lxi
gives
cannot bind-mount the mount namespace file /proc/2556/ns/mnt -> lxi-tools.mnt: Permission denied
support process for mount namespace capture exited abnormally
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version