[SOLVED]No Module named Six

I got this error when starting deluge. Don't remember doing anything to deluge. Seems to have just broke. I guess that happens magically. Anyway, here's the error:
[ERROR ] 23:27:46 ui:168 No module named six
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/ui.py", line 149, in __init__
from deluge.ui.gtkui.gtkui import GtkUI
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
from gtkui import start
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 75, in <module>
from deluge.ui.client import client
File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 37, in <module>
from twisted.internet import reactor, ssl, defer
File "/usr/lib/python2.7/site-packages/twisted/internet/ssl.py", line 25, in <module>
from OpenSSL import SSL
File "/usr/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/site-packages/OpenSSL/rand.py", line 9, in <module>
from six import integer_types as _integer_types
ImportError: No module named six
[ERROR ] 23:27:46 ui:169 There was an error whilst launching the request UI: gtk
[ERROR ] 23:27:46 ui:170 Look at the traceback above for more information.
Literally, the only searches that exist, anywhere, in the massive realm of Google are searches pertaining to a similar problem. Every single one of those links is about libtorrent instead of six though. Tried downgrading, tried reinstalling but nothing works.
EDIT: How embarrassing. I just upgraded my system. Seems I just need to do that one more time. Sorry.
Last edited by xworld (2014-03-15 04:33:15)

$ pacman -Qkk python2-six python2 calibre
python2-six: 12 file totali, 0 file alterati
python2: 4716 file totali, 0 file alterati
calibre: 4881 file totali, 0 file alterati
$ python2
Python 2.7.9 (default, Dec 11 2014, 05:36:55)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.__file__
'/usr/lib/python2.7/site-packages/six/__init__.pyc'
>>>
$ ls -l /usr/lib/python2.7/site-packages/six/
totale 84
-rw-r--r-- 1 root root 58 22 mar 2014 __init__.py
-rw-r--r-- 1 root root 236 28 nov 21.06 __init__.pyc
-rw-r--r-- 1 root root 236 28 nov 21.06 __init__.pyo
-rw-r--r-- 1 root root 20588 22 mar 2014 six.py
-rw-r--r-- 1 root root 20739 28 nov 21.06 six.pyc
-rw-r--r-- 1 root root 20739 28 nov 21.06 six.pyo
Last edited by quellen (2015-05-17 12:28:15)

Similar Messages

  • [Solved] No module named parse- python errors as own user

    A number of applications on my system (wicd and turpial, among others) return python errors when I run them as my own user. I can run these applications as root with no errors, so I'm not missing any packages. The most common of these errors, appearing when I run applications like turpial and hotot looks like this:
    ➤ turpial
    Traceback (most recent call last):
    File "/usr/bin/turpial", line 5, in <module>
    from pkg_resources import load_entry_point
    File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 17, in <module>
    from urllib.parse import urlparse, urlunparse
    ImportError: No module named parse
    When I run wicd-curses:
    ➤ wicd-curses
    Traceback (most recent call last):
    File "/usr/share/wicd/curses/wicd-curses.py", line 44, in <module>
    from dbus import DBusException
    File "/usr/lib/python3.3/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
    File "/usr/lib/python3.3/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
    ImportError: /usr/lib/python3.3/site-packages/_dbus_bindings.so: undefined symbol: PyBytes_Type
    Again, both applications mentioned here work fine when run as root. It should also be noted that I only installed turpial after already witnessing this error with hotot-gtk3-git. Has anyone seen this before, or have any idea how to start troubleshooting it?
    Thanks.
    EDIT: It was a Pythonpath issue.
    Last edited by apurplermixture (2013-04-24 00:55:28)

    Thank you! That worked

  • [SOLVED] calibre fails to start (python2-six: No module named moves )

    i have same problem with last calibre (2.28.0-1):
    $ calibre
    Traceback (most recent call last):
    File "/usr/lib/calibre/calibre/gui2/ui.py", line 226, in initialize
    ac.do_genesis()
    File "/usr/lib/calibre/calibre/gui2/actions/__init__.py", line 143, in do_genesis
    self.genesis()
    File "/usr/lib/calibre/calibre/gui2/actions/add.py", line 82, in genesis
    from calibre.ebooks.oeb.polish.create import valid_empty_formats
    File "/usr/lib/calibre/calibre/ebooks/oeb/polish/create.py", line 18, in <module>
    from calibre.ebooks.oeb.polish.parsing import parse
    File "/usr/lib/calibre/calibre/ebooks/oeb/polish/parsing.py", line 15, in <module>
    from html5lib.constants import namespaces, tableInsertModeElements, EOF
    File "/usr/lib/python2.7/site-packages/html5lib/__init__.py", line 16, in <module>
    from .html5parser import HTMLParser, parse, parseFragment
    File "/usr/lib/python2.7/site-packages/html5lib/html5parser.py", line 6, in <module>
    from . import inputstream
    File "/usr/lib/python2.7/site-packages/html5lib/inputstream.py", line 3, in <module>
    from six.moves import http_client
    ImportError: No module named moves
    $ calibre-debug -g
    calibre 2.28 isfrozen: False is64bit: False
    Linux-4.0.1-1-ARCH-i686-with-glibc2.0 Linux ('32bit', 'ELF')
    ('Linux', '4.0.1-1-ARCH', '#1 SMP PREEMPT Wed Apr 29 12:15:20 CEST 2015')
    Python 2.7.9
    Linux: ('', '', '')
    Starting up...
    Traceback (most recent call last):
    File "/usr/lib/calibre/calibre/gui2/ui.py", line 226, in initialize
    ac.do_genesis()
    File "/usr/lib/calibre/calibre/gui2/actions/__init__.py", line 143, in do_genesis
    self.genesis()
    File "/usr/lib/calibre/calibre/gui2/actions/add.py", line 82, in genesis
    from calibre.ebooks.oeb.polish.create import valid_empty_formats
    File "/usr/lib/calibre/calibre/ebooks/oeb/polish/create.py", line 18, in <module>
    from calibre.ebooks.oeb.polish.parsing import parse
    File "/usr/lib/calibre/calibre/ebooks/oeb/polish/parsing.py", line 15, in <module>
    from html5lib.constants import namespaces, tableInsertModeElements, EOF
    File "/usr/lib/python2.7/site-packages/html5lib/__init__.py", line 16, in <module>
    from .html5parser import HTMLParser, parse, parseFragment
    File "/usr/lib/python2.7/site-packages/html5lib/html5parser.py", line 6, in <module>
    from . import inputstream
    File "/usr/lib/python2.7/site-packages/html5lib/inputstream.py", line 3, in <module>
    from six.moves import http_client
    ImportError: No module named moves
    $ ebook-edit
    Traceback (most recent call last):
    File "/usr/bin/ebook-edit", line 20, in <module>
    sys.exit(ebook_edit())
    File "/usr/lib/calibre/calibre/gui_launch.py", line 83, in ebook_edit
    main(args)
    File "/usr/lib/calibre/calibre/gui2/tweak_book/main.py", line 76, in main
    _run(args)
    File "/usr/lib/calibre/calibre/gui2/tweak_book/main.py", line 51, in _run
    from calibre.gui2.tweak_book.ui import Main
    File "/usr/lib/calibre/calibre/gui2/tweak_book/ui.py", line 28, in <module>
    from calibre.gui2.tweak_book.file_list import FileListWidget
    File "/usr/lib/calibre/calibre/gui2/tweak_book/file_list.py", line 23, in <module>
    from calibre.ebooks.oeb.polish.container import guess_type, OEB_FONTS
    File "/usr/lib/calibre/calibre/ebooks/oeb/polish/container.py", line 32, in <module>
    from calibre.ebooks.oeb.polish.parsing import parse as parse_html_tweak
    File "/usr/lib/calibre/calibre/ebooks/oeb/polish/parsing.py", line 15, in <module>
    from html5lib.constants import namespaces, tableInsertModeElements, EOF
    File "/usr/lib/python2.7/site-packages/html5lib/__init__.py", line 16, in <module>
    from .html5parser import HTMLParser, parse, parseFragment
    File "/usr/lib/python2.7/site-packages/html5lib/html5parser.py", line 6, in <module>
    from . import inputstream
    File "/usr/lib/python2.7/site-packages/html5lib/inputstream.py", line 3, in <module>
    from six.moves import http_client
    ImportError: No module named moves
    $ pacman -Q|grep calibre
    calibre 2.28.0-1
    [topo@linux ~]$ pacman -Q|grep python
    python 3.4.3-2
    python-cairo 1.10.0-5
    python-dbus 1.2.0-4
    python-dbus-common 1.2.0-4
    python-gobject 3.16.1-1
    python-gobject2 2.28.6-11
    python-html2text 2015.4.14-1
    python-lhafile 0.1.0fs4-1
    python-pycups 1.9.72-2
    python-pycurl 7.19.5.1-2
    python-pyqt4 4.11.3-4
    python-requests 2.6.2-1
    python-setuptools 1:15.2-1
    python-sip 4.16.7-1
    python-xdg 0.25-2
    python2 2.7.9-1
    python2-apsw 3.8.9-1
    python2-beaker 1.7.0-1
    python2-beautifulsoup3 3.2.1-3
    python2-cairo 1.10.0-2
    python2-cffi 0.9.2-2
    python2-chardet 2.3.0-1
    python2-cherrypy 3.6.0-1
    python2-crypto 2.6.1-2
    python2-cryptography 0.8.2-1
    python2-cssselect 0.9.1-2
    python2-cssutils 1.0-2
    python2-dateutil 2.4.2-1
    python2-dbus 1.2.0-4
    python2-dnspython 1.12.0-1
    python2-enum34 1.0.4-1
    python2-fuse 0.2.1-5
    python2-gobject 3.16.1-1
    python2-gobject2 2.28.6-11
    python2-html5lib 0.999-5
    python2-lxml 3.4.4-1
    python2-mako 1.0.1-1
    python2-markupsafe 0.23-2
    python2-mechanize 0.2.5-4
    python2-netifaces 0.10.4-1
    python2-numpy 1.9.2-2
    python2-pillow 2.8.1-1
    python2-ply 3.6-1
    python2-psutil 2.2.1-2
    python2-pyasn1 0.1.7-2
    python2-pycparser 2.12-1
    python2-pyenchant 1.6.6-1
    python2-pygments 2.0.2-2
    python2-pyopenssl 0.14-3
    python2-pyqt4 4.11.3-4
    python2-pyqt5 5.4.1-2
    python2-reportlab 3.1.44-2
    python2-setuptools 1:15.2-1
    python2-sip 4.16.7-1
    python2-six 1.9.0-1
    python2-twisted 15.1.0-1
    python2-xdg 0.25-2
    python2-zope-interface 4.1.2-2
    only ebook-viewer works.
    if I install it from official site, it works.
    Last edited by quellen (2015-05-17 16:28:49)

    $ pacman -Qkk python2-six python2 calibre
    python2-six: 12 file totali, 0 file alterati
    python2: 4716 file totali, 0 file alterati
    calibre: 4881 file totali, 0 file alterati
    $ python2
    Python 2.7.9 (default, Dec 11 2014, 05:36:55)
    [GCC 4.9.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import six
    >>> six.__file__
    '/usr/lib/python2.7/site-packages/six/__init__.pyc'
    >>>
    $ ls -l /usr/lib/python2.7/site-packages/six/
    totale 84
    -rw-r--r-- 1 root root 58 22 mar 2014 __init__.py
    -rw-r--r-- 1 root root 236 28 nov 21.06 __init__.pyc
    -rw-r--r-- 1 root root 236 28 nov 21.06 __init__.pyo
    -rw-r--r-- 1 root root 20588 22 mar 2014 six.py
    -rw-r--r-- 1 root root 20739 28 nov 21.06 six.pyc
    -rw-r--r-- 1 root root 20739 28 nov 21.06 six.pyo
    Last edited by quellen (2015-05-17 12:28:15)

  • ImportError: No module named qt [SOLVED]

    I'm having a problem whereby qt cannot be found and all applications that use it fail to load.
    I have installed qt, qt3 and qt4 so, missing packages cannot be the issue.
    Issuing echo $QTDIR returns /opt/qt so the path is found, yet when I run any applications that depend on QT  I get: ImportError: No module named qt
    I noticed other threads with a similar problem but non of them have an answer that applies to me. Does anyone have any ideas? 
    I thought that posting here may be a better choice, since in a programming forum there should be people using python and if this is a known problem an answer will surely be at hand
    Thanks in advance.
    R.
    Last edited by ralvez (2008-03-15 17:14:32)

    @Shaika-Dzari,
    Thanks for your reply. Yes, I know that the "official" QT package is 4.
    I have two programs, one that I wrote and Kodos (a nice tool for RegEx testing/coding). Both started to fail with the same error a few weeks ago.
    Querying my system for info indicated that I have both QT3 and QT4 but in actual execution mode QT4 was not detected.
    I just did something a few minutes ago that got things back to work !! 
    pacman -Sy pyqt pyqt3
    After re-installing both of the packages things are back to normal ... interestingly enough, re-installing PyQT only, which given the error would seem the logical thing to do, did not solve the problem (??) I had to re-install both.
    Thanks again for posting.
    R.

  • [SOLVED] ImportError: No module named pygtk

    I have installed Dropbox from the AUR. Everything has gone well until I tried to start dropbox. It then says:
    Starting Dropbox...
    The Dropbox daemon is not installed!
    Run "dropbox start -i" to install the daemon"
    When I run "dropbox start -i", I get: (I actually run "dropbox-cli start -i," but before I installed dropbox-cli I was having the same problems with the dropbox command:)
    Starting Dropbox...Traceback (most recent call last):
    File "/usr/bin/dropbox-cli", line 1259, in start
         download()
    File "/usr/bin/dropbox-cli", line 280, in download
         import pygtk
    ImportError: No module named pygtk
    From what I've read, this is due to the program expecting python or python2, but  since I have python3 installed, then python links to python3. And pygtk doesn't exist in python3.
    This might or might not be the problem. Regardless, I cannot figure out how to fix this problem.
    Anyone know how to fix this? I really need to use DropBox.
    EDIT: I found an article describing what to install and in what order to fix this.
    Last edited by cobbmic (2015-02-17 19:05:32)

    Hello. Glad you fixed it.
    Please give us at least a link to the "article". For others who are interested in this.
    I quickly search beforehand but couldn't find a solution right away.
    Thanks!
    Edit: wording
    Last edited by rebootl (2015-02-17 22:07:31)

  • [Solved] Recent updates cause Gramps error: No module named _bsddb

    Did a 'pacman -Syu' today and Gramps fails to start:
    $ gramps
    2599: ERROR: gramps.py: line 142: Unhandled exception
    Traceback (most recent call last):
    File "/usr/share/gramps/gui/grampsgui.py", line 271, in __startgramps
    from GrampsLogger import RotateHandler, GtkHandler
    File "/usr/share/gramps/GrampsLogger/__init__.py", line 45, in <module>
    from _GtkHandler import GtkHandler
    File "/usr/share/gramps/GrampsLogger/_GtkHandler.py", line 4, in <module>
    from _ErrorView import ErrorView
    File "/usr/share/gramps/GrampsLogger/_ErrorView.py", line 15, in <module>
    from _ErrorReportAssistant import ErrorReportAssistant
    File "/usr/share/gramps/GrampsLogger/_ErrorReportAssistant.py", line 14, in <module>
    import bsddb
    File "/usr/lib/python2.7/bsddb/__init__.py", line 67, in <module>
    import _bsddb
    ImportError: No module named _bsddb
    Was working fine a few days ago ...
    Last edited by ninian (2011-07-07 20:20:32)

    Please put it in the bug report, as installing python2-bsddb didn't seem to fix the issue...
    Report for python2: https://bugs.archlinux.org/task/25045 [CLOSED]
    EDIT:
    In fact, the problem comes from gramps, which should import bsddb3, see GRAMPS wiki.
    Report for gramps (the config should be changed to use bsddb3 by default): https://bugs.archlinux.org/task/25050
    Last edited by Fififox (2011-07-07 08:54:32)

  • [solved] sabnzbd (no module named filters.gzipfilter)

    I tried installing sabnzbd from aur, and I managed to track down the dependencies in aur or the regular repository and its all installed but when I try and run SABnzbd.py I get this
    Traceback (most recent call last):
    File "/usr/bin/SABnzbd.py", line 44, in <module>
    from sabnzbd.interface import *
    File "/usr/lib/python2.5/site-packages/sabnzbd/interface.py", line 31, in <module>
    from cherrypy.filters.gzipfilter import GzipFilter
    ImportError: No module named filters.gzipfilter
    Last edited by Zepp (2007-06-14 20:19:53)

    soylent_green_is_hamster wrote:
    Hi Zepp
    I have the same problem, did installing cherrypy 2.2 fix things for you?
    Not sure exactly how I install 2.2, is there a PKGBUILD for it, or did you just go to download.cherrypy.org, download the 2.2.1 tarball and run the setup script?
    cheers!
    Yes it fixed my problem. If I recall correctly I just went and downloaded the tar ball from the cherrypy website and used the setup.py to install it. I didn't see a PKGBUILD for it anywhere either, and I figured one package not installed through pacman wouldn't cause to much a pain in the ass later on .
    Last edited by Zepp (2008-07-03 17:37:50)

  • [ALSB 3.0] ImportError: No module named wli

    Hi all,
    I've already posted a problem that I got moving my WLST scripts from ALSB 2.6 to 3.0.
    As suggested in threadID=300006156 I changed some deprecated code.
    The error is:
    [java] Problem invoking WLST - Traceback (innermost last):
    [java] File ".../EventBus/scripts/admin.py", line 2, in ?
    [java] ImportError: No module named wli
    and first lines of admin.py now are:
    =====================
    import wlstModule
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from utils import createSessionName
    from utils import loadProps
    from utils import loadXML
    =====================
    Before running WLST from ant I run the related
    ./setDomainEnv.sh from my ALSB domain folder.
    What could I check to solve that ?
    Regards
    ferp

    I had a similar problem, but with a different file. The SessionManagementMBean class has moved to a new JAR file. You can find the new JAR file at <BEA_HOME>/alsb_3.0/lib/sb-kernel-api.jar
    Once I corrected my classpath to include this jar file, my older scripts started working again.

  • [s] gnome-sh...sion-tool ImportError: No module named 'gi.repository

    After upgrading Gnome from 3.14 to 3.16 I had to reinstall my extensions, namely hide top bar. However when I went to run " gnome-shell-extension-tool -e hidetopbar-master" I get the following error:
    Traceback (most recent call last):
    File "/usr/bin/gnome-shell-extension-tool", line 20, in <module>
    from gi.repository import Gio
    ImportError: No module named 'gi.repository'
    I tried something simpler for the program to run, "--help", and the result was the same
    $ gnome-shell-extension-tool --help
    Traceback (most recent call last):
    File "/usr/bin/gnome-shell-extension-tool", line 20, in <module>
    from gi.repository import Gio
    ImportError: No module named 'gi.repository'
    Turns out that /usr/bin/gnome-shell-extension-tool is a python scrypt (so I can read the thing), and so I'm guessing the file gi.repository is simply missing so it can't use "Gio". I ran "# pacman -Qkq" to check to make sure that everything was inorder, and it is. I ran "pacman -Qo" to see which package owns gnome-shell-extension-tool (its gnome-shell as one might have guessed) and tried re-installing that. No luck. Next I tried running a search for gi.repository in hopes that it's somewhere the script can't find. Unfortunately, that didn't help either.
    I then looked at gnome-shell-extensions from a snapshot made before the upgrade and it too contains the line "from gi.repository import Gio", and I know I successfully installed this extension before in this manner since I've never been able to get Chromium or Firefox to install extensions for me. More over, the snapshot was searched as well.
    Any ideas?
    [edit=solution]
    hokasch wrote:
    $ pacman -Qo /usr/lib/python3.4/site-packages/gi/repository/
    /usr/lib/python3.4/site-packages/gi/repository/ is owned by python-gobject 3.16.0-1
    are you missing python-gobject?
    Last edited by nstgc (2015-04-12 17:12:26)

    hokasch wrote:
    $ pacman -Qo /usr/lib/python3.4/site-packages/gi/repository/
    /usr/lib/python3.4/site-packages/gi/repository/ is owned by python-gobject 3.16.0-1
    are you missing python-gobject?
    Thanks that worked, however it's not showing in gnome-shell-extension-prefs. Still, the problem is solved. Thank you.

  • Python setuptools gives 'ImportError: No module named version' error

    I am trying to install hdctools-git from AUR and it fails in install() with following error. This package was fine last time I installed it about 2 months ago. My gut feeling says the error comes either from recent python2-setuptools or python2 package update. But my python skills are not good enough to figure out how to solve the problem.
    Does anybody know what is going here?
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbgpio_unittests.py to bbgpio_unittests.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/gpio_interface.py to gpio_interface.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/uart.py to uart.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/client.py to client.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbuart_unittests.py to bbuart_unittests.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbadc.py to bbadc.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbmux_controller.py to bbmux_controller.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/system_config.py to system_config.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbgpio.py to bbgpio.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/ftdigpio.py to ftdigpio.pyc
    byte-compiling /home/anatol/tmp/pkgs/hdctools-git/pkg/hdctools-git/usr/lib/python2.7/site-packages/servo/bbi2c_unittests.py to bbi2c_unittests.pyc
    writing byte-compilation script '/tmp/tmp4TA67u.py'
    /usr/bin/python2 -O /tmp/tmp4TA67u.py
    removing /tmp/tmp4TA67u.py
    running install_egg_info
    running egg_info
    writing build/servo.egg-info/PKG-INFO
    writing top-level names to build/servo.egg-info/top_level.txt
    writing dependency_links to build/servo.egg-info/dependency_links.txt
    writing entry points to build/servo.egg-info/entry_points.txt
    Traceback (most recent call last):
      File "setup.py", line 28, in <module>
        'dut-control = servo.dut_control:main',
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 575, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.py", line 33, in run
        self.run_command('egg_info')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 171, in run
        writer = ep.load(installer=installer)
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2310, in load
        return self.resolve()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2316, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
    ImportError: No module named version
    ==> ERROR: A failure occurred in package().
        Aborting...
    Last edited by anatolik (2015-01-18 06:39:16)

    I am getting the same problem. Uninstalling python2-daemon fixed it for me, as suggested here: http://stackoverflow.com/a/27996309/646735
    I have also logged an upstream issue here: https://bitbucket.org/pypa/setuptools/i … ed-version

  • [OSB 10.3.1] ImportError: No module named wli

    Hi all,
    I'm migrating my WLST code from ALSB 3.0 to OSB 10.3.1 and I get some troubles. In order to understand where is the problem, I did:
    1) create basic.py as described in http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/SessionManagementMBean.html
    2) set the classpath and environment variables correctly by invoking the setDomainEnv.cmd
    K:\EventBus\scripts>f:\software\developing\osb1031\domains\osb_cluster1\bin\setDomainEnv.cmd
    3) execute java weblogic.WLST basic.py
    K:\EventBus\scripts>java weblogic.WLST basic.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Problem invoking WLST - Traceback (innermost last):
    File "K:\EventBus\scripts\basic.py", line 2, in ?
    ImportError: No module named wli
    Could anyone please help me to solve that ?
    Regards
    ferp

    Thanks a lot! One step solved but another raises ...
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain ...
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)
    Unexpected error: exceptions.AttributeError
    No stack trace available.
    Problem invoking WLST - Traceback (innermost last):
    File "C:\projects\osb1031\basic.py", line 16, in ?
    AttributeError: 'None' object has no attribute 'createSession'
    Where:
    import wlstModule
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
    from com.bea.wli.config import Ref
    try:
    connect("weblogic", "weblogic", "t3://localhost:7001")
    domainRuntime()
    sessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
    sessionMBean.createSession("mysession") <- line 16
    So I imagine that findService returns a null object!
    regards
    ferp

  • ImportError: no module named java  : While running a scenario (ODI 10.1.3.)

    Hi All,
    When i am running a scenario i am getting the below error in the 'error log ' file....Please let me know any pointers on the same.. its urgent:-
    =========================================================
    [oraodi@apo13100098 error]$ cat SIL_TIMEDIMENSION_CALCONFIG.30402.log
    12/15/11 10:26 AM :
    Session No-> 30402
    Package Name-> SIL_TIMEDIMENSION_CALCONFIG
    Step Name-> SIL_TimeDimension_CalConfig.MCAL_CONFIG_G
    Error Details->
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 2, in ?
    ImportError: no module named java
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    ===========================================================================================
    Cheers
    Manoj

    Hi Venkat,
    The error got resolved after adding '/usr/kerberos/bin:/usr/local/bin' to my PATH variable.
    cheers
    Manoj

  • Problem:No module named gtk

    Hi,I just install the compiz-fusion,and it work very well for a while.
    But when I restare the computer,the compiz-fusion can't start.Here is the error messag
    [tensecor@arch ~]$ fusion-icon
    * Detected Session: gnome
    * Searching for installed applications...
    * NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
    * Using the GTK Interface
    * No module named gtk
    ... Trying another interface
    * Using the Qt4 Interface
    * No module named PyQt4
    ... Trying another interface
    * Using the Qt3 Interface
    * Interface not installed
    *** Error: All interfaces failed, aborting
    What's wrong?How can I fix it ? Can somebody help me?Thank you!
    Last edited by tensecor (2008-11-01 16:54:30)

    robertp wrote:Install pygtk or pyqt.
    I have install pygtk.But it seems don't work either.
    And it output the same error message.

  • No module named collections

    Hi Experts,
    I've installed TREX 7.0(standalone, win32). I'm trying to enable semantic search by following the document at 'https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f0d3be0e-0401-0010-b780-ff7e4e103ea0'.
    In the step 3., when i try to create a .xtm file using
    "txt2xtm.py --input=
    <TREX_DIR>     opicmapsexampleexample.txt -- output=<TREX_DIR>     opicmapsexampleexample.xtm"
    (in my case, txt2xtm.py --input=C:usrsapTRXTRX00exe     opicmapsexampleexample.txt --output=C:usrsapTRXTRX00exe     opicmapsexampleexample.xtm)
    I get the import error, 'No module named collections'.
    I searched for 'collections.py' file in the entire directory where trex was installed(C:usrsap), but found result is zero.
    It requires to activate the python activation as given in,
    'http://help.sap.com/saphelp_nw04s/helpdata/en/fe/72f11aae4f754d90f44680283a3634/frameset.htm'
    Here, i followed 'Activate the Python extension handler' and in 'Registering the Python extensions' part , I changed "if '0' to '1'" for 'Topic Map' and 'Semantic Search' extensions.
    Here're the commands executed in command prompt,
    C:Documents and SettingsC5119720>cd C:usrsapTRXTRX00
    C:usrsapTRXTRX00>TREXSettings.bat
    C:usrsapTRXTRX00>cd C:usrsapTRXTRX00exeextensionsxtm
    C:usrsapTRXTRX00exeextensionsxtm>txt2xtm.py --input=C:usrsapTRXTRX00exe     opicmapsexampl
    eexample.txt --output=C:usrsapTRXTRX00exe     opicmapsexampleexample.xtm
    Traceback (most recent call last):
      File "C:usrsapTRXTRX00exeextensionsxtm     xt2xtm.py", line 4, in <module>
        from testbase import TestBase, TestError
      File "C:usrsapTRXTRX00exeextensionsxtm     estbase.py", line 2, in <module>
        import os, sys, string, thread, threading, time, fuzzypy
      File "C:usrsapTRXTRX00exePythonlib     hreading.py", line 13, in <module>
        from collections import deque
    ImportError: No module named collections
    C:usrsapTRXTRX00exeextensionsxtm>
    Please suggest how to get this 'collections' module.
    Thanks,
    Arun

    Hi All,
    I got the solution for this. I've been executing the scripts txt2xtm.py without using 'python' keyword. The screenshots given in the document doesn't contain this information and it's relevant for a release lower than 7.0. After adding 'python' keyword before the script name, the error has gone.
    Best Regards,
    Arun

  • No module named csv

    Hi All,
    I'm a newbie to ODI and I'm trying to write a Jython script that manipulates CSV files. I tried to use the csv module of Python and on a Python script it works OK.
    Now I tried to create a procedure with a Jython step but when I try to execute it I get the following error message:
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 1, in ?
    ImportError: no module named csv
         at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Can I use this Python module in ODI or do I have to write my own CSV handling solution.
    Frank

    Lars, thanks a lot for your reply,
    in the follow, all the informations you wanted.
    You can reproduce this behavior on every 64 bits architecture.
    MaxDB version: 7.6.03.15 (but also on the latest the files are not available, check if you like)
    output of sdbverify:
    an unexpected error occurred
    (btw, I wouldn't like to spend my time to check why this happens. I am sure that the loadercli -p problem is due to the missing files. It is simply a python 'import' problem.)
    output of loadercli -p
    No module named _csv
    ['C:\\Program Files\\sdb\\programs\\lib\\python2.3\\sdb\\loader', 'C:\\Program F
    iles\\sdb\\programs\\lib\\python2.3', 'C:\\Program Files\\sdb\\programs\\pgm\\py
    thon2.3.zip', 'C:\\Program Files\\sdb\\programs\\pgm\\python23.zip', 'C:\\Docume
    nts and Settings\\asadmin\\Desktop', 'C:\\Program Files\\sdb\\programs\\pgm']
    Traceback (most recent call last):
      File "C:\Program Files\sdb\programs\lib\python2.3\sdb\loader\transport.py", li
    ne 2834, in ?
        class TransformationPackage (sax.ContentHandler):
    NameError: name 'sax' is not defined
    Edited by: Ivo Bellin on Oct 14, 2008 4:41 PM

Maybe you are looking for

  • Problem install ovi store and ovi maps?

    my phone nokia C7 can not turn on, then I use a three finger salute to hard reset, and my phone can turn on again, but social networking application, ovi store and ovi maps are lost, I tried installing again, but always "unable to install", while app

  • Updates for software, etc.

    Is there a way that a user (me) can be automatically notified of updates? Like on a weekly basis. Or do we have to keep checking ourselves. For example, only by chance, did I notice Apple had an update for Mountain Lion 10.8.1 today. If I hadn't know

  • Sales module-Dealer wise

    Hi All, In Sales module- Dealer wise Report. Ie. Related to Particular Dealer, Howmany Orders he have done, how many pending and closed. it Possible by Pld or Xl reports ,plz tell me Regards, nagababu

  • Support question for Oracle Express

    Can anyone tell me if Oracle provides security patches for Express? I read an artical from '03 that said they do not. It said Oracle only provides new builds with the patches included. Thanks -Don

  • Authorization profile description

    hi experts, In tcode su01, we have authorization profile and its description for a user. I have a report in which authorization profile has been displayed. I need the <b>authorization profile description</b> next to it. I found the field PTEXT in tab