Residing interpreter line disabling entire script

Bug #852018 reported by Johan Rosenkilde
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JessyInk
Fix Committed
High
Hannes Hochreiner

Bug Description

The entire JessyInk script is disabled when creating an SVG with a standard Ubuntu and Inkscape installation. This seems to be due to a residing interpreter line right after the opening script block:
"<script
     id="JessyInk"
     ns1:version="1.5.5">#!/usr/bin/env js
(...)"
Removing the "#!/usr/bin/env js" makes the SVG work in all my browsers (Firefox and Chromium).

I am running Ubuntu 10.04 and Inkscape 0.48. As can be seen from the above, bundled JessyInk is version 1.5.5.

Related branches

Revision history for this message
Hannes Hochreiner (hannes-hochreiner) wrote :

Thanks for filing this bug. I know about the problem and already talked to the people on the Inkscape developer mailing list. It seems that the line was added during the packaging process for the "deb" package since the absence of a hash-bang line was flagged by an automated check. I believe the issue will be resolved in version 0.48.2 of Inkscape, which has been released a couple of days ago.

Changed in jessyink:
assignee: nobody → Hannes Hochreiner (hannes-hochreiner)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Hannes Hochreiner (hannes-hochreiner) wrote :

Just committed a fix for the problem in the form of a guard clause that comments out the hash bang lines in js files if present.

Changed in jessyink:
status: In Progress → Fix Committed
Changed in jessyink:
milestone: none → 1.5.6
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.