[MacPorts] #14801: bittorrent port broken - permission errors
#14801: bittorrent port broken - permission errors ---------------------------+------------------------------------------------ Reporter: em@muljan.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: bittorrent | ---------------------------+------------------------------------------------ Bittorrent will not run, it gives permission errors. {{{ $ bittorrent.py --version Traceback (most recent call last): File "/opt/local/bin/bittorrent.py", line 20, in ? from BitTorrent.translation import _ File "/opt/local/lib/python2.4/site-packages/BitTorrent/__init__.py", line 72, in ? from BitTorrent.platform import get_temp_subdir, get_home_dir, get_dot_dir, is_frozen_exe File "/opt/local/lib/python2.4/site-packages/BitTorrent/platform.py", line 374, in ? no_really_makedirs(locale_root) File "/opt/local/lib/python2.4/site-packages/BitTorrent/platform.py", line 364, in no_really_makedirs os.makedirs(path) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/opt/local/bin/locale' }}} I'm not sure what the locale file should contain (if anything) but if I just touch it, then I still get permissions errors: {{{ $ sudo touch /opt/local/bin/locale $ bittorrent.py --version Traceback (most recent call last): File "/opt/local/bin/bittorrent.py", line 90, in ? inject_main_logfile() File "/opt/local/lib/python2.4/site-packages/BitTorrent/__init__.py", line 125, in inject_main_logfile mode='a', maxBytes=2**20, backupCount=1) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/logging/handlers.py", line 109, in __init__ BaseRotatingHandler.__init__(self, filename, mode, encoding) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/logging/handlers.py", line 61, in __init__ logging.FileHandler.__init__(self, filename, mode, encoding) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/logging/__init__.py", line 757, in __init__ stream = open(filename, mode) IOError: [Errno 13] Permission denied: '/Users/ed/.bittorrent/bittorrent.log' }}} {{{ $ uname -a Darwin QuickSilver.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:23:43 PST 2008; root:xnu-1228.4.31~1/RELEASE_PPC Power Macintosh }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14801> MacPorts </projects/macports> Ports system for Mac OS
#14801: bittorrent port broken - permission errors ----------------------------+----------------------------------------------- Reporter: em@muljan.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bittorrent ----------------------------+----------------------------------------------- Comment (by jmr@macports.org): A version bump takes care of the locale thing, and you can work around the .bittorrent permissions issue with `sudo chown -R $USER ~/.bittorrent`. After that, it complains that there is no wx module, which seems to be because it requires wx 2.6 rather than the current 2.8. I bumped the version and changed the dependency to py-wxpython26 in r35364, but I can't test any further because wxWidgets26 won't build for me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14801#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14801: bittorrent port broken - permission errors ----------------------------+----------------------------------------------- Reporter: em@muljan.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bittorrent ----------------------------+----------------------------------------------- Comment (by em@muljan.com): Thanks for your help. Doesn't seem like wxWidgets26 will ever build on Leopard (depreciated calls). I removed the older version of bittorrent, reverted my local portfile back to plain wxWidgets and everything built OK. Only issue is still have to chown ~/Library/Application\ Support/BitTorrent/ after install. I didn't see any complaint about missing wx. {{{ bittorrent @5.2.0_0 (active) py-wxpython @2.8.7.1_0 (active) wxWidgets @2.8.7_0 (active) }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14801#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14801: bittorrent port broken on Leopard - py-wxpython version issues ----------------------------+----------------------------------------------- Reporter: em@muljan.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bittorrent ----------------------------+----------------------------------------------- Changes (by jmr@macports.org): * summary: bittorrent port broken - permission errors => bittorrent port broken on Leopard - py-wxpython version issues -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14801#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts