Bug 1508546

Summary: ImportError: cannot import name patterns
Product: [Fedora] Fedora Reporter: Matej <m>
Component: graphite-webAssignee: Piotr Popieluch <piotr1212>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jamielinux, jonathansteffan, piotr1212
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: graphite-web-1.0.2-1.fc26 graphite-web-1.0.2-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 16:19:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
python stacktrace
none
graphite log file: missing scandir none

Description Matej 2017-11-01 16:07:25 UTC
Created attachment 1346607 [details]
python stacktrace

Description of problem:

web application doesn't start

Version-Release number of selected component (if applicable):

0.10.0 0.2.rc1.fc26

How reproducible:

always

Steps to Reproduce:
1. start httpd
2. browse http://localhost

Actual results:

Internal Server Error

Expected results:

running graphite web application

Additional info:

see attached python stacktrace from /var/log/httpd/graphite-web-error.log

Comment 1 Fedora Update System 2017-11-06 10:56:09 UTC
graphite-web-1.0.2-1.fc27 python-whisper-1.0.2-1.fc27 python-carbon-1.0.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fe257bae3d

Comment 2 Piotr Popieluch 2017-11-06 11:02:54 UTC
There was a Django version incompatibility. Updated packages to 1.0.2 which should work with current Django. (not tested yet).

https://bodhi.fedoraproject.org/updates/FEDORA-2017-b8e6952942

Comment 3 Fedora Update System 2017-11-06 21:14:54 UTC
graphite-web-1.0.2-1.fc27, python-carbon-1.0.2-1.fc27, python-whisper-1.0.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-fe257bae3d

Comment 4 Fedora Update System 2017-11-07 00:11:52 UTC
graphite-web-1.0.2-1.fc26, python-carbon-1.0.2-1.fc26, python-whisper-1.0.2-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b8e6952942

Comment 5 Matej 2017-11-08 07:43:14 UTC
Created attachment 1349299 [details]
graphite log file: missing scandir

There is missing python2-scandir.x86_64 dependency, but after:

sudo dnf install python2-scandir.x86_64

the graphite server starts. I haven't tested it further.

Comment 6 Fedora Update System 2017-11-28 16:19:40 UTC
graphite-web-1.0.2-1.fc26, python-carbon-1.0.2-1.fc26, python-whisper-1.0.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-11-28 23:46:54 UTC
graphite-web-1.0.2-1.fc27, python-carbon-1.0.2-1.fc27, python-whisper-1.0.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.