2013-01-04 206 views
0

事件提供HudsonTracPlugin失敗過濾器"Hudson Builds": IOError: Error得到建立從信息:哈德森Trac的

'http://localhost:8080/hudson/rssAll/api/python?tree=jobs[builds[building,timestamp,duration,result,description,url,fullDisplayName]]': URLError: <urlopen error [Errno 10061] >

這很可能意味着您配置了錯誤的job_url,用戶名或密碼。

Event provider HudsonTracPlugin failed for filters "Hudson Builds": IOError: Error getting build info from 'http://localhost:8080/hudson/rssAll/api/python?tree=jobs[builds[building,timestamp,duration,result,description,url,fullDisplayName]]': returned document has unexpected type 'application/atom+xml' (expected 'text/x-python'). The returned text is: <?xml version="1.0" encoding="UTF-8"?> 

<feed xmlns="http://www.w3.org/2005/Atom"> 
    <title>All all builds</title> 
    <link type="text/html" href="http://localhost:8080/hudson/" rel="alternate"/> 
    <updated>2013-01-04T09:04:56Z</updated> 
    <author> 
    <name>Hudson Server</name> 
    </author> 
    <id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id> 
    <entry> 
     <title>tractest12github #9 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/9/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-04_18-04-56</id> 
     <published>2013-01-04T09:04:56Z</published> 
     <updated>2013-01-04T09:04:56Z</updated> 
    </entry> 
    <entry> 
     <title>tractest #6 (stable)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest/6/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest:2013-01-04_18-04-50</id> 
     <published>2013-01-04T09:04:50Z</published> 
     <updated>2013-01-04T09:04:50Z</updated> 
    </entry> 
    <entry> 
     <title>tractest12github #8 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/8/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-04_17-52-54</id> 
     <published>2013-01-04T08:52:54Z</published> 
     <updated>2013-01-04T08:52:54Z</updated> 
    </entry> 
    <entry> 
     <title>tractest #5 (stable)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest/5/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest:2013-01-04_17-52-53</id> 
     <published>2013-01-04T08:52:53Z</published> 
     <updated>2013-01-04T08:52:53Z</updated> 
    </entry> 
    <entry> 
     <title>tractest12github #7 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/7/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-04_17-52-06</id> 
     <published>2013-01-04T08:52:06Z</published> 
     <updated>2013-01-04T08:52:06Z</updated> 
    </entry> 
    <entry> 
     <title>tractest12github #6 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/6/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-04_17-51-52</id> 
     <published>2013-01-04T08:51:52Z</published> 
     <updated>2013-01-04T08:51:52Z</updated> 
    </entry> 
    <entry> 
     <title>tractest12github #5 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/5/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-04_17-51-03</id> 
     <published>2013-01-04T08:51:03Z</published> 
     <updated>2013-01-04T08:51:03Z</updated> 
    </entry> 
    <entry> 
     <title>tractest #4 (stable)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest/4/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest:2013-01-04_17-50-58</id> 
     <published>2013-01-04T08:50:58Z</published> 
     <updated>2013-01-04T08:50:58Z</updated> 
    </entry> 
    <entry> 
     <title>tractest #3 (stable)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest/3/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest:2013-01-04_17-50-55</id> 
     <published>2013-01-04T08:50:55Z</published> 
     <updated>2013-01-04T08:50:55Z</updated> 
    </entry> 
    <entry> 
     <title>tractest12github #4 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/4/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-03_17-53-04</id> 
     <published>2013-01-03T08:53:04Z</published> 
     <updated>2013-01-03T08:53:04Z</updated> 
    </entry> 
    <entry> 
     <title>tractest #2 (stable)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest/2/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest:2013-01-03_15-54-59</id> 
     <published>2013-01-03T06:54:59Z</published> 
     <updated>2013-01-03T06:54:59Z</updated> 
    </entry> 
    <entry> 
     <title>tractest12github #3 (broken for a long time)</title> 
     <link type="text/html" href="http://localhost:8080/hudson/job/tractest12github/3/" rel="alternate"/><id>tag:hudson.java.net,2013:tractest12github:2013-01-03_15-54-50</id> 
     <published>2013-01-03T06:54:50Z</published> 
     <updated>2013-01-03T06:54:50Z</updated> 
    </entry> 
    </feed> 

    Hudson3-3-0 
    Trac 1.0 
    HudsonTrac-0.5-py2.7 
    Window7 64 

回答

1

你的問題是什麼?在我們能夠幫助您之前,您需要提供更多信息和一些背景。單單一條錯誤消息是沒有足夠的信息來弄清楚你的問題。問題發生時你在做什麼?這是否在過去工作?最近有沒有更改/升級?

從我猜你在問什麼,你可能會發現這個trac-hacks票的討論很有用:Ticket #7340 - Authentication failing

此外,請檢查您的插件設置並確認所有參數設置正確(尤其是'job_url')。該錯誤看起來像是獲取RSS提要,而不是其他格式。您的網址中包含「/rssAll/」,因此您獲取RSS訂閱源是有道理的。機會是,你的job_url是錯誤的。有關如何配置插件的詳細信息,請參閱the official HudsonTrac documentation