Bug 1508546 - ImportError: cannot import name patterns
Summary: ImportError: cannot import name patterns
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: graphite-web
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Piotr Popieluch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-01 16:07 UTC by Matej
Modified: 2017-11-28 23:46 UTC (History)
3 users (show)

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:
Clone Of:
Environment:
Last Closed: 2017-11-28 16:19:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
python stacktrace (3.35 KB, text/plain)
2017-11-01 16:07 UTC, Matej
no flags Details
graphite log file: missing scandir (5.03 KB, text/plain)
2017-11-08 07:43 UTC, Matej
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.