master: extensions inx files in subfolders are detected, py files are not

Bug #1790381 reported by Hachmann on 2018-09-02
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Unassigned

Bug Description

When playing with the new subfolder integration added to master, I found that I can see extensions that are in a subfolder inside my user extensions folder in the menu. However, they do not work, because they cannot find their own py files.

If this access to .inx files in subfolders is an intentional change, they should be looking for their program files in their own folders first.

0.92+devel (14d07e6, 2018-08-17) on Linux Mint 18

Alvin Penner (apenner) wrote :

- problem not reproduced on Windows 10, Inkscape 0.92+devel (d890608, 2018-08-21).
- my user extensions folder is at:
C:\Users\username\AppData\Roaming\inkscape\extensions
- in this folder I have the files: multipledivision.inx and multipledivision.py
- these files are not in the normal inkscape installation folder, but they execute properly.

however I am a bit confused about the 'subfolder integration' phrase. I have not been able to detect any recent changes in this area. Have there been recent changes? when?

Hachmann (marenhachmann) wrote :

Alvin, thanks for testing!

It's not very recent, was done during last Hackfest, as far as I understand - but it wasn't finished.

To reproduce, create a subfolder in C:\Users\username\AppData\Roaming\inkscape\extensions , e.g. C:\Users\username\AppData\Roaming\inkscape\extensions\multipledivision.

Now put the .inx and .py files into that folder. The inx file is found, while the py file is not.

Alvin Penner (apenner) wrote :

- confirmed on Windows 10, Inkscape 0.92+devel (d890608, 2018-08-21)
- I created a new subfolder:
C:\Users\username\AppData\Roaming\inkscape\extensions\testing\
- I moved the files multipledifference.py and .inx into this folder.
- then the extension 'Multiple Difference' no longer showed up in the Inkscape Extension menu
- and I get the DOS error messages:

** (inkscape.exe:7852): WARNING **: 07:27:44.341: Failed to load resource: multipledifference.py from C:\Users\penne_000\AppData\Roaming\inkscape\extensions\multipledifference.py or C:\APP\Temp\inkscape_devel\share\extensions\multipledifference.py

** (inkscape.exe:7852): WARNING **: 07:27:44.341: Failed to load resource: multipledifference.py from C:\Users\penne_000\AppData\Roaming\inkscape\extensions\multipledifference.py or C:\APP\Temp\inkscape_devel\share\extensions\multipledifference.py

Changed in inkscape:
status: New → Confirmed
Mc (mc...) wrote :

doctormon: can you take a look at this, if this still stands?

tags: added: extensions-plugins
Hachmann (marenhachmann) wrote :

Currently, none of my old third-party extensions show up - I don't know if that's due to incompatible inx formats, and is supposed to be like this, or if it's a bug.

I tend to 'bug' because the submenus in the extensions menu are there, but the text is missing when I unfold them (but they do have a specific number of lines, just empty).

So, as of now, it's impossible to test for the above issue.

http://i.imgur.com/FBiqlSJ.png

Changed in inkscape:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers