trac CGI templates have incorrect #! line
Bug #351580 reported by
Malcolm Scott
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trac (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: trac
14:11:52 1011 mas90@callisto:~$ head -n1 /usr/share/
==> /usr/share/
#!${executable}
==> /usr/share/
#!${executable}
==> /usr/share/
#!${executable}
These should read #!/usr/bin/python or similar.
14:12:02 1012 mas90@callisto:~$ apt-cache policy trac
trac:
Installed: 0.11.1-2.1
Candidate: 0.11.1-2.1
Version table:
*** 0.11.1-2.1 0
500 file: jaunty/universe Packages
100 /var/lib/
To post a comment you must log in.
These shebang lines appear correct:
#!${executable}
They appear in files in Trac's admin/templates directory. The command
trac-admin /path/to/ trac/instance deploy /path/to/deployment
will copy the templates to /path/to/ deployment/ cgi-bin and edit them to reference your Trac instance. Among the edits,
#!${executable}
will be replaced by something appropriate for your system, such as
#!/ usr/bin/ python
The real bug, in my opinion, is that "trac-admin deploy" is poorly documented by Trac. See Trac ticket 6827 for their discussion of this topic: http:// trac.edgewall. org/ticket/ 6827