Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21463 - python3 breaks search engines in qbittorrent 2.4.7

Attached to Project: Community Packages
Opened by Joakim Hernberg (jhernberg) - Monday, 25 October 2010, 08:21 GMT
Last edited by Ionut Biru (wonder) - Monday, 25 October 2010, 08:34 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

qbittorrent 2.4.7 has no search function due to python3 breaking the search scripts.

when run from command line it produces the following:
$ qbittorrent
Peer ID: -qB2470-
HTTP user agent is qBittorrent v2.4.7
Could not parse Nova search engine capabilities, msg:
Error: File "/home/jack/.local/share/data/qBittorrent/search_engine/nova2.py", line 64
exec "from engines.%s import %s"%(e,e)
^
SyntaxError: invalid syntax

Changing python symlink to point to python27 fixes the problem, like this:

$ ls -l /usr/bin/pyth*
lrwxrwxrwx 1 root root 9 Oct 23 23:17 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 Oct 23 23:17 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 4696 Oct 6 14:30 /usr/bin/python2.7
-rwxr-xr-x 1 root root 1618 Oct 6 14:30 /usr/bin/python2.7-config
lrwxrwxrwx 1 root root 16 Oct 6 14:30 /usr/bin/python2-config -> python2.7-config
-rwxr-xr-x 2 root root 6720 Oct 4 14:45 /usr/bin/python3
-rwxr-xr-x 2 root root 6720 Oct 4 14:45 /usr/bin/python3.1
-rwxr-xr-x 1 root root 1395 Oct 4 14:45 /usr/bin/python3.1-config
lrwxrwxrwx 1 root root 16 Oct 4 14:45 /usr/bin/python3-config -> python3.1-config
lrwxrwxrwx 1 root root 16 Oct 23 23:18 /usr/bin/python-config -> python2.7-config

One of the devs is aware of the problem and I think he has a patch, ask chris-qBT in #qbittorrent

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 25 October 2010, 08:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.4.8

Loading...