Deluge 1.3-rc1 w/ FlexGet on Windows

General support for problems installing or using Deluge
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Deluge 1.3-rc1 w/ FlexGet on Windows

Post by bcode »

Hi All,

I've been installing and uninstalling Deluge for a few days now, trying to get the right combination of items to get Deluge and FlexGet running properly on a Windows machine (Windows 7). I currently have a stable, properly running system (though I haven't restarted yet) and wanted to share my progress for those interested.

These instructions come courtesy of Cas and DefaultName365 (their threads can be found: http://forum.deluge-torrent.org/viewtop ... 12&t=32177 and http://forum.deluge-torrent.org/viewtop ... &start=110) with a few alterations made by myself where necessary.

STEP 1 : INSTALlING
- Install Python 2.6 [Choose latest 2.6.x release, not 2.7 or newer] (http://www.python.org/download/releases/)
Note: It's best to add Python directories to your system PATH variable from the cmd prompt using the following command (requires a restart for the new PATH to be loaded):

Code: Select all

set PATH=%path%;C:\Python26;C:\Python26\Scripts;C:\Python26\Lib\site-packages;
- Install easy_install (http://pypi.python.org/pypi/setuptools#downloads)

- Install flex-get (http://flexget.com/)
Note: To install flex_get egg from cmd prompt change to the directory where the flexget egg is located and run the command as follows:

Code: Select all

easy_install FlexGet-1.0r1197-py2.6.egg
- Install Deluge 1.3.0_rc1 with windows installer [Also installs GTK+, use default installation values] (http://download.deluge-torrent.org/windows/)

- To make Python and FlexGet aware of Deluge's presence, easy_install the Deluge EGG as follows:

Code: Select all

easy_install "C:\Program Files\Deluge\Deluge-Python\deluge-1.3.0_rc1-py2.6.egg"

STEP 2: COPY/PASTE
- Now you need to copy and paste "Bin", "Library" and "Share" folders from "C:\Program Files\GTK2-Runtime\" to "C:\Program Files\Deluge\Deluge-Python\"
- Choose to overwrite all files if the window prompts you
- Now copy ALL files from inside the "Bin" folder (either from the newly pasted folder or from GTK2-Runtime location) to "C:\Program Files\Deluge\Deluge-Python\"
- Choose to overwrite all files if the window prompts you
- At this point, believe it or not, Deluge should work, though the interface is still kinda broken.


STEP 3: THEMES [FIX UI]
- The interface can be fixed by downloading the GTK+ Theme Selector
- First download, Theme files: (http://downloads.sourceforge.net/gtk-wi ... p?download)
- Once extracted, copy the "Lib" and "Share" folders to "C:\Program Files\Deluge\Deluge-Python\"
- Choose to overwrite all files if the window prompts you
- Second download, Theme Selector: (http://downloads.sourceforge.net/gtk-wi ... e?download)
- Once downloaded and installed, copy "C:\Program Files\GTK2-Runtime\gtk2_prefs.exe" and Paste Shortcut to "C:\Program Files\Deluge\Deluge-Python\" [Pasting a shortcut leaves the original in place to be used properly from the Start Menu]
- At this point, I copy and pasted "Bin", "Library" and "Share" folders from "C:\Program Files\GTK2-Runtime\" to "C:\Program Files\Deluge\Deluge-Python\" and overwrote everything again, since the new Theme installer may have altered the these folders.
- Finally, I copy and pasted "Lib" and "Share" folders once again from the 'First download' to "C:\Program Files\Deluge\Deluge-Python\"
- Make sure Deluge is not running. Now run "C:\Program Files\Deluge\Deluge-Python\gtk2_prefs.exe" by double-clicking and choose a theme to use (I chose MS-Windows, and did not select Apply to all users.)
- Now run Deluge as usual. The theme should work and the GUI is back and it is better than ever.
- In order to use FlexGet, you'll need to configure Deluge not to use 'Simple Mode' from the Preferences... Be sure to run "C:\Program Files\Deluge\deluged.cmd" to start the daemon, before running deluge as usual.


STEP 4: TESTING
- Test to make sure FlexGet is installed properly, using the cmd prompt as follows

Code: Select all

flexget -V
- Configure a FlexGet config file (http://flexget.com/wiki/Configuration)

- From the command line you can test FlexGet as follows:

Code: Select all

flexget --test -v
- If FlexGet reports no errors, running with the '--cron' argument will actually send torrents to Deluge:

Code: Select all

flexget --cron
LordS
Member
Member
Posts: 21
Joined: Sun May 25, 2008 10:05 pm

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by LordS »

Wow, thanks for the post.

I was just looking at removing utorrent in its entirety moments ago, but after 2 failed attempts at getting FlexGet working I gave up.

I'll give this a shot later and post how I went :)

btw I'm running Windows 7 x64, so it should be mostly the same process I'd presume.
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by bcode »

Have a look at this post I made a few days ago... it should help you on your journey =)

http://forum.deluge-torrent.org/viewtop ... =7&t=32705
LordS
Member
Member
Posts: 21
Joined: Sun May 25, 2008 10:05 pm

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by LordS »

Don't suppose you can tell me where the config file is kept in windows?

I can't find it, or do I have to create it myself (if so, in what directory?)
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by bcode »

Indeed, you'll need to create it yourself...

1.) Create a new folder in your home folder called .flexget (C:\Users\YOURUSERFOLDER\.flexget\)
2.) Inside .flexget create a text file called config.yml
3.) Check out this page to help create your config file - http://flexget.com/wiki/Cookbook/Series ... tvdbSeries

that should do it - have fun =)
LordS
Member
Member
Posts: 21
Joined: Sun May 25, 2008 10:05 pm

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by LordS »

I tried to create the directory but it wouldn't let me gave an error 'you must type a filename'
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by bcode »

ah, that may have happened to me as well - Windows doesn't like '.' in filenames. To get around this, use the cmd prompt instead.

Start -> Run... -> CMD

Type the following commands:

1.) cd C:\Users\YOURUSERFOLDER\
2.) mkdir .flexget
3.) exit

Let me know if this gives you any trouble.
LordS
Member
Member
Posts: 21
Joined: Sun May 25, 2008 10:05 pm

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by LordS »

thanks for being so helpful mate, I really appreciate it.

When creating the rss file, if i want it to download absolutely everything under a category, what do I put under 'series', or in my case 'movies'

Edit: I've created the file but everytime I run it, it fails. Does it support php based feeds or only xml?
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by bcode »

No worries man.

I believe if you want to download every item that shows up in your RSS feed you just need the following in your config.yml file:

Code: Select all

feeds:
  feed_name:
    rss: http://example.com/rss.php?feed=X
    deluge: yes
Once you've saved that, open up a CMD prompt and run:

Code: Select all

flexget --test -v
If it fails, paste the output here - if it succeeds, woot!
LordS
Member
Member
Posts: 21
Joined: Sun May 25, 2008 10:05 pm

Re: Deluge 1.3-rc1 w/ FlexGet on Windows

Post by LordS »

http://pastebin.com/1YNC8uGH

I'm starting to think it doesn't like https feeds =/

Ran it with your version and got:

2010-08-18 09:30 CRITICAL deluge Deluge module and it's dependencies required. ImportError: No module named twisted.internet.protocol
Post Reply