Bug 1059656 - [abrt] dnf: ini.py:47:<module>:ImportError: No module named six
Summary: [abrt] dnf: ini.py:47:<module>:ImportError: No module named six
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-iniparse
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:33eaa183dc329bfca6fc6734db4...
: 1060190 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-30 10:16 UTC by Anton Ohorodnyk
Modified: 2014-11-10 12:11 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-24 07:48:55 UTC
Type: ---
Embargoed:
anton: fedora_requires_release_note-
anton: needinfo-


Attachments (Terms of Use)
File: backtrace (6.96 KB, text/plain)
2014-01-30 10:16 UTC, Anton Ohorodnyk
no flags Details
File: environ (4.25 KB, text/plain)
2014-01-30 10:16 UTC, Anton Ohorodnyk
no flags Details

Description Anton Ohorodnyk 2014-01-30 10:16:01 UTC
Version-Release number of selected component:
dnf-0.4.12-1.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python /usr/bin/dnf
dso_list:       python-iniparse-0.4-9.fc20.noarch
executable:     /usr/bin/dnf
kernel:         3.12.8-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1003

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/iniparse/ini.py:47
#2 <module> in /usr/lib/python2.7/site-packages/iniparse/__init__.py:6
#3 <module> in /usr/lib/python2.7/site-packages/dnf/yum/config.py:28
#4 <module> in /usr/lib/python2.7/site-packages/dnf/base.py:26
#5 <module> in /usr/lib/python2.7/site-packages/dnf/__init__.py:29
#6 <module> in /usr/bin/dnf:34

Comment 1 Anton Ohorodnyk 2014-01-30 10:16:04 UTC
Created attachment 857419 [details]
File: backtrace

Comment 2 Anton Ohorodnyk 2014-01-30 10:16:06 UTC
Created attachment 857420 [details]
File: environ

Comment 3 Ales Kozumplik 2014-01-30 11:56:55 UTC
Anton, did you use fedup to upgrade your Fedora?

Comment 4 Anton Ohorodnyk 2014-01-30 12:52:18 UTC
No, i'm use fedora upgrade, i read instructions from your wiki

Comment 5 Ales Kozumplik 2014-01-30 13:07:47 UTC
this wiki https://fedoraproject.org/wiki/FedUp ?

what does 'rpm -q six' output?

Comment 6 Anton Ohorodnyk 2014-01-30 13:13:21 UTC
$ rpm -q six
package six is not installed

Comment 7 Anton Ohorodnyk 2014-01-30 13:14:32 UTC
$ rpm -q six
six-0.5.3-21.fc20.x86_64

I installed, but problem not fixed

Comment 8 Ales Kozumplik 2014-01-30 13:17:43 UTC
Sorry, it should be 'rpm -q python-six'

Comment 9 Anton Ohorodnyk 2014-01-30 13:18:52 UTC
$ rpm -q python-six
python-six-1.4.1-1.fc20.noarch

Comment 10 Ales Kozumplik 2014-01-30 15:35:32 UTC
weird, maybe the python-iniparer maintainers will know.

Comment 11 Tim Lauridsen 2014-01-31 05:55:28 UTC
weird, something must be broken in your python installation

Does this work
python -c "from iniparse import INIConfig; cfg=INIConfig();cfg.test.val=1;print cfg.test.val"

what about this one.
python -c "import six; print six.__version__"


try to install pythoon-six:
wget http://download.fedoraprojecct.org/fedora/releases/20/Everything/x86_64/os/Packages/p/python-six-1.4.1-1.fc20.noarch.rpm
sudo rpm -Uvh --replacepkgs python-six-1.4.1-1.fc20.noarch.rpm

Comment 12 Anton Ohorodnyk 2014-01-31 10:03:20 UTC
$ wget http://download.fedoraprojecct.org/fedora/releases/20/Everything/x86_64/os/Packages/p/python-six-1.4.1-1.fc20.noarch.rpm
--2014-01-31 12:02:40--  http://download.fedoraprojecct.org/fedora/releases/20/Everything/x86_64/os/Packages/p/python-six-1.4.1-1.fc20.noarch.rpm
Resolving download.fedoraprojecct.org (download.fedoraprojecct.org)... failed: Name or service not known.
wget: unable to resolve host address ‘download.fedoraprojecct.org’

Can i fix it without custom rpm's?

Comment 13 Zdeněk Pavlas 2014-01-31 10:11:32 UTC
fedoraprojecct
^^^
Try with a single "c".

Comment 14 Anton Ohorodnyk 2014-01-31 10:36:10 UTC
$ wget http://download.fedoraproject.org/fedora/releases/20/Everything/x86_64/os/Packages/p/python-six-1.4.1-1.fc20.noarch.rpm
--2014-01-31 12:35:57--  http://download.fedoraproject.org/fedora/releases/20/Everything/x86_64/os/Packages/p/python-six-1.4.1-1.fc20.noarch.rpm
Resolving download.fedoraproject.org (download.fedoraproject.org)... 209.132.181.16, 67.203.2.67, 140.211.169.197, ...
Connecting to download.fedoraproject.org (download.fedoraproject.org)|209.132.181.16|:80... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
2014-01-31 12:35:58 ERROR 404: NOT FOUND.

Comment 15 Ales Kozumplik 2014-01-31 12:08:29 UTC
*** Bug 1060190 has been marked as a duplicate of this bug. ***

Comment 17 Ales Kozumplik 2014-02-26 07:12:28 UTC
needinfo for comment 16.


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