Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661340 - dev-python/carbon logging broken with py3 and >=dev-python/twisted-17
Summary: dev-python/carbon logging broken with py3 and >=dev-python/twisted-17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-16 18:33 UTC by Daniel M. Weeks
Modified: 2018-07-22 16:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2018-07-16 18:33:32 UTC
Carbon logs are blank when using python 3 and >=dev-python/twisted-17.

See:

* https://github.com/graphite-project/carbon/issues/749
* https://github.com/graphite-project/carbon/pull/774
* https://github.com/graphite-project/carbon/commit/712f9aeca396be153e6d278ba6f6c144c2097d9c

I would recommend either masking 

Reproducible: Always
Comment 1 Daniel M. Weeks 2018-07-16 18:34:51 UTC
I would recommend either masking python3 until a new version is released or pulling in the patch linked patch if possible. Currently if py3 is the system default carbon will silently fail (quite annoying).
Comment 2 Daniel M. Weeks 2018-07-16 18:42:07 UTC
Also, as a workaround, one can add the following to /etc/conf.d/carbon-cache and restart carbon-cache:

export EPYTHON=python2.7
Comment 3 Fabian Groffen gentoo-dev 2018-07-22 14:56:35 UTC
I think backporting the r+ -> rb+ change will be simple and sufficient for now.
Comment 4 Larry the Git Cow gentoo-dev 2018-07-22 16:46:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a824c0b9ad84ae44e1ba9ab993374b2c20ef583d

commit a824c0b9ad84ae44e1ba9ab993374b2c20ef583d
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2018-07-22 16:45:19 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2018-07-22 16:45:53 +0000

    dev-python/carbon: fix logging with Python 3, bug #661340
    
    Closes: https://bugs.gentoo.org/661340
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/carbon/{carbon-1.1.3.ebuild => carbon-1.1.3-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)