| Summary: | www-apps/radicale-2.1.11-r1 FastCGI and WSGI scripts not shebang-fixed | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christopher Head <bugs> |
| Component: | Current packages | Assignee: | 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: | --- | |
This is still arguably something that ought to be done, but is now less important because Radicale now runs under Python 3. Nel version of radicale is out... could you try and report to me if the bug is still valid? New * sorry, T9 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. |
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.