Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573418

Summary: www-apps/radicale-2.1.11-r1 FastCGI and WSGI scripts not shebang-fixed
Product: Gentoo Linux Reporter: Christopher Head <bugs>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, maksbotan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Head 2016-01-31 01:17:20 UTC
When installing Radicale, /usr/share/radicale/radicale.{fcgi,wsgi} do not have their shebang lines rewritten. I don’t know whether it’s necessary to do that for the WSGI script (I don’t use WSGI and don’t really know anything about how it’s deployed). However, radicale.fcgi can be invoked from spawn-fcgi, which invokes it directly; in this case, rewriting the shebang line is necessary because Radicale is compatible with Python 2 but not 3.
Comment 1 Christopher Head 2020-05-17 16:23:38 UTC
This is still arguably something that ought to be done, but is now less important because Radicale now runs under Python 3.
Comment 2 Marco Scardovi (scardracs) 2021-04-09 17:02:51 UTC
Nel version of radicale is out... could you try and report to me if the bug is still valid?
Comment 3 Marco Scardovi (scardracs) 2021-04-09 17:03:19 UTC
New * sorry, T9
Comment 4 Christopher Head 2021-04-14 02:48:47 UTC
radicale.wsgi probably does not need a shebang (and it doesn’t have one), so on that side it’s fine; I believe it’s supposed to be imported by the container, not executed directly. radicale.fcgi seems to have completely disappeared at some point (I had stopped using it since filing this ticket and hadn’t noticed), so I guess this is fine.