Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22059 - [cherokee] can't find python
Attached to Project:
Community Packages
Opened by Filipp Andjelo (scorp) - Saturday, 11 December 2010, 21:21 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 15 December 2010, 22:50 GMT
Opened by Filipp Andjelo (scorp) - Saturday, 11 December 2010, 21:21 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 15 December 2010, 22:50 GMT
|
DetailsDescription:
Can't configure cherokee WebServer since cherokee-admin is searching for python2 under the name python, which is python3 since the switch to python3. Additional info: * cherokee-1.0.13-1 Steps to reproduce: run 'cherokee-admin-launcher' or 'cherokee-admin' |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 15 December 2010, 22:50 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.0.14-2.
Wednesday, 15 December 2010, 22:50 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.0.14-2.
However, cherokee-admin-launcher does indeed need to be fixed to use python2. I'll fix that tomorrow. :)
$ cherokee-admin
env: python: No such file or directory
ERROR: Couldn't find python.
$ pacman -Ql cherokee | xargs grep python 2>/dev/null | grep bin | grep usr
$ pacman -Ql cherokee | xargs grep python 2>/dev/null | grep usr | grep bin
/usr/bin/CTK-run:#!/usr/bin/env python2
/usr/bin/CTK-run:# -*- Mode: python; coding: utf-8 -*-
/usr/bin/CTK-run: 'source!1!interpreter = python %s' %(app_file_path))
/usr/bin/CTK-run:mime!application/x-python-code!extensions = pyc,pyo
/usr/bin/CTK-run:mime!text/x-python!extensions = py
/usr/bin/cherokee-admin-launcher:#!/usr/bin/env python2
/usr/bin/cherokee-admin-launcher:# -*- coding: utf-8; mode: python -*-
/usr/bin/cherokee-tweak:#!/usr/bin/env python2
/usr/bin/cherokee-tweak:# -*- coding: utf-8; mode: python -*-
Binary file /usr/sbin/cherokee-admin matches <---------- This fails, but it's binary! May be hardcoded line the sources?
/usr/share/cherokee/admin/server.py:#!/usr/bin/env python2
/usr/share/cherokee/admin/upgrade_config.py:#!/usr/bin/env python2
/usr/share/doc/cherokee/cookbook_dbslayer.html:<pre><tt>#!/usr/bin/env python
cherokee/main_admin.c:499:
char *const args[] = {"env", "python", "-c", "raise SystemExit", NULL};
I'll make a patch and give it a try.
Thanks for the patch and updated PKGBUILD. I chose to use a sed command in the PKGBUILD, which does the same thing. If you can confirm that the bug is resolved in cherokee-1.0.14-2, which I just pushed to [community], I'll go ahead and close this bug report.
Regarding your last question, only TUs have commit access to the repository and push access to [community].
I think you can close this bug report now, thank you for your help.