Bug 77803

Summary: BitTornado port v. 1.14 requires manual copy to work
Product: Ports & Packages Reporter: Ulf Magnusson <ulfalizer>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ulf Magnusson 2005-02-20 20:00:36 UTC
The py-bittornado port installs btdownloadgui.py in /usr/local/bin/ by default, and the BitTornado folder in {python-prefix}/site-packages/ . btdownloadgui.py can't find the module package BitTorrent.

Fix: 

Copy the BitTornado folder to /usr/local/bin/ , or whatever the install prefix was.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-02-27 18:02:03 UTC
Dear maintainer, please look into this issue.

Volker
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-02-27 18:02:15 UTC
State Changed
From-To: open->feedback

Forwarded PR to maintainer
Comment 3 Ulf Magnusson 2005-02-27 21:18:34 UTC
A much better solution is to change the PYTHONPATH env. variable to
include the directory containing the BitTornado directory
(site-packages).
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-11 18:56:59 UTC
Can you comment the PR please?

-- 
Sem.
Comment 5 Mohacsi Janos 2005-03-17 09:58:33 UTC
    You reported

"The py-bittornado port installs btdownloadgui.py in /usr/local/bin/ by default, and the BitTornado folder in {python-prefix}/site-packages/ . btdownloadgui.py can't find the module package BitTorrent."

Are you sure that btdownloadgui.py reports  could not find BitTorrent 
module?

1. The module name of the btdownloadgui.py of py-bittornado port is 
BitTornado. Did not you mix/install over py-bittornado or py-bittorrent 
port. They are conflicting ports they installs the same files like 
bt-downloadgui.py.

2. can you send me the output of 
python -c "import sys; print sys.path"

out on my test machine is:
['/var/db/pkg', '/usr/local/lib/python23.zip', 
'/usr/local/lib/python2.3', '/usr/local/lib/python2.3/plat-freebsd5', 
'/usr/local/lib/python2.3/lib-tk', 
'/usr/local/lib/python2.3/lib-dynload', 
'/usr/local/lib/python2.3/site-packages', 
'/usr/local/lib/python2.3/site-packages/Numeric', 
'/usr/local/lib/python2.3/site-packages/PIL']

So the module path "usr/local/lib/python2.3/site-packages" Bittornado 
modules are installed is there.
Comment 6 Tilman Keskinoz freebsd_committer freebsd_triage 2005-04-21 17:24:34 UTC
State Changed
From-To: feedback->closed

Feedback timeout (1 month). 

The ports py-bittornado and py-bittorrent have now  
appropriate CONFLICTS variables.