Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666736 - app-admin/diamond-4.0.515: please stabilise
Summary: app-admin/diamond-4.0.515: please stabilise
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2018-09-22 01:30 UTC by Thomas Capricelli
Modified: 2019-06-21 11:07 UTC (History)
1 user (show)

See Also:
Package list:
app-admin/diamond-4.0.515
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2018-09-22 01:30:46 UTC
Current stable is 4.0-r1, which, when installed with default config file, can't be started : 

verdi /etc/diamond # tail /var/log/diamond/diamond.log  -f -n 100
[2018-09-22 03:23:58,338] [MainThread] Changed UID: 0 () GID: 0 ().
[2018-09-22 03:23:58,366] [MainThread] Detaching Process.
[2018-09-22 03:24:01,037] [MainThread] Unhandled exception: 'list' object has no attribute 'split'
[2018-09-22 03:24:01,038] [MainThread] traceback: Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/diamond", line 291, in main
    server.run()
  File "/usr/lib64/python2.7/site-packages/diamond/server.py", line 96, in run
    handlers = handlers.split(',')
AttributeError: 'list' object has no attribute 'split'


If is a know error from upstream:
https://github.com/python-diamond/Diamond/issues/49

And there's a two-line patch here:
https://github.com/python-diamond/Diamond/pull/47

I confirm applying this patch allows diamond to start on gentoo.
Comment 1 Fabian Groffen gentoo-dev 2018-09-23 15:06:11 UTC
for completeness, does diamond-4.0.515 work for you?
Comment 2 Fabian Groffen gentoo-dev 2019-06-18 13:18:37 UTC
@arches, please stabilise app-admin/diamond-4.0.515, thanks
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-20 18:06:15 UTC
amd64 stable
Comment 4 Agostino Sarubbo gentoo-dev 2019-06-21 11:07:41 UTC
x86 stable. Closing.