Fails to start after last python2 update:
Traceback (most recent call last):
File "/usr/bin/cplay", line 1810, in <module>
if __name__ == "__main__": main()
File "/usr/bin/cplay", line 1778, in main
app.cleanup()
File "/usr/bin/cplay", line 1532, in cleanup
if self.control.fifocreated:
AttributeError: Application instance has no attribute 'control'
Search Criteria
Package Details: cplay-mplayer 1.49-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2012-12-03)
| Package Base: | cplay-mplayer |
|---|---|
| Description: | A curses audio player patched and customized for use with MPlayer. |
| Upstream URL: | http://www.argafal.de/cgi-bin/index.pl?page=projcplay&nolog=0 |
| Category: | multimedia |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 13 |
| First Submitted: | 2008-12-20 22:59 |
| Last Updated: | 2010-07-18 22:19 |
Required by (0)
Sources
Latest Comments
Comment by scarecrow
Comment by mokkurkalve
So does changing the hashbang to /user/bin/python2
So that would be a very simple patch:
--- /usr/bin/cplay 2010-05-26 16:34:11.000000000 +0200
+++ /usr/bin/cplay 2010-10-19 05:37:49.336667937 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# -*- python -*-
__version__ = "cplay 1.49 mplayer with speed-control and equalizer"
Comment by scarecrow
It's not up to the packager to fix the script, IMO.
"env python2 /usr/bin/cplay" works fine here.
Comment by mokkurkalve
Needs updating to python2 now that python is 3:
File "/usr/bin/cplay", line 666
except re.error, e:
^
SyntaxError: invalid syntax