Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2012-12-20 20:34:20

  vnu007dl - Użytkownik

vnu007dl
Użytkownik
Zarejestrowany: 2010-11-01

AnacondaRS problem z uruchomieniem - python

Hej próbuje przetestować oprogramowanie co zarządzania firmą RS Anaconda. To jest napisane w pythonie. Problem taki, że nie nie umiem tego odpalić. Brakuje mi chyba jakiejś paczki, ale nie umiem dojść co by to mogło być?

Kod:

darek@PC-kubuntu:~/ANACONDA/rs-anakonda/ac25$ ./RSAnakonda.py
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
    self.notify()
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14767, in Notify
    self.result = self.callable(*self.args, **self.kwargs)
  File "./RSAnakonda.py", line 93, in ShowMain
    pokaz()
  File "./RSAnakonda.py", line 44, in pokaz
    main = RSAnakondaMain.create(None)
  File "/home/darek/ANACONDA/rs-anakonda/ac25/RSAnakondaMain.py", line 149, in create
    return RSAnakondaMain(parent)
  File "/home/darek/ANACONDA/rs-anakonda/ac25/RSAnakondaMain.py", line 1289, in __init__
    self._init_ctrls(parent)
  File "/home/darek/ANACONDA/rs-anakonda/ac25/RSAnakondaMain.py", line 1136, in _init_ctrls
    self._init_utils()
  File "/home/darek/ANACONDA/rs-anakonda/ac25/RSAnakondaMain.py", line 1114, in _init_utils
    self._init_coll_MSprzedaz_Items(self.MSprzedaz)
  File "/home/darek/ANACONDA/rs-anakonda/ac25/RSAnakondaMain.py", line 666, in _init_coll_MSprzedaz_Items
    kind=wx.ITEM_NORMAL, text='&Sumy zam�wie�')    
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 11057, in Append
    return _core_.Menu_Append(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 9: invalid continuation byte

Przypominam, że używam Kubuntu. Python u mnie w systemie wygląda tak:

Kod:

darek@PC-kubuntu:~/ANACONDA/rs-anakonda/ac25$ dpkg -l | grep python
ii  libpython2.7                                                2.7.3-5ubuntu4                             i386         Shared Python runtime library (version 2.7)
ii  libpython3.2                                                3.2.3-6ubuntu3.1                           i386         Shared Python runtime library (version 3.2)
ii  plasma-scriptengine-python                                  4:4.9.3-0ubuntu0.1                         all          Python script engine for Plasma
ii  python                                                      2.7.3-0ubuntu7                             i386         interactive high-level object-oriented language (default version)
ii  python-apt                                                  0.8.7ubuntu4                               i386         Python interface to libapt-pkg
ii  python-apt-common                                           0.8.7ubuntu4                               all          Python interface to libapt-pkg (locales)
ii  python-cairo                                                1.8.8-1ubuntu4                             i386         Python bindings for the Cairo vector graphics library
ii  python-chardet                                              2.0.1-2build1                              all          universal character encoding detector
ii  python-cups                                                 1.9.62-0ubuntu1                            i386         Python bindings for CUPS
ii  python-cupshelpers                                          1.3.11+20120807-0ubuntu10                  all          Python modules for printer configuration with CUPS
ii  python-dbus                                                 1.1.1-1                                    i386         simple interprocess messaging system (Python interface)
ii  python-dbus-dev                                             1.1.1-1                                    all          main loop integration development files for python-dbus
ii  python-debian                                               0.1.21+nmu2ubuntu1                         all          Python modules to work with Debian-related data formats
ii  python-dev                                                  2.7.3-0ubuntu7                             i386         header files and a static library for Python (default)
ii  python-egenix-mx-base-dev                                   3.2.1-1.1                                  all          development files for the egenix-mx-base distribution
ii  python-egenix-mxbeebase                                     3.2.1-1.1                                  i386         on-disk B+Tree based database kit for Python
ii  python-egenix-mxdatetime                                    3.2.1-1.1                                  i386         date and time handling routines for Python
ii  python-egenix-mxproxy                                       3.2.1-1.1                                  i386         generic proxy wrapper type for Python
ii  python-egenix-mxqueue                                       3.2.1-1.1                                  i386         fast and memory-efficient queue for Python
ii  python-egenix-mxstack                                       3.2.1-1.1                                  i386         fast and memory-efficient stack for Python
ii  python-egenix-mxtexttools                                   3.2.1-1.1                                  i386         fast text processing tools for Python
ii  python-egenix-mxtools                                       3.2.1-1.1                                  i386         collection of additional builtins for Python
ii  python-egenix-mxuid                                         3.2.1-1.1                                  i386         unique identifiers for Python
ii  python-egenix-mxurl                                         3.2.1-1.1                                  i386         flexible URL datatype for Python
ii  python-gi                                                   3.4.0-1ubuntu0.1                           i386         Python 2.x bindings for gobject-introspection libraries
ii  python-glade2                                               2.24.0-3build1                             i386         GTK+ bindings: Glade support
ii  python-gobject                                              3.4.0-1ubuntu0.1                           all          Python 2.x bindings for GObject - transitional package
ii  python-gobject-2                                            2.28.6-10ubuntu2                           i386         deprecated static Python bindings for the GObject library
ii  python-gpgme                                                0.2-2                                      i386         python wrapper for the GPGME library
ii  python-gtk2                                                 2.24.0-3build1                             i386         Python bindings for the GTK+ widget set
ii  python-httplib2                                             0.7.4-2                                    all          comprehensive HTTP client library written for Python
ii  python-imaging                                              1.1.7-4build1                              i386         Python Imaging Library
ii  python-kde4                                                 4:4.9.3-0ubuntu0.1                         i386         Python bindings for the KDE Development Platform
ii  python-lxml                                                 2.3.5-1                                    i386         pythonic binding for the libxml2 and libxslt libraries
ii  python-minimal                                              2.7.3-0ubuntu7                             i386         minimal subset of the Python language (default version)
ii  python-notify                                               0.1.1-3build1                              i386         Python bindings for libnotify
ii  python-numpy                                                1:1.6.2-1ubuntu1                           i386         Numerical Python adds a fast array facility to the Python language
ii  python-openssl                                              0.13-2ubuntu1                              i386         Python 2 wrapper around the OpenSSL library
ii  python-packagekit                                           0.7.6-1                                    all          PackageKit backend Python bindings
ii  python-pam                                                  0.4.2-13ubuntu2                            i386         Python interface to the PAM library
ii  python-pexpect                                              2.4-1                                      all          Python module for automating interactive applications
ii  python-pkg-resources                                        0.6.28-1ubuntu2                            all          Package Discovery and Resource Access using pkg_resources
ii  python-pycurl                                               7.19.0-5ubuntu1                            i386         Python bindings to libcurl
ii  python-pygccxml                                             1.0.0-4                                    all          specialized XML reader reads the output from gccxml
ii  python-pyudev                                               0.13-1                                     all          Python bindings for libudev
ii  python-qt4                                                  4.9.3-4                                    i386         Python bindings for Qt4
ii  python-qt4-dbus                                             4.9.3-4                                    i386         D-Bus Support for PyQt4
ii  python-qt4-sql                                              4.9.3-4                                    i386         Python bindings for PyQt4's SQL module
ii  python-renderpm                                             2.5-1.1build2                              i386         python low level render interface
ii  python-reportlab                                            2.5-1.1build2                              all          ReportLab library to create PDF documents using Python
ii  python-reportlab-accel                                      2.5-1.1build2                              i386         C coded extension accelerator for the ReportLab Toolkit
ii  python-serial                                               2.5-3                                      all          pyserial - module encapsulating access for the serial port
ii  python-sip                                                  4.13.3-2                                   i386         Python/C++ bindings generator runtime library
ii  python-six                                                  1.1.0-2                                    all          Python 2 and 3 compatibility library (Python 2 interface)
ii  python-support                                              1.0.15                                     all          automated rebuilding support for Python modules
ii  python-twisted-bin                                          12.2.0-1                                   i386         Event-based framework for internet applications
ii  python-twisted-core                                         12.2.0-1                                   all          Event-based framework for internet applications
ii  python-uniconvertor                                         1.1.4-1ubuntu2                             i386         Universal vector graphics translator
ii  python-unidecode                                            0.04.9-1                                   all          ASCII transliterations of Unicode text (Python module)
ii  python-uno                                                  1:3.6.2~rc2-0ubuntu4                       i386         Python-UNO bridge
ii  python-wxgtk2.8                                             2.8.12.1-11ubuntu3.1                       i386         wxWidgets Cross-platform C++ GUI toolkit (wxPython binding)
ii  python-wxversion                                            2.8.12.1-11ubuntu3.1                       all          wxWidgets Cross-platform C++ GUI toolkit (wxPython version selector)
ii  python-xapian                                               1.2.12-2                                   i386         Xapian search engine interface for Python
ii  python-xdg                                                  0.20-0ubuntu1                              all          Python 2 library to access freedesktop.org standards
ii  python-xkit                                                 0.5.0                                      all          library for the manipulation of xorg.conf files (Python 2)
ii  python-zeitgeist                                            0.9.5-0ubuntu1                             all          event logging framework - Python bindings
ii  python-zope.interface                                       3.6.1-3                                    i386         Interfaces for Python
ii  python2.7                                                   2.7.3-5ubuntu4                             i386         Interactive high-level object-oriented language (version 2.7)
ii  python2.7-dev                                               2.7.3-5ubuntu4                             i386         Header files and a static library for Python (v2.7)
ii  python2.7-minimal                                           2.7.3-5ubuntu4                             i386         Minimal subset of the Python language (version 2.7)
ii  python3                                                     3.2.3-5ubuntu1                             all          interactive high-level object-oriented language (default python3 version)
ii  python3-apport                                              2.6.1-0ubuntu9                             all          Python 3 library for Apport crash report handling
ii  python3-apt                                                 0.8.7ubuntu4                               i386         Python 3 interface to libapt-pkg
ii  python3-aptdaemon                                           0.45+bzr861-0ubuntu9.1                     all          Python 3 module for the server and client of aptdaemon
ii  python3-aptdaemon.pkcompat                                  0.45+bzr861-0ubuntu9.1                     all          PackageKit compatibilty for AptDaemon
ii  python3-dbus                                                1.1.1-1                                    i386         simple interprocess messaging system (Python 3 interface)
ii  python3-defer                                               1.0.6-2                                    all          Small framework for asynchronous programming (Python 3)
ii  python3-distupgrade                                         1:0.190.4                                  all          manage release upgrades
ii  python3-gdbm                                                3.3.0-1                                    i386         GNU dbm database support for Python 3.x
ii  python3-gi                                                  3.4.0-1ubuntu0.1                           i386         Python 3 bindings for gobject-introspection libraries
ii  python3-minimal                                             3.2.3-5ubuntu1                             all          minimal subset of the Python language (default python3 version)
ii  python3-pkg-resources                                       0.6.28-1ubuntu2                            all          Package Discovery and Resource Access using pkg_resources
ii  python3-problem-report                                      2.6.1-0ubuntu9                             all          Python 3 library to handle problem reports
ii  python3-pykde4                                              4:4.9.3-0ubuntu0.1                         i386         Python 3 bindings for the KDE Development Platform
ii  python3-pyqt4                                               4.9.3-4                                    i386         Python3 bindings for Qt4
ii  python3-sip                                                 4.13.3-2                                   i386         Python 3/C++ bindings generator runtime library
ii  python3-software-properties                                 0.92.9                                     all          manage the repositories that you install software from
ii  python3-update-manager                                      1:0.174.3                                  all          python 3.x module for update-manager
ii  python3-xkit                                                0.5.0                                      all          library for the manipulation of xorg.conf files (Python 3)
ii  python3.2                                                   3.2.3-6ubuntu3.1                           i386         Interactive high-level object-oriented language (version 3.2)
ii  python3.2-minimal                                           3.2.3-6ubuntu3.1                           i386         Minimal subset of the Python language (version 3.2)
darek@PC-kubuntu:~/ANACONDA/rs-anakonda/ac25$

Czego może mi brakować?

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.007 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00093 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='13.59.2.242' WHERE u.id=1
0.00066 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '13.59.2.242', 1732641427)
0.00044 SELECT * FROM punbb_online WHERE logged<1732641127
0.00060 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=22548 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00196 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=22548 ORDER BY p.id LIMIT 0,25
0.00082 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=22548
Total query time: 0.0056 s