Package Details: cplay-mplayer 1.49-1

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: GPL2
Submitter: None
Maintainer: None
Last Packager: None
Votes: 13
First Submitted: 2008-12-20 22:59
Last Updated: 2010-07-18 22:19

Dependencies (3)

Required by (0)

Sources

Latest Comments

Comment by scarecrow

2011-03-11 13:23

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'

Comment by mokkurkalve

2010-10-19 12:49

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

2010-10-19 09:20

It's not up to the packager to fix the script, IMO.
"env python2 /usr/bin/cplay" works fine here.

Comment by mokkurkalve

2010-10-19 03:07

Needs updating to python2 now that python is 3:

File "/usr/bin/cplay", line 666
except re.error, e:
^
SyntaxError: invalid syntax