Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Support for Deluge on Apple Mac OS
dan112
New User
New User
Posts: 5
Joined: Sun Jan 17, 2010 10:42 pm

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby dan112 » Wed Jan 20, 2010 2:26 am

I did some stuffs:

Code: Select all

$ deluge -u web -L debug
[INFO    ] 21:25:10 main:114 Deluge ui 1.2.0
[DEBUG   ] 21:25:10 main:115 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': 'web', 'logfile': None, 'config': None}
[DEBUG   ] 21:25:10 main:116 args: []
[DEBUG   ] 21:25:10 main:117 ui_args: []
[INFO    ] 21:25:10 main:120 Starting ui..
[DEBUG   ] 21:25:10 ui:109 UI init..
[DEBUG   ] 21:25:10 configmanager:111 Getting config 'ui.conf'
[DEBUG   ] 21:25:10 config:374 Config /Users//.config/deluge/ui.conf version: 1.1 loaded: {'default_ui': u'gtk'}
[WARNING ] 21:25:10 config:402 Unable to open config file: /Users//.config/deluge/ui.conf
[DEBUG   ] 21:25:10 config:408 Saving new config file /Users//.config/deluge/ui.conf.new
[DEBUG   ] 21:25:10 config:421 Backing up old config file to /Users//.config/deluge/ui.conf~
[DEBUG   ] 21:25:10 config:429 Moving new config file /Users//.config/deluge/ui.conf.new to /Users//.config/deluge/ui.conf..
[INFO    ] 21:25:10 ui:130 Starting WebUI..
[ERROR   ] 21:25:10 ui:146 No module named chardet
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/ui.py", line 132, in __init__
    ui = WebUI(args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/web/web.py", line 43, in __init__
    import server
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/web/server.py", line 56, in <module>
    from deluge.ui import common as uicommon
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/common.py", line 45, in <module>
    import chardet
ImportError: No module named chardet
[ERROR   ] 21:25:10 ui:147 There was an error whilst launching the request UI: web
[ERROR   ] 21:25:10 ui:148 Look at the traceback above for more information.

dan112
New User
New User
Posts: 5
Joined: Sun Jan 17, 2010 10:42 pm

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby dan112 » Wed Jan 20, 2010 5:07 am

Woah!
I just ran it and it worked!
Magic.

Thanks so much. Time to configure!!!

johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
OS or Distro: Arch Linux x86_64
Location: Sydney, Australia

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby johnnyg » Wed Jan 20, 2010 5:09 am

dan112 wrote:I did some stuffs:

Code: Select all

$ deluge -u web -L debug
[INFO    ] 21:25:10 main:114 Deluge ui 1.2.0
[DEBUG   ] 21:25:10 main:115 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': 'web', 'logfile': None, 'config': None}
[DEBUG   ] 21:25:10 main:116 args: []
[DEBUG   ] 21:25:10 main:117 ui_args: []
[INFO    ] 21:25:10 main:120 Starting ui..
[DEBUG   ] 21:25:10 ui:109 UI init..
[DEBUG   ] 21:25:10 configmanager:111 Getting config 'ui.conf'
[DEBUG   ] 21:25:10 config:374 Config /Users//.config/deluge/ui.conf version: 1.1 loaded: {'default_ui': u'gtk'}
[WARNING ] 21:25:10 config:402 Unable to open config file: /Users//.config/deluge/ui.conf
[DEBUG   ] 21:25:10 config:408 Saving new config file /Users//.config/deluge/ui.conf.new
[DEBUG   ] 21:25:10 config:421 Backing up old config file to /Users//.config/deluge/ui.conf~
[DEBUG   ] 21:25:10 config:429 Moving new config file /Users//.config/deluge/ui.conf.new to /Users//.config/deluge/ui.conf..
[INFO    ] 21:25:10 ui:130 Starting WebUI..
[ERROR   ] 21:25:10 ui:146 No module named chardet
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/ui.py", line 132, in __init__
    ui = WebUI(args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/web/web.py", line 43, in __init__
    import server
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/web/server.py", line 56, in <module>
    from deluge.ui import common as uicommon
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/deluge-1.2.0-py2.6-macosx-10.6-i386.egg/deluge/ui/common.py", line 45, in <module>
    import chardet
ImportError: No module named chardet
[ERROR   ] 21:25:10 ui:147 There was an error whilst launching the request UI: web
[ERROR   ] 21:25:10 ui:148 Look at the traceback above for more information.


you need to install python-chardet.

pixels

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby pixels » Fri Jan 22, 2010 12:39 am

I did the first step and everything seemed fine up until the python step. Here's the error. Anyone got any idea how to fix this?

I'm on Mac OSX Leopard 10.6.2 with xcode and macports installed.

Code: Select all

--->  Fetching python26
--->  Attempting to fetch Python-2.6.2.tar.bz2 from http://www.python.org//ftp/python/2.6.2/
--->  Verifying checksum(s) for python26
--->  Extracting python26
--->  Applying patches to python26
--->  Configuring python26
--->  Building python26
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2" && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2
Command output: if test ""; then \
      /usr/bin/gcc-4.2 -o Python.framework/Versions/2.6/Python  -dynamiclib \
         -isysroot "" \
         -all_load libpython2.6.a -Wl,-single_module \
         -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \
         -compatibility_version 2.6 \
         -current_version 2.6; \
        else \
      /usr/bin/libtool -o Python.framework/Versions/2.6/Python -dynamic  libpython2.6.a \
          -lSystem -lSystemStubs -arch_only i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python -compatibility_version 2.6 -current_version 2.6 ;\
   fi
/usr/bin/install -c -d -m 755  \
      Python.framework/Versions/2.6/Resources/English.lproj
/usr/bin/install -c -m 644 Mac/Resources/framework/Info.plist \
      Python.framework/Versions/2.6/Resources/Info.plist
ln -fsn 2.6 Python.framework/Versions/Current
ln -fsn Versions/Current/Python Python.framework/Python
ln -fsn Versions/Current/Headers Python.framework/Headers
ln -fsn Versions/Current/Resources Python.framework/Resources
/usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.6/Python -o python.exe \
         Modules/python.o \
          -ldl     
ld: warning: in Python.framework/Versions/2.6/Python, file is not of required architecture
Undefined symbols:
  "_PyMac_Error", referenced from:
  "_Py_Main", referenced from:
      _main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

Error: Status 1 encountered during processing.

comedian
Member
Member
Posts: 29
Joined: Sat Nov 28, 2009 3:55 am

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby comedian » Fri Jan 22, 2010 6:50 am

It *looks* to me like a 32/64 bitness issue. Like you're running 64-bit Snow kernel and the py26 compile is trying for i386 (32-bit) mode. What's the output of "uname -a" (from a terminal prompt) look like? If it ends in x86_64, try rebooting and holding down the "3" and "2" keys, then retry the python compile after the reboot.

pixels

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby pixels » Fri Jan 22, 2010 6:10 pm

comedian wrote:It *looks* to me like a 32/64 bitness issue. Like you're running 64-bit Snow kernel and the py26 compile is trying for i386 (32-bit) mode. What's the output of "uname -a" (from a terminal prompt) look like? If it ends in x86_64, try rebooting and holding down the "3" and "2" keys, then retry the python compile after the reboot.



Code: Select all

root:xnu-1486.2.11~1/RELEASE_I386 i386


That was the last bit of text I got from doing that command. Nothing about x86_64 anywhere in the output. Any other idea :x? I'm not that good with this stuff so I can't figure out why it gave me an error at all :/

comedian
Member
Member
Posts: 29
Joined: Sat Nov 28, 2009 3:55 am

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby comedian » Fri Jan 22, 2010 6:17 pm

I got nothin' then. Sorry. I haven't used this method to install yet.

PacoBell
New User
New User
Posts: 3
Joined: Fri Jan 22, 2010 7:09 pm

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby PacoBell » Fri Jan 22, 2010 7:13 pm

"mkvirtualenv deluge" isn't working for me. There doesn't seem to be any such executable even after easy_install'ing it. You sure it isn't just "virtualenv"?

comedian
Member
Member
Posts: 29
Joined: Sat Nov 28, 2009 3:55 am

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby comedian » Fri Jan 22, 2010 7:18 pm

"mkvirtualenv deluge" isn't working for me. There doesn't seem to be any such executable even after easy_install'ing it.


That generally means the executable is not in your path.

Check to make sure "echo $PATH" contains /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin. If it does, cd to that directory and see if mkvirtualenv exists. If it doesn't, make sure you've done a /opt/local/bin/python_select python26 before installing mkvirtualenv.

PacoBell
New User
New User
Posts: 3
Joined: Fri Jan 22, 2010 7:09 pm

Re: Tutorial: Deluge 1.2.0 and flexget up and running in 30mins

Postby PacoBell » Fri Jan 22, 2010 7:37 pm

What's weird is that I did all that and I still don't see mkvirtualenv in the proper directory, however, typing mkvirtualenv does what's expected. I have no freakin' clue which path this command is coming from o_O

P.S. Even a sudo find / -name "mkvirtualenv" -print comes up with nothing. What's going on?! Bleh.
Last edited by PacoBell on Sat Jan 23, 2010 1:02 am, edited 1 time in total.


Return to “Mac OS”

Who is online

Users browsing this forum: No registered users and 1 guest