从以下位置获取生成信息的筛选器"Hudson Builds": IOError: Error的事件提供程序HudsonTracPlugin失败:
'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发布于 2013-01-05 07:51:42
你的问题是什么?在我们可以帮助您之前,您需要提供更多信息和一些上下文。仅有一条错误消息不足以解决您的问题。当问题发生时,您正在做什么?这在过去行得通吗?最近是否有任何更改/升级?
从我猜你在问什么,你可能会发现这张trac-hacks标签中的讨论很有用:Ticket #7340 - Authentication failing。
此外,请仔细检查您的插件设置,并验证所有参数设置是否正确(特别是'job_url')。这个错误看起来像是在获取RSS提要,而不是其他格式。你的网址中有"/rssAll/“,所以你得到一个RSS是有意义的。很可能,您的job_url是错误的。有关如何配置插件的详细信息,请参阅the official HudsonTrac documentation。
https://stackoverflow.com/questions/14154488
复制相似问题