FlexGet installation attempt

Please post questions about ReadyNAS add-ons here.

FlexGet installation attempt

Postby cure » Fri Jun 18, 2010 4:32 pm

I had a look at FlexGet, with both usenet and torrent support and all the other features it seems like a good choice.

I installed python2.5 using ssh, however it seems pyhton is still linked against python2.4 by default or something. When I install flexget it seems to use pypthon 2.4 paths, when it shouldn't. Anyone know if i can work around this in an easy manner, without breaking other stuff? Uninstall flexget, change python links/variables or something and reinstall? See the paste down below.

http://flexget.com/wiki/InstallWizard/Linux/Environment
http://flexget.com/wiki/InstallWizard/L ... nt/FlexGet

The flexget readme also has info about other requirements I'm not sure I have. I've installed the php addon, but I don't know if that will suffice.

If I do get it to run, I'll have to do it as non-root, but at this point, I can only ssh into my nas as root, don't know which other user to use or activate if needed.

* Linux Operation System
* PHP 5
* PHP cURL library (recommended)
* Webserver (for example Apache)
* An installed Newsreader client with a watch folder for
incoming NZB files (SABnzb, NZBGet are good readers)

Optional:

* Cronjob support (if you want this script to auto-download NZB files)



Code: Select all
nas:~# python2.5 -V
Python 2.5
nas:~# apt-get install python2.6
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package python2.6
nas:~# apt-get install python-setuptools
Reading package lists... Done
Building dependency tree... Done
python-setuptools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
nas:~# mkdir tmp
nas:~# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
nas:~# cd tmp
nas:~/tmp# wget http://download.flexget.com/unstable/FlexGet-1.0r1283-p      y2.5.egg
--2010-06-12 23:14:08--  http://download.flexget.com/unstable/FlexGet-1.0r1283-p      y2.5.egg
Resolving download.flexget.com... 217.112.253.41
Connecting to download.flexget.com|217.112.253.41|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 394209 (385K) [text/plain]
Saving to: `FlexGet-1.0r1283-py2.5.egg'

100%[======================================>] 394,209      105K/s   in 3.7s

2010-06-12 23:14:12 (105 KB/s) - `FlexGet-1.0r1283-py2.5.egg' saved [394209/3942      09]

nas:~/tmp# ls
FlexGet-1.0r1283-py2.5.egg
nas:~/tmp# easy_install FlexGet-1.0r1283-py2.5.egg
Processing FlexGet-1.0r1283-py2.5.egg
creating /usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg
Extracting FlexGet-1.0r1283-py2.5.egg to /usr/lib/python2.4/site-packages
  File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/mana      ger.py", line 402
    finally:
          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/util      s/tools.py", line 199
    finally:
          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/plug      ins/filter_seen.py", line 77
    finally:
          ^
SyntaxError: invalid syntax
Adding FlexGet 1.0r1283 to easy-install.pth file
Installing flexget script to /usr/bin

Installed /usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg
Processing dependencies for FlexGet==1.0r1283
Searching for FlexGet==1.0r1283
Reading http://www.python.org/pypi/FlexGet/
Couldn't find index page for 'FlexGet' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
No local packages or download links found for FlexGet==1.0r1283
error: Could not find suitable distribution for Requirement.parse('FlexGet==1.0r      1283')
Last edited by cure on Fri Jun 18, 2010 4:51 pm, edited 2 times in total.
    ReadyNAS NVX Pioneer Edition (RNDX400E), firmware 4.2.17, RAID 5 X-RAID2, ext4, 4K sector aligned
    4x Western Digital Caviar Green 2TB (WD20EARS-00J2GB0), manufacturing date 2010-05-06, firmware 80.00A80, WDIDLE3.EXE /D
    EnableRootSSH, EnableUserSSH, PHP, NASMonitor, NZBGetter (RSS usenet), NZBGet, par2, unpak.sh, unrar, Automatic (RSS bittorrent), uTorrent
What about FlexGet as a ReadyNAS addon? FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc. FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even some plugins for sites that do not provide any kind of useful feeds.
cure
ReadyNAS Newbie
 
Posts: 46
Joined: Fri Jun 11, 2010 4:31 am
Location: Venlo-Blerick, The Netherlands
ReadyNAS: NVX

Re: FlexGet installation attempt

Postby cure » Fri Jun 18, 2010 4:33 pm

Ok i managed to uninstall flexget: http://flexget.com/wiki/TracPlugins

Uninstalling

easy_install or python setup.py does not have an uninstall feature. Hower, it is usually quite trivial to remove a globally installed egg and reference:

1. Do easy_install -m [plugin name] to remove references from $PYTHONLIB/site-packages/easy-install.pth when the plugin installed by setuptools.
2. Delete executables from /usr/bin, /usr/local/bin or C:\\Python*\Scripts. For search what executables are there, you may refer to [console-script] section of setup.py.
3. Delete the .egg file or folder from where it is installed, usually inside $PYTHONLIB/site-packages/.
4. Restart web server.


uninstalled python-setuptools:
Code: Select all
apt-get remove python-setuptools


made python2.5 default and rebooted: http://codeghar.wordpress.com/2009/01/2 ... in-debian/

installed python-setuptools (not sure if i needed to reinstall).

installed flexget. no gain yet. it still installs to the 2.4 subdir, if relevant. various errors, but other than the dir thing i have no idea what may be causing them. anyone?

Code: Select all
nas:~# python -V
Python 2.5
nas:~# apt-get install python-setuptools
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  python-setuptools
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 0B/204kB of archives.
After unpacking 758kB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package python-setuptools.
(Reading database ... 20731 files and directories currently installed.)
Unpacking python-setuptools (from .../python-setuptools_0.6c3-3_all.deb) ...
Setting up python-setuptools (0.6c3-3) ...
INFO: using unsupported version '/usr/bin/python2.5'

nas:~# cd tmp/
nas:~/tmp# easy_install FlexGet-1.0r1283-py2.5.egg
Processing FlexGet-1.0r1283-py2.5.egg
creating /usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg
Extracting FlexGet-1.0r1283-py2.5.egg to /usr/lib/python2.4/site-packages
  File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/mana                                                                              ger.py", line 402
    finally:
          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/util                                                                              s/tools.py", line 199
    finally:
          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/plug                                                                              ins/filter_seen.py", line 77
    finally:
          ^
SyntaxError: invalid syntax
Adding FlexGet 1.0r1283 to easy-install.pth file
Installing flexget script to /usr/bin

Installed /usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg
Processing dependencies for FlexGet==1.0r1283
Searching for FlexGet==1.0r1283
Reading http://www.python.org/pypi/FlexGet/
Couldn't find index page for 'FlexGet' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
No local packages or download links found for FlexGet==1.0r1283
error: Could not find suitable distribution for Requirement.parse('FlexGet==1.0r                                                                              1283')
nas:~/tmp#
Last edited by cure on Fri Jun 18, 2010 4:47 pm, edited 1 time in total.
    ReadyNAS NVX Pioneer Edition (RNDX400E), firmware 4.2.17, RAID 5 X-RAID2, ext4, 4K sector aligned
    4x Western Digital Caviar Green 2TB (WD20EARS-00J2GB0), manufacturing date 2010-05-06, firmware 80.00A80, WDIDLE3.EXE /D
    EnableRootSSH, EnableUserSSH, PHP, NASMonitor, NZBGetter (RSS usenet), NZBGet, par2, unpak.sh, unrar, Automatic (RSS bittorrent), uTorrent
What about FlexGet as a ReadyNAS addon? FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc. FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even some plugins for sites that do not provide any kind of useful feeds.
cure
ReadyNAS Newbie
 
Posts: 46
Joined: Fri Jun 11, 2010 4:31 am
Location: Venlo-Blerick, The Netherlands
ReadyNAS: NVX

Re: FlexGet installation attempt

Postby cure » Fri Jun 18, 2010 4:40 pm

I was adviced by the developers in #flexget at irc.freenode.net to try the bleeding edge version: http://flexget.com/wiki/Subversion

So I updated to python 2.5 (unsupported by Debian) again: http://forums.debian.net/viewtopic.php?p=84898

Installed subversion (apt-get install), followed by flexget bleeding edge, still python issues (distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/include/python2.5/pyconfig.h (No such file or directory)):

Code: Select all
login as: nobody
nobody@nvxnas's password:
Last login: Sat Jun 19 01:19:30 2010 from 192.168.1.22 on pts/1
Linux nvxnas 2.6.33.4.RNx86_32.1.3 #1 Wed Jun 9 17:02:03 PDT 2010 i686 GNU/Linux
Last login: Sat Jun 19 01:24:01 2010 from 192.168.1.22
nobody@nvxnas:~$ ls
nobody@nvxnas:~$ cd /home/nobody/
nobody@nvxnas:/home/nobody$ ls
nobody@nvxnas:/home/nobody$ svn co http://svn.flexget.com/trunk flexget-dev
A    flexget-dev/LICENSE
A    flexget-dev/pylint.rc
A    flexget-dev/tests
A    flexget-dev/tests/test_exists_series.py
A    flexget-dev/tests/test_series.py
A    flexget-dev/tests/test_seen.py
A    flexget-dev/tests/test_regexp.py
A    flexget-dev/tests/test_max.torrent
A    flexget-dev/tests/test_misc.py
A    flexget-dev/tests/test_movieparser.py
A    flexget-dev/tests/test_urlrewriting.py
A    flexget-dev/tests/test_torrent.py
A    flexget-dev/tests/test_simple_persistence.py
A    flexget-dev/tests/test_manipulate.py
A    flexget-dev/tests/test_thetvdb.py
A    flexget-dev/tests/__init__.py
A    flexget-dev/tests/test_preset.py
A    flexget-dev/tests/test_input_sites.py
A    flexget-dev/tests/test_abort.py
A    flexget-dev/tests/README
A    flexget-dev/tests/test_rss.py
A    flexget-dev/tests/test_seriesparser.py
A    flexget-dev/tests/test_imdb.py
A    flexget-dev/tests/test_manual.py
A    flexget-dev/tests/test_strict.torrent
A    flexget-dev/tests/util.py
A    flexget-dev/tests/test_html5lib.py
A    flexget-dev/tests/rss.xml
A    flexget-dev/tests/test_sort_by.py
A    flexget-dev/tests/test.torrent
A    flexget-dev/tests/test_validator.py
A    flexget-dev/tests/test_pluginapi.py
A    flexget-dev/tests/test_min.torrent
A    flexget-dev/bootstrap.py
A    flexget-dev/pavement.py
A    flexget-dev/MANIFEST.in
A    flexget-dev/flexget_vanilla.py
A    flexget-dev/README
A    flexget-dev/flexget
A    flexget-dev/flexget/utils
A    flexget-dev/flexget/utils/imdb.py
A    flexget-dev/flexget/utils/simple_persistence.py
A    flexget-dev/flexget/utils/titles
A    flexget-dev/flexget/utils/titles/series.py
A    flexget-dev/flexget/utils/titles/parser.py
A    flexget-dev/flexget/utils/titles/__init__.py
A    flexget-dev/flexget/utils/titles/movie.py
A    flexget-dev/flexget/utils/__init__.py
A    flexget-dev/flexget/utils/qualities.py
A    flexget-dev/flexget/utils/tools.py
A    flexget-dev/flexget/utils/log.py
A    flexget-dev/flexget/utils/sqlalchemy_utils.py
A    flexget-dev/flexget/utils/soup.py
A    flexget-dev/flexget/manager.py
A    flexget-dev/flexget/plugins
A    flexget-dev/flexget/plugins/module_include.py
A    flexget-dev/flexget/plugins/module_interval.py
A    flexget-dev/flexget/plugins/module_thetvdb_lookup.py
A    flexget-dev/flexget/plugins/__init__.py
A    flexget-dev/flexget/plugins/filter_regexp.py
A    flexget-dev/flexget/plugins/input_scenereleases.py
A    flexget-dev/flexget/plugins/module_formlogin.py
A    flexget-dev/flexget/plugins/modify_set.py
A    flexget-dev/flexget/plugins/output_sabnzbd.py
A    flexget-dev/flexget/plugins/input_text.py
A    flexget-dev/flexget/plugins/plugin_torrent_size.py
A    flexget-dev/flexget/plugins/modify_plugin_priority.py
A    flexget-dev/flexget/plugins/output_email.py
A    flexget-dev/flexget/plugins/input_mock.py
A    flexget-dev/flexget/plugins/filter_content_size.py
A    flexget-dev/flexget/plugins/module_search.py
A    flexget-dev/flexget/plugins/output_dump_config.py
A    flexget-dev/flexget/plugins/module_spy_headers.py
A    flexget-dev/flexget/plugins/module_path_by_ext.py
A    flexget-dev/flexget/plugins/plugin_urlrewriting.py
A    flexget-dev/flexget/plugins/urlrewrite_isohunt.py
A    flexget-dev/flexget/plugins/urlrewrite_nyaatorrents.py
A    flexget-dev/flexget/plugins/urlrewrite_newtorrents.py
A    flexget-dev/flexget/plugins/module_disable_builtins.py
A    flexget-dev/flexget/plugins/urlrewrite_demonoid.py
A    flexget-dev/flexget/plugins/filter_exists_movie.py
A    flexget-dev/flexget/plugins/filter_imdb_queue.py
A    flexget-dev/flexget/plugins/filter_exists.py
A    flexget-dev/flexget/plugins/output_dump.py
A    flexget-dev/flexget/plugins/output_deluge.py
A    flexget-dev/flexget/plugins/output_download.py
A    flexget-dev/flexget/plugins/urlrewrite_urlrewrite.py
A    flexget-dev/flexget/plugins/input_listdir.py
A    flexget-dev/flexget/plugins/filter_accept_all.py
A    flexget-dev/flexget/plugins/module_try_regexp.py
A    flexget-dev/flexget/plugins/urlrewrite_btjunkie.py
A    flexget-dev/flexget/plugins/filter_thetvdb.py
A    flexget-dev/flexget/plugins/module_preset.py
A    flexget-dev/flexget/plugins/urlrewrite_newzleech.py
A    flexget-dev/flexget/plugins/input_generate.py
A    flexget-dev/flexget/plugins/module_imdb_lookup.py
A    flexget-dev/flexget/plugins/input_csv.py
A    flexget-dev/flexget/plugins/urlrewrite_stmusic.py
A    flexget-dev/flexget/plugins/filter_imdb.py
A    flexget-dev/flexget/plugins/filter_imdb_required.py
A    flexget-dev/flexget/plugins/output_history.py
A    flexget-dev/flexget/plugins/module_change_warn.py
A    flexget-dev/flexget/plugins/plugin_feed_priority.py
A    flexget-dev/flexget/plugins/module_manual.py
A    flexget-dev/flexget/plugins/modify_extension.py
A    flexget-dev/flexget/plugins/filter_require_field.py
A    flexget-dev/flexget/plugins/module_plugins.py
A    flexget-dev/flexget/plugins/module_sort_by.py
A    flexget-dev/flexget/plugins/filter_thetvdb_favorites.py
A    flexget-dev/flexget/plugins/input_inject.py
A    flexget-dev/flexget/plugins/output_subtitles.py
A    flexget-dev/flexget/plugins/plugin_archive.py
A    flexget-dev/flexget/plugins/filter_seen.py
A    flexget-dev/flexget/plugins/module_cookies.py
A    flexget-dev/flexget/plugins/filter_delay.py
A    flexget-dev/flexget/plugins/urlrewrite_piratebay.py
A    flexget-dev/flexget/plugins/output_exec.py
A    flexget-dev/flexget/plugins/modify_torrent.py
A    flexget-dev/flexget/plugins/module_manipulate.py
A    flexget-dev/flexget/plugins/input_tvtorrents.py
A    flexget-dev/flexget/plugins/urlrewrite_redskunk.py
A    flexget-dev/flexget/plugins/input_backlog.py
A    flexget-dev/flexget/plugins/input_rlslog.py
A    flexget-dev/flexget/plugins/modify_headers.py
A    flexget-dev/flexget/plugins/input_html.py
A    flexget-dev/flexget/plugins/output_prowl.py
A    flexget-dev/flexget/plugins/metainfo_feed.py
A    flexget-dev/flexget/plugins/urlrewrite_btchat.py
A    flexget-dev/flexget/plugins/urlrewrite_google_cse.py
A    flexget-dev/flexget/plugins/filter_limit_new.py
A    flexget-dev/flexget/plugins/plugin_adv_exec.py
A    flexget-dev/flexget/plugins/filter_quality.py
A    flexget-dev/flexget/plugins/filter_exists_series.py
A    flexget-dev/flexget/plugins/filter_imdb_rated.py
A    flexget-dev/flexget/plugins/filter_series.py
A    flexget-dev/flexget/plugins/module_cli_config.py
A    flexget-dev/flexget/plugins/plugin_nzb_size.py
A    flexget-dev/flexget/plugins/input_tail.py
A    flexget-dev/flexget/plugins/metainfo_quality.py
A    flexget-dev/flexget/plugins/output_transmissionrpc.py
A    flexget-dev/flexget/plugins/metainfo_imdb_url.py
A    flexget-dev/flexget/plugins/filter_seen_movies.py
A    flexget-dev/flexget/plugins/output_html.py
A    flexget-dev/flexget/plugins/modify_trackers.py
A    flexget-dev/flexget/plugins/cached_input.py
A    flexget-dev/flexget/plugins/input_rss.py
A    flexget-dev/flexget/plugins/output_rss.py
A    flexget-dev/flexget/options.py
A    flexget-dev/flexget/plugin.py
A    flexget-dev/flexget/__init__.py
A    flexget-dev/flexget/feed.py
A    flexget-dev/flexget/validator.py
A    flexget-dev/templates
A    flexget-dev/templates/test.yml
A    flexget-dev/templates/default.template
U   flexget-dev
Checked out revision 1304.
nobody@nvxnas:/home/nobody$ python -V
Python 2.5
nobody@nvxnas:/home/nobody$ ls
flexget-dev
nobody@nvxnas:/home/nobody$ cd flexget-dev/
nobody@nvxnas:/home/nobody/flexget-dev$ ls
bootstrap.py  flexget_vanilla.py  MANIFEST.in  pylint.rc  templates
flexget       LICENSE             pavement.py  README     tests
nobody@nvxnas:/home/nobody/flexget-dev$ python bootstrap.py
Traceback (most recent call last):
  File "bootstrap.py", line 1499, in <module>
    main()
  File "bootstrap.py", line 531, in main
    use_distribute=options.use_distribute)
  File "bootstrap.py", line 614, in create_environment
    site_packages=site_packages, clear=clear))
  File "bootstrap.py", line 677, in install_python
    fix_lib64(lib_dir)
  File "bootstrap.py", line 896, in fix_lib64
    if [p for p in distutils.sysconfig.get_config_vars().values()
  File "distutils/sysconfig.py", line 493, in get_config_vars
  File "distutils/sysconfig.py", line 363, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to                                                                                 open /usr/include/python2.5/pyconfig.h (No such file or directory)
nobody@nvxnas:/home/nobody/flexget-dev$


Code: Select all
login as: root
Authenticating with public key "imported-openssh-key"
Last login: Sat Jun 19 01:41:14 2010 from 192.168.1.22
Last login: Sat Jun 19 01:41:29 2010 from 192.168.1.22 on pts/2
Linux nvxnas 2.6.33.4.RNx86_32.1.3 #1 Wed Jun 9 17:02:03 PDT 2010 i686 GNU/Linux
nvxnas:~# find / -name pyconfig.h
nvxnas:~#


I have no idea where to go from here.
    ReadyNAS NVX Pioneer Edition (RNDX400E), firmware 4.2.17, RAID 5 X-RAID2, ext4, 4K sector aligned
    4x Western Digital Caviar Green 2TB (WD20EARS-00J2GB0), manufacturing date 2010-05-06, firmware 80.00A80, WDIDLE3.EXE /D
    EnableRootSSH, EnableUserSSH, PHP, NASMonitor, NZBGetter (RSS usenet), NZBGet, par2, unpak.sh, unrar, Automatic (RSS bittorrent), uTorrent
What about FlexGet as a ReadyNAS addon? FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc. FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even some plugins for sites that do not provide any kind of useful feeds.
cure
ReadyNAS Newbie
 
Posts: 46
Joined: Fri Jun 11, 2010 4:31 am
Location: Venlo-Blerick, The Netherlands
ReadyNAS: NVX

Re: FlexGet installation attempt

Postby cure » Sun Jun 20, 2010 3:24 pm

Code: Select all
login as: root
Authenticating with public key "imported-openssh-key"
Last login: Mon Jun 21 00:11:17 2010 from 192.168.1.22 on pts/1
Linux nvxnas 2.6.33.4.RNx86_32.1.4 #1 Fri Jun 18 16:50:39 PDT 2010 i686 GNU/Linux
nvxnas:~# apt-get remove python2.5
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libgd2-noxpm: Conflicts: libgd2-xpm but 2.0.33-5.2etch2 is to be installed
  libgd2-xpm: Conflicts: libgd2-noxpm but 2.0.33-5.2etch1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
nvxnas:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  libgd2-xpm php5-gd
0 upgraded, 0 newly installed, 2 to remove and 44 not upgraded.
Need to get 0B of archives.
After unpacking 782kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 19586 files and directories currently installed.)
Removing php5-gd ...
Removing libgd2-xpm ...
nvxnas:~# apt-get remove python2.5
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  python2.5
0 upgraded, 0 newly installed, 1 to remove and 44 not upgraded.
Need to get 0B of archives.
After unpacking 12.4MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 19577 files and directories currently installed.)
Removing python2.5 ...
nvxnas:~# apt-get install python2.5
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  python2.5-doc python-profiler
The following NEW packages will be installed:
  python2.5
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 0B/3485kB of archives.
After unpacking 12.4MB of additional disk space will be used.
Selecting previously deselected package python2.5.
(Reading database ... 18941 files and directories currently installed.)
Unpacking python2.5 (from .../python2.5_2.5-5+etch2_i386.deb) ...
Setting up python2.5 (2.5-5+etch2) ...

nvxnas:~# python2.5 -V
Python 2.5
nvxnas:~#


Manually did a dirty copy of /usr/include/python2.5/pyconfig.h from python2.5_2.5.2-15_i386.deb. Yes, I know its stupid.

Installed flexget subversion. Some weird stuff going on, at first flexget complained about a config file not being present, so i made one, verified it was correct. No errors while executing flexget, but no output either. Not even in verbose or debug mode. --help does give normal output though. The devs say its pretty weird.

I could try all this on debian 4.0 (etch) under vmware on my desktop pc, to check if its any different. Which debian 4.0 release is radiator based on?
    ReadyNAS NVX Pioneer Edition (RNDX400E), firmware 4.2.17, RAID 5 X-RAID2, ext4, 4K sector aligned
    4x Western Digital Caviar Green 2TB (WD20EARS-00J2GB0), manufacturing date 2010-05-06, firmware 80.00A80, WDIDLE3.EXE /D
    EnableRootSSH, EnableUserSSH, PHP, NASMonitor, NZBGetter (RSS usenet), NZBGet, par2, unpak.sh, unrar, Automatic (RSS bittorrent), uTorrent
What about FlexGet as a ReadyNAS addon? FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc. FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even some plugins for sites that do not provide any kind of useful feeds.
cure
ReadyNAS Newbie
 
Posts: 46
Joined: Fri Jun 11, 2010 4:31 am
Location: Venlo-Blerick, The Netherlands
ReadyNAS: NVX

Re: FlexGet installation attempt

Postby rjgould » Fri Aug 20, 2010 6:16 am

Did you ever have any joy with this cure?
rjgould
ReadyNAS Newbie
 
Posts: 6
Joined: Thu Oct 29, 2009 7:57 am
ReadyNAS: Duo

Re: FlexGet installation attempt

Postby cure » Fri Aug 20, 2010 3:17 pm

nope, never got it to work, the flexget devs didn't know it either back then, gave up since. i wasn't the only one with these problems, there were people on other platforms with similar issues.

too bad since flexget seems really nice, judging by its features.
    ReadyNAS NVX Pioneer Edition (RNDX400E), firmware 4.2.17, RAID 5 X-RAID2, ext4, 4K sector aligned
    4x Western Digital Caviar Green 2TB (WD20EARS-00J2GB0), manufacturing date 2010-05-06, firmware 80.00A80, WDIDLE3.EXE /D
    EnableRootSSH, EnableUserSSH, PHP, NASMonitor, NZBGetter (RSS usenet), NZBGet, par2, unpak.sh, unrar, Automatic (RSS bittorrent), uTorrent
What about FlexGet as a ReadyNAS addon? FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc. FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even some plugins for sites that do not provide any kind of useful feeds.
cure
ReadyNAS Newbie
 
Posts: 46
Joined: Fri Jun 11, 2010 4:31 am
Location: Venlo-Blerick, The Netherlands
ReadyNAS: NVX

Re: FlexGet installation attempt

Postby paranoidi » Mon Aug 23, 2010 3:05 am

FlexGet developer commenting here, the issue where FlexGet gave no error regardless of how it was executed was fixed some time ago. It was because of missing pysqlite dependency error which was logged incorrectly. I hope FlexGet is now easily usable on ReadyNAS too :)

My guess that this should get it up and running:

Code: Select all
sudo apt-get install python-setuptools
sudo apt-get install pysqlite
sudo easy_install http://download.flexget.com/unstable/FlexGet-1.0r1359-py2.5.egg*

* = replace with latest download link from http://flexget.com
paranoidi
ReadyNAS Newbie
 
Posts: 3
Joined: Mon Aug 23, 2010 2:55 am

Re: FlexGet installation attempt

Postby Incendary » Wed Aug 25, 2010 8:20 am

Hi

i have been trying to get a working RSS torrent downloader happening for some time

i thought i had a winner with this 1

when running the commands

i can the response below


nv:~# sudo apt-get install python-setuptools
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package python-setuptools
nv:~# sudo apt-get install pysqlite
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package pysqlite
nv:~# sudo easy_install http://download.flexget.com/unstable/FlexGet-1.0r1377-py2.6.egg
sudo: easy_install: command not found
nv:~#

Bolded type being where i enter data
Incendary
ReadyNAS Newbie
 
Posts: 5
Joined: Mon Aug 03, 2009 6:25 am
ReadyNAS: Duo

Re: FlexGet installation attempt

Postby paranoidi » Thu Aug 26, 2010 6:53 am

Oh, I didn't take into account that ReadyNAS is still using ancient Python 2.4. You must install Python 2.6 or 2.5 trough package manager and setuptools to it.

I have no idea what these packages are called in the distribution in question. Use `apt-cache search python` to find the names .. probably something along `python2.5` and `python2.5-setuptools`.
paranoidi
ReadyNAS Newbie
 
Posts: 3
Joined: Mon Aug 23, 2010 2:55 am

Re: FlexGet installation attempt

Postby Riokmij » Sat Sep 11, 2010 4:08 am

I managed to get Flexget working on my ReadyNAS Duo. It's not that easy, as it is running a pretty old Debian version that doesn't package Python version > 2.4. That means I had to compile Python 2.5 myself.

To compile Python, follow the instructions from this other topic http://www.readynas.com/forum/viewtopic.php?f=36&t=41478 You need to do from step 1 to step 8 (install and compile Python 2.5 and pysqlite)

Once it's done:
  1. # wget http://peak.telecommunity.com/dist/ez_setup.py
  2. # python2.5 ez_setup.py
  3. from this point, follow the generic Linux installation instructions from http://flexget.com/wiki/InstallWizard/Linux/Environment/FlexGet

And that's it :)
Please note that as the Duo has a pretty slow CPU, the compilation will take some time (a few hours). FlexGet is also pretty slow, I have a configuration with just one feed, it takes more that one minute to execute it.
Riokmij
ReadyNAS Newbie
 
Posts: 1
Joined: Sat Sep 11, 2010 3:49 am
ReadyNAS: Duo

Re: FlexGet installation attempt

Postby cure » Fri Nov 19, 2010 4:25 pm

paranoidi wrote:FlexGet developer commenting here, the issue where FlexGet gave no error regardless of how it was executed was fixed some time ago. It was because of missing pysqlite dependency error which was logged incorrectly. I hope FlexGet is now easily usable on ReadyNAS too :)

My guess that this should get it up and running:

Code: Select all
sudo apt-get install python-setuptools
sudo apt-get install pysqlite
sudo easy_install http://download.flexget.com/unstable/FlexGet-1.0r1359-py2.5.egg*

* = replace with latest download link from http://flexget.com


Thanks, I'll have a look later! :)
    ReadyNAS NVX Pioneer Edition (RNDX400E), firmware 4.2.17, RAID 5 X-RAID2, ext4, 4K sector aligned
    4x Western Digital Caviar Green 2TB (WD20EARS-00J2GB0), manufacturing date 2010-05-06, firmware 80.00A80, WDIDLE3.EXE /D
    EnableRootSSH, EnableUserSSH, PHP, NASMonitor, NZBGetter (RSS usenet), NZBGet, par2, unpak.sh, unrar, Automatic (RSS bittorrent), uTorrent
What about FlexGet as a ReadyNAS addon? FlexGet is a multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc. FlexGet is able to handle different kinds of sources like RSS-feeds, html pages and even csv files. There are even some plugins for sites that do not provide any kind of useful feeds.
cure
ReadyNAS Newbie
 
Posts: 46
Joined: Fri Jun 11, 2010 4:31 am
Location: Venlo-Blerick, The Netherlands
ReadyNAS: NVX


Return to General Discussion on ReadyNAS Add-ons



Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher and 3 guests