Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 480164

Summary: sys-apps/paludis-1.4.0 playman broken
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: [OLD] Core systemAssignee: Jeff (JD) Horelick (RETIRED) <jdhore>
Status: RESOLVED FIXED    
Severity: normal CC: levertond
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harris Landgarten 2013-08-07 15:49:59 UTC
playman no longer works.

$ playman -l
Couldn't open repositories.xml.
#<REXML::ParseException: Missing end tag for 'hr' (got "body")
Line: 12
Position: 430
Last 80 unconsumed characters:
>
/usr/lib64/ruby/1.9.1/rexml/parsers/baseparser.rb:335:in `pull_event'
/usr/lib64/ruby/1.9.1/rexml/parsers/baseparser.rb:183:in `pull'
/usr/lib64/ruby/1.9.1/rexml/parsers/treeparser.rb:22:in `parse'
/usr/lib64/ruby/1.9.1/rexml/document.rb:245:in `build'
/usr/lib64/ruby/1.9.1/rexml/document.rb:43:in `initialize'
/usr/bin/playman:161:in `new'
/usr/bin/playman:161:in `<main>'
...
Missing end tag for 'hr' (got "body")
Line: 12
Position: 430
Last 80 unconsumed characters:

Line: 12
Position: 430
Last 80 unconsumed characters:
["/usr/lib64/ruby/1.9.1/rexml/parsers/treeparser.rb:95:in `rescue in parse'", "/usr/lib64/ruby/1.9.1/rexml/parsers/treeparser.rb:20:in `parse'", "/usr/lib64/ruby/1.9.1/rexml/document.rb:245:in `build'", "/usr/lib64/ruby/1.9.1/rexml/document.rb:43:in `initialize'", "/usr/bin/playman:161:in `new'", "/usr/bin/playman:161:in `<main>'"]

seems that either the format of repositories.xml on api.gentoo.org has changed or something is different about REXML/* from the latest ruby:1.9
Comment 1 David Leverton 2013-08-08 19:01:54 UTC
The repositories.xml file was moved and Ruby's Net::HTTP doesn't follow the redirect, so the error is a result of trying to parse the Apache response body as XML.  Fixed in git at http://git.exherbo.org/paludis/paludis.git/commit/?id=5dcbfdc11cd87a7ffe41e736f782955e0b9eb947 - possibly worth a patch + revbump as I don't think we're planning on doing a release soon.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-20 09:27:42 UTC
This should be in 1.4.2. Please reopen if the issue persists.