Discussion:
[Trac] Hudson and the timeline
Roger Oberholtzer
2018-09-14 05:42:23 UTC
Permalink
I have just enabled the Hudson plugin. During the night, Jenkins did
some work. So I expected some information in the Trac timeline.
Instead I got an error:

Event provider HudsonTracPlugin failed for filters "Jenkins":
ValueError: too many values to unpack


I see this in the log:

2018-09-14 07:19:27,891 Trac[web_ui] ERROR: Timeline event provider failed:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/trac/timeline/web_ui.py",
line 197, in process_request
events.append(self._event_data(provider, event))
File "/usr/lib64/python2.7/site-packages/trac/timeline/web_ui.py",
line 372, in _event_data
kind, date, author, data = event
ValueError: too many values to unpack
2018-09-14 07:19:27,897 Trac[main] WARNING: [10.2.10.41]
HTTPInternalError: 500 Trac Error (<p class="message">Event provider
<code>HudsonTracPlugin</code> failed for filters "Jenkins":
<strong>ValueError: too many values to unpack</strong></p><p>You may
want to see the <a
href="/systems/timeline?changeset=on&amp;repo-rsoft_profile=on&amp;repo-rsoft_mca=on&amp;repo-piafmisc=on&amp;repo-package_w32=on&amp;repo-rsoft_rics=on&amp;repo-tools_win32=on&amp;repo-piaf_library=on&amp;repo-rsoft_development=on&amp;repo-tools_gige=on&amp;repo-tools_trimble=on&amp;repo-rsoft_gps=on&amp;repo-dover=on&amp;milestone=on&amp;repo-tools_sick=on&amp;ticket=on&amp;repo-tools_obs=on&amp;repo-rsoft_planning=on&amp;wiki=on&amp;repo-rsoft_diskless=on&amp;repo-analysis=on&amp;repo-rsoft_postprocessing=on&amp;repo-tools_raspberry=on&amp;repo-rsoftmisc=on&amp;repo-tools_h6042=on&amp;repo-rsoft_library=on&amp;repo-tools_os9=on&amp;repo-piaf_vme=on&amp;repo-tools_spoton=on&amp;repo-rsoft_rdt=on&amp;tags=on&amp;repo-tools_ipa=on&amp;repo-tools_ipe=on&amp;repo-rsoft_documentation=on&amp;repo-rsoft_presentation=on&amp;repo-rsoft_inventory=on&amp;repo-tools_flir=on&amp;repo-tools_limab=on&amp;repo-systems=on&amp;repo-source=on&amp;repo-rsoft_dataaccess=on&amp;repo-rsoft_opensource=on&amp;repo-tools_xkeys=on&amp;repo-piaf_piaf=on&amp;repo-piaf_hybrid=on&amp;repo-tools_lmi=on&amp;repo-rsoft_statistics=on&amp;repo-undigested=on&amp;repo-tools_ipp=on&amp;repo-tools_ino=on&amp;repo-rt_graphics=on&amp;repo-tools_android=on&amp;repo-tools_linux=on&amp;repo-package=on&amp;repo-tools_virtualbox=on&amp;repo-rsoft_spoton=on&amp;repo-rsoft_test=on&amp;repo-pavementengineering=on&amp;repo-tools_delta=on&amp;repo-tools_spc2=on&amp;repo-man=on&amp;repo-rsoft_rmt=on&amp;repo-tools_gui=on&amp;repo-bitmaps=on&amp;repo-package_linux=on&amp;repo-tools_pps=on&amp;repo-rsoft_map=on&amp;repo-piaf_runtime=on&amp;repo-rsoft_convert=on&amp;repo-customers=on&amp;repo-rsoft_realtime=on&amp;ticket_details=on&amp;repo-confidencia=on&amp;repo-rsoft_aies=on&amp;repo-tools_oxts=on&amp;discussion=on&amp;repo-piaf_development=on&amp;repo-rsoft_pds=on&amp;repo-rsoft_svr5=on&amp;repo-tools_aies=on&amp;repo-researchanddevelopment=on&amp;repo-rsoft_license=on&amp;downloads=on&amp;repo-=on&amp;repo-webtp3=on&amp;repo-rsoft_sas=on&amp;repo-pln_runtime=on&amp;repo-rsoft_linux=on&amp;repo-rsoft_ants=on&amp;repo-tools_phidgets=on&amp;repo-rsoft_runtime=on&amp;repo-tools_diskless=on">other
kinds of events</a> from the Timeline or notify your Trac
administrator about the error (detailed information was written to the
log).</p>), <RequestWithSession "GET '/timeline'">, referrer
'http://sto-opq-src.scc.se/systems'

I do have all these repos in Trac. But I don't see what they have to
do with a notice from Jenkins. Jenkins does not have the names as
shown. So they are being generated by Trac.
--
Roger Oberholtzer
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Jun Omae
2018-09-15 16:24:26 UTC
Permalink
Hi,

On Fri, Sep 14, 2018 at 2:42 PM Roger Oberholtzer
Post by Roger Oberholtzer
I have just enabled the Hudson plugin. During the night, Jenkins did
some work. So I expected some information in the Trac timeline.
ValueError: too many values to unpack
File "/usr/lib64/python2.7/site-packages/trac/timeline/web_ui.py",
line 197, in process_request
events.append(self._event_data(provider, event))
File "/usr/lib64/python2.7/site-packages/trac/timeline/web_ui.py",
line 372, in _event_data
kind, date, author, data = event
ValueError: too many values to unpack
It seems https://trac-hacks.org/svn/hudsontracplugin/0.10/ is used.
Try https://trac-hacks.org/svn/hudsontracplugin/1.2/ rather than 0.10/.


--
Jun Omae <***@gmail.com> (大前 潤)
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Roger Oberholtzer
2018-09-17 06:21:30 UTC
Permalink
Post by Jun Omae
It seems https://trac-hacks.org/svn/hudsontracplugin/0.10/ is used.
Try https://trac-hacks.org/svn/hudsontracplugin/1.2/ rather than 0.10/.
Thanks.

I installed the 1.2 branch from the latest release and the timeline is
happy. If I could just say the same for my Jenkins builds... :)
--
Roger Oberholtzer
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Loading...