Hello
LP bug #602005 says that Lintian complains about our Python extensions. They are marked as executable but don't have a shebang line. Leo added the shebangs but I think this is wrong. Those scripts are not meant to be executed directly by the user, only by the Python interpreter started by Inkscape. The proper solution is to mark the extension scripts non-executable. It will not prevent executing them by the Python interpreter, it will only prevent the user from accidentally running them as standalone programs and suppress the warnings.
Regards, Krzysztof
On 07/24/2010 04:22 PM, Krzysztof Kosiński wrote:
LP bug #602005 says that Lintian complains about our Python extensions. They are marked as executable but don't have a shebang line. Leo added the shebangs but I think this is wrong. Those scripts are not meant to be executed directly by the user, only by the Python interpreter started by Inkscape. The proper solution is to mark the extension scripts non-executable. It will not prevent executing them by the Python interpreter, it will only prevent the user from accidentally running them as standalone programs and suppress the warnings.
I disagree. There is no reason I can think of for these scripts not to be executed directly by the user. I believe the shebangs should be added. In the case of the scripts I authored they were originally omitted due to my inexperience and being developed on windows.
Aaron Spike
2010/7/24 Krzysztof Kosiński <tweenk.pl@...400...>:
LP bug #602005 says that Lintian complains about our Python extensions. They are marked as executable but don't have a shebang line. Leo added the shebangs but I think this is wrong. Those scripts are not meant to be executed directly by the user, only by the Python interpreter started by Inkscape.
Do they in any way hamper the Inkscape operation? If not I see no harm in them. Even if not "meant" to be run standalone, they can, and someone may well use it. Given that they are deep inside the folder hierarchy, I don't think there's any danger of anyone running them accidentally.
participants (3)
-
Aaron Spike
-
bulia byak
-
Krzysztof Kosiński