| 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 | ||
Dear maintainer, please look into this issue. Volker State Changed From-To: open->feedback Forwarded PR to maintainer A much better solution is to change the PYTHONPATH env. variable to include the directory containing the BitTornado directory (site-packages). Can you comment the PR please? -- Sem. 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.
State Changed From-To: feedback->closed Feedback timeout (1 month). The ports py-bittornado and py-bittorrent have now appropriate CONFLICTS variables. |
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.