Java 哈德逊与Trac

Java 哈德逊与Trac,java,trac,hudson-plugins,Java,Trac,Hudson Plugins,过滤器的事件提供程序HudsonTracPlugin失败“Hudson Builds”:IOError:Error从以下位置获取生成信息: 'http://localhost:8080/hudson/rssAll/api/python?tree=jobs[构建[构建,时间戳,持续时间,结果,描述,url,fullDisplayName]':URLRERROR: 这很可能意味着您配置了错误的作业url、用户名或密码 Event provider HudsonTracPlugin faile

过滤器的事件提供程序HudsonTracPlugin失败
“Hudson Builds”:IOError:Error
从以下位置获取生成信息:

'http://localhost:8080/hudson/rssAll/api/python?tree=jobs[构建[构建,时间戳,持续时间,结果,描述,url,fullDisplayName]':URLRERROR:

这很可能意味着您配置了错误的作业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
过滤器“Hudson Builds”的事件提供程序HudsonTracPlugin失败:IOError:从中获取构建信息时出错'http://localhost:8080/hudson/rssAll/api/python?tree=jobs[builds[building,timestamp,duration,result,description,url,fullDisplayName]]:返回的文档具有意外的类型“application/atom+xml”(应为“text/x-python”)。返回的文本是:
所有构建
2013-01-04T09:04:56Z
哈德逊服务器
urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66
拖拉机12Github#9(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-04_18-04-56
2013-01-04T09:04:56Z
2013-01-04T09:04:56Z
牵引力测试#6(稳定)
标签:hudson.java.net,2013:tractest:2013-01-04_18-04-50
2013-01-04T09:04:50Z
2013-01-04T09:04:50Z
拖拉机12Github#8(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-04_17-52-54
2013-01-04T08:52:54Z
2013-01-04T08:52:54Z
牵引力测试5(稳定)
标签:hudson.java.net,2013:tractest:2013-01-04_17-52-53
2013-01-04T08:52:53Z
2013-01-04T08:52:53Z
拖拉机12Github#7(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-04_17-52-06
2013-01-04T08:52:06Z
2013-01-04T08:52:06Z
拖拉机12Github#6(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-04_17-51-52
2013-01-04T08:51:52Z
2013-01-04T08:51:52Z
拖拉机12Github#5(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-04_17-51-03
2013-01-04T08:51:03Z
2013-01-04T08:51:03Z
牵引力测试4(稳定)
标签:hudson.java.net,2013:tractest:2013-01-04_17-50-58
2013-01-04T08:50:58Z
2013-01-04T08:50:58Z
拖拉机测试#3(稳定)
标签:hudson.java.net,2013:tractest:2013-01-04_17-50-55
2013-01-04T08:50:55Z
2013-01-04T08:50:55Z
拖拉机12Github#4(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-03_17-53-04
2013-01-03T08:53:04Z
2013-01-03T08:53:04Z
牵引测试2(稳定)
标签:hudson.java.net,2013:tractest:2013-01-03_15-54-59
2013-01-03T06:54:59Z
2013-01-03T06:54:59Z
拖拉机12Github#3(长时间损坏)
标签:hudson.java.net,2013:tractest12github:2013-01-03_15-54-50
2013-01-03T06:54:50Z
2013-01-03T06:54:50Z
哈德逊3-3-0
Trac 1.0
HudsonTrac-0.5-py2.7
窗口7 64

你的问题是什么?在我们帮助您之前,您需要提供更多信息和一些上下文。仅一条错误消息不足以解决问题。问题发生时你在做什么?这在过去有用吗?最近有什么变化/升级吗

从我猜你在问什么,你可能会发现这个trac黑客票证中的讨论很有用:

此外,再次检查插件设置,并验证所有参数都设置正确(尤其是“
job\u url
”)。该错误看起来像是在获取RSS提要,而不是其他格式。您的URL中有“
/rssAll/
”,因此您获得RSS提要是有意义的。你的
工作url
可能是错误的。有关如何配置插件的详细信息,请参阅