Open Jorgininho opened 3 years ago
My guess is that you have installed Inkscape as a "snap package". As far as I understand, snap packages are very locked down and can not call outside applications. As far as I understand, you even require special permission to call one snap application from another, and there is no way to launch non-snap applications -- not the best design...
The extension should at least be fixed to include a warning if "/snap/..." is on the PATH and Visicut can not be found.
You can try two workarounds:
sudo apt install inkscape
in the terminal window). However, you will then probably have an older Inkscape version.For Ubuntu (and Distros based on Ubuntu) I recommend to install inkscape via ppa as described here: https://inkscape.org/release/inkscape-1.1.1/gnulinux/ubuntu/ppa/dl/
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape
Hello, thanks for your answer but seems doesn't work for me, What I've done is to clear completely install of Visicut & Inkscape on my computer, to run Inkscape 1.1 as an executable AppImage, then I've installed Visicut 1.9-70 (last available in release of the GIT), all run well on an Ubuntu 20.04.4 LTS
I've tried the same on an Ubuntu 22.04.1 LTS, but got the following error message when I try to use Visicut extension via Inkscape :
/tmp/.mount_InkscaHVklmq/usr/bin/python3.8: can't open file 'visicut_export.py': [Errno 2] No such file or directory
A newer VisiCut version is available via https://download.visicut.org/ .
Please try the basic case of installing Inkscape via the standard way (technically as a DEB package via APT), not anything special like Appimage or snap.
I'm not sure why your Inkscape finds the extension menu entry (.inx file) but not the corresponding .py file. You could have a look at the user and system extension directory, if the files are there, and if the content is readable with some text editing program. These paths are shown in Inkscape: Edit - Preferences - System - (User) extensions.
So I've installed Inkscape vi command line
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape
then installed the last package of visicut
sudo apt install ./visicut_1.9-142-gc05b03f5-1_all.deb
Then I've run the install of the extension via Visicut
So when I try to use the extension I got the following error message :
/usr/bin/python3: can't find '__main__' module in '/home/bocal/.'
(bocal is the username)
the 4 extension files are present in the exentension folder
I can read all of them with a text editor. noticing that the option "add in visicut" && "open in visicut" extension in inkscape appears twice
I tried the same and it works, both with Inkscape 1.1 and 1.2:
Please try to clean your user extension directory. Probably you have an old broken version of the extension in it.
With the snap version of Inkscape, visicut doesn't even install the extension into the right directory, so the extension is not found. But the extension does not work anyway. We should add a warning message in Visicut -- check if which inkscape
starts with /snap/
and then inform the user that "snap" is currently not supported. (edit: upstream bug: https://gitlab.com/inkscape/inkscape/-/issues/2490 )
We have the following problems:
So for now there's nothing we can do except detect the situation and show some instructions for a workaround.
Hello,
I'm working on a fresh install of inkscape and visicut, but the export from inkscape to visicut via extension menu doesn't seems to be working. Here is the configuration : OS : Ubuntu 20.04.3 LTS Inkscape : 1.1 Visicut : 1.9-102
When I try to export a design from inkscape to visicut, i get this :
I don't see how to apply the quick fix solution, since the executable are indeed present in the mentioned folders
Thanks