[email protected]
[Top] [All Lists]

Bug#479112: marked as forwarded (ValueError: universal newline mode can

Subject: Bug#479112: marked as forwarded ValueError: universal newline mode can only be used with modes starting with 'r'
From: Debian Bug Tracking System
Date: Sat, 03 May 2008 07:54:04 +0000
Your message dated Sat, 03 May 2008 09:32:53 +0200
with message-id <[email protected]>
has caused the   report #479112,
regarding ValueError: universal newline mode can only be used with modes 
starting with 'r'
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
479112: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479112
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Bug#479112: ValueError: universal newline mode can only be used with modes starting with 'r'
From: Kjell Braden
Date: Sat, 03 May 2008 09:32:53 +0200
Package: quodlibet-plugins
Version: 20080329-1
User: [email protected]
Usertags: origin-ubuntu intrepid ubuntu-patch

(this has been initially reported by lazka to ubuntu at:
https://bugs.launchpad.net/bugs/87188)

Both the "Export Metadata" and "Export HTML" plugins don't work at all
because they throw the following exception:

-- snip --
Traceback (most recent call last):
  File "/usr/share/quodlibet/plugins/songsmenu.py", line 149, in
__handle
    try: ret = map(plugin.plugin_album, albums)
  File "/usr/share/quodlibet/plugins/songsmenu/importexport.py", line
54, in plugin_album
    out = open(fn, 'wU')
ValueError: universal newline mode can only be used with modes starting
with 'r'
-- snip --

The message basicly explains the solution: remove the U in the mode in
songsmenu/importexport.py and songsmenu/html.py. I've attached a patch
which fixes this trivial issue.

Thanks,
Kjell

Attachment: 02_remove-universal-newline-mode
Description: Text Data


--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#479112: marked as forwarded (ValueError: universal newline mode can only be used with modes starting with 'r'), Debian Bug Tracking System <=