Bug 214263 - Parley Python scripts give error messages
Summary: Parley Python scripts give error messages
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 0.9.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Parley Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 14:32 UTC by Juergen
Modified: 2013-11-05 14:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3
Sentry Crash Report:


Attachments
Screen shot error messages (12.89 KB, image/png)
2009-11-12 14:33 UTC, Juergen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen 2009-11-12 14:32:15 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Debian stable Packages

Parley Python scripts give error messages (see attachment)
Comment 1 Juergen 2009-11-12 14:33:07 UTC
Created attachment 38281 [details]
Screen shot error messages
Comment 2 Juergen 2009-11-12 14:33:45 UTC
Parley
Version 0.9.2-svn
Comment 3 Daniel Laidig 2009-11-18 23:12:22 UTC
This looks like the Python Kross bindings aren't installed properly. Could you check that?
Comment 4 Juergen 2009-11-19 02:00:17 UTC
I don't know what "Python Kross bindings: are? Any suggestion for packages?
Comment 5 Daniel Laidig 2009-11-22 21:42:55 UTC
What distribution are you running? Do you have "krosspython" or "libkrosspython0"?
Comment 6 Juergen 2009-11-23 01:49:04 UTC
after installing libkrosspython0 which is not installed when installing Parley on ubuntu karmic 32 bit the error of 4 scripts go away. only the last script:
Wiktionary Sound
Version 0.1
Using KDE 4.3.2 (KDE 4.3.2)
This script fetches sound files from http://commons.wikimedia.org.
still fails.
Comment 7 Juergen 2013-01-16 07:14:51 UTC
When I go to Scripts/Script Manager and activate Wiktionary Sound I still get this error:

Error in file /usr/share/kde4/apps/parley/plugins/wiktionary_sound.py at line 6:
cannot import name Scanner
Backtrace:
File "/usr/share/kde4/apps/parley/plugins/wiktionary_sound.py", line 14, in <module>
import mwclient

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "/usr/share/kde4/apps/parley/plugins/mwclient/__init__.py", line 32, in <module>
from client import Site, __ver__

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "/usr/share/kde4/apps/parley/plugins/mwclient/client.py", line 8, in <module>
import simplejson

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "/usr/share/kde4/apps/parley/plugins/mwclient/simplejson/__init__.py", line 95, in <module>
from decoder import JSONDecoder

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "<string>", line 20, in _import

File "/usr/share/kde4/apps/parley/plugins/mwclient/simplejson/decoder.py", line 6, in <module>
from simplejson.scanner import Scanner, pattern
Comment 8 José Manuel Santamaría Lema 2013-10-30 13:28:47 UTC
Git commit 9d47a8e79be3d06df8c7a914922e942fa68cc25a by José Manuel Santamaría Lema.
Committed on 30/10/2013 at 13:25.
Pushed by joselema into branch 'KDE/4.11'.

Update mwclient internal copy.

In addition to update mwclient to the latest stable version
plugins/wiktionary/CMakeLists.txt was updated to install some new files which
came with the new upstream version.

REVIEW: 113499

M  +3    -0    plugins/wiktionary/CMakeLists.txt
M  +11   -8    plugins/wiktionary/mwclient/README.txt
M  +3    -2    plugins/wiktionary/mwclient/REFERENCE.txt
A  +66   -0    plugins/wiktionary/mwclient/RELEASE-NOTES.txt
M  +2    -2    plugins/wiktionary/mwclient/__init__.py
M  +167  -105  plugins/wiktionary/mwclient/client.py
M  +53   -1    plugins/wiktionary/mwclient/compatibility.py
M  +6    -2    plugins/wiktionary/mwclient/errors.py
M  +71   -28   plugins/wiktionary/mwclient/http.py
M  +15   -1    plugins/wiktionary/mwclient/listing.py
M  +50   -21   plugins/wiktionary/mwclient/page.py
M  +6    -2    plugins/wiktionary/mwclient/page_nowriteapi.py
M  +282  -131  plugins/wiktionary/mwclient/simplejson/__init__.py
M  +2455 -68   plugins/wiktionary/mwclient/simplejson/_speedups.c
M  +273  -125  plugins/wiktionary/mwclient/simplejson/decoder.py
M  +316  -186  plugins/wiktionary/mwclient/simplejson/encoder.py
A  +119  -0    plugins/wiktionary/mwclient/simplejson/ordered_dict.py
M  +74   -60   plugins/wiktionary/mwclient/simplejson/scanner.py
A  +64   -0    plugins/wiktionary/mwclient/simplejson/tests/__init__.py
A  +30   -0    plugins/wiktionary/mwclient/simplejson/tests/test_check_circular.py
A  +50   -0    plugins/wiktionary/mwclient/simplejson/tests/test_decimal.py
A  +83   -0    plugins/wiktionary/mwclient/simplejson/tests/test_decode.py
A  +9    -0    plugins/wiktionary/mwclient/simplejson/tests/test_default.py
A  +27   -0    plugins/wiktionary/mwclient/simplejson/tests/test_dump.py
A  +46   -0    plugins/wiktionary/mwclient/simplejson/tests/test_encode_basestring_ascii.py
A  +32   -0    plugins/wiktionary/mwclient/simplejson/tests/test_encode_for_html.py
A  +21   -0    plugins/wiktionary/mwclient/simplejson/tests/test_errors.py
A  +91   -0    plugins/wiktionary/mwclient/simplejson/tests/test_fail.py
A  +19   -0    plugins/wiktionary/mwclient/simplejson/tests/test_float.py
A  +69   -0    plugins/wiktionary/mwclient/simplejson/tests/test_indent.py
A  +76   -0    plugins/wiktionary/mwclient/simplejson/tests/test_pass1.py
A  +14   -0    plugins/wiktionary/mwclient/simplejson/tests/test_pass2.py
A  +20   -0    plugins/wiktionary/mwclient/simplejson/tests/test_pass3.py
A  +67   -0    plugins/wiktionary/mwclient/simplejson/tests/test_recursion.py
A  +117  -0    plugins/wiktionary/mwclient/simplejson/tests/test_scanstring.py
A  +42   -0    plugins/wiktionary/mwclient/simplejson/tests/test_separators.py
A  +20   -0    plugins/wiktionary/mwclient/simplejson/tests/test_speedups.py
A  +99   -0    plugins/wiktionary/mwclient/simplejson/tests/test_unicode.py
A  +39   -0    plugins/wiktionary/mwclient/simplejson/tool.py
A  +123  -0    plugins/wiktionary/mwclient/upload.py

http://commits.kde.org/parley/9d47a8e79be3d06df8c7a914922e942fa68cc25a