NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
hellbent1
May 20, 2010Aspirant
Automatic 0.6.2 on Duo Issues
I've been trying to get automatic running on my Duo for the last few days with little to no success. I'm not much for unix so that doesn't help matters but i'll walk you thru where i've gotten to.
i have the automatic bin installed and am currently starting the daemon manually so i can pass it custom paths to where my config file is (why on earth it's it /etc/ and not in c/addons-config/ i'll never know) and where to output a log file. for example:
based on another thread for automatic (x86 version) here on this board i've configured my automatic.conf file as such (i've removed all the commenting to keep this code box small and readable:
as you can see i've changed some things etc, hopefully they're correct. i wish the automatic.conf-sample had actual examples in it!!!
anyway, the log i'm generating is throwing this at me at level 1:
any ideas? i've tried various setups using external instead of 1.3 to just try to save .torrent files to my sources directory and let transmission do the watching and starting itself but those attempts haven't born any fruit either.
thanks,
hellbent
i have the automatic bin installed and am currently starting the daemon manually so i can pass it custom paths to where my config file is (why on earth it's it /etc/ and not in c/addons-config/ i'll never know) and where to output a log file. for example:
automatic -v 5 -l /c/addons-config/automatic/auto.log -c /c/addons-config/automatic/automatic.conf
based on another thread for automatic (x86 version) here on this board i've configured my automatic.conf file as such (i've removed all the commenting to keep this code box small and readable:
transmission-version = "1.3"
rpc-host = "localhost"
rpc-port = 8181 (i assume this port is the same as the transmission web-access port? its the same port i use for transmission-remote-dotNet)
rpc-auth = "MYUSER:MYPASS"
feed = { url => "http://ezrss.it/feed" }
interval = 30
# upload-limit = 10 (unchanged)
# use-transmission = yes (disabled for testing)
# start-torrents = yes (disabled for testing)
torrent-folder = "/c/media/BitTorrent/sources/"
statefile = "/c/addons-config/automatic/automatic.state"
filter = { pattern => ".*" folder => "" }
as you can see i've changed some things etc, hopefully they're correct. i wish the automatic.conf-sample had actual examples in it!!!
anyway, the log i'm generating is throwing this at me at level 1:
../src/web.c, 523: Upload to 'http://localhost:8181/transmission/rpc' failed: number of redirects hit maximum amount
any ideas? i've tried various setups using external instead of 1.3 to just try to save .torrent files to my sources directory and let transmission do the watching and starting itself but those attempts haven't born any fruit either.
thanks,
hellbent
54 Replies
Replies have been turned off for this discussion
- btaroliProdigyI think the configuration file is intended to be self-documenting. The most troublesome part seems to be setting up filters and patterns. But the best references for these are actually documents regarding regular expressions. Plenty of those out there, and it's definitely tricky to get the ?! and ?= just right. ;-)
- btaroliProdigyOh, by the way. For those of you using Automatic with TVTorrents... there is a MUCH easier way to set up includes and excludes now. They have a "mytaggedRSS" feature to replace the standard "favorite" RSS feed. This new features offers "include" and "exclude" parameters that can be used to wildcard filter the feed /before/ your RSS client (including Automatic) sees it.
So I've converted mine to this and have been able to simply use a filter of ".*". Upshot is that if you want to do different cuts of filters, you simply specify multiple feed URLs with different parameters. And if you want to apply those filters to specific shows, you merely apply the tags (in TVTorrents' site) to just those shows.
VERY handy, and makes using Automatic even more... automatic! ;) - emcAspirantCan you post conf which really works!
My:transmission-version = "1.3"
rpc-host = "localhost"
rpc-port = 9091
rpc-auth = "admin:password1"
feed = {url => "http://ezrss.it/feed"
url => "http://thepiratebay.org/rss"}
interval = 30
use-transmission = no
start-torrents = no
torrent-folder = "/tmp"
statefile = "~/.config/automatic.state"
filter = { pattern => "Star.Wars.The.Clone.Wars.S03E*HDTV.XviD-FQM" }
produce:flap:/etc/frontview/addons/bin/AUTOMATIC# automatic -f -v 3
automatic: /usr/lib/libcurl.so.3: no version information available (required by automatic)
../src/config_parser.c, 431: Configuration file size: 362
../src/config_parser.c, 601: [parse_config_file] option: transmission-version
../src/config_parser.c, 602: [parse_config_file] param: 1.3 (3 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: transmission-version=1.3 (type: 0)
../src/config_parser.c, 601: [parse_config_file] option: rpc-host
../src/config_parser.c, 602: [parse_config_file] param: localhost (9 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: rpc-host=localhost (type: 0)
../src/config_parser.c, 601: [parse_config_file] option: rpc-port
../src/config_parser.c, 602: [parse_config_file] param: 9091 (4 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: rpc-port=9091 (type: 1)
../src/config_parser.c, 601: [parse_config_file] option: rpc-auth
../src/config_parser.c, 602: [parse_config_file] param: admin:password1 (15 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: rpc-auth=admin:password1 (type: 0)
../src/config_parser.c, 561: reading multiline param
../src/config_parser.c, 575: multiline param: param_good=0
../src/config_parser.c, 601: [parse_config_file] option: feed
../src/config_parser.c, 602: [parse_config_file] param: url => "http://ezrss.it/feed"
url => "http://thepiratebay.org/rss" (66 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: feed=url => "http://ezrss.it/feed"
url => "http://thepiratebay.org/rss" (type: 2)
../src/regex.c, 95: [getRegExMatch] Text to match against: http://thepiratebay.org/rss (27 byte)
../src/config_parser.c, 601: [parse_config_file] option: interval
../src/config_parser.c, 602: [parse_config_file] param: 30 (2 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: interval=30 (type: 1)
../src/config_parser.c, 601: [parse_config_file] option: use-transmission
../src/config_parser.c, 602: [parse_config_file] param: no (2 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: use-transmission=no (type: 1)
../src/config_parser.c, 601: [parse_config_file] option: start-torrents
../src/config_parser.c, 602: [parse_config_file] param: no (2 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: start-torrents=no (type: 1)
../src/config_parser.c, 601: [parse_config_file] option: torrent-folder
../src/config_parser.c, 602: [parse_config_file] param: /tmp (4 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: torrent-folder=/tmp (type: 0)
../src/config_parser.c, 601: [parse_config_file] option: statefile
../src/config_parser.c, 602: [parse_config_file] param: ~/.config/automatic.state (25 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: statefile=~/.config/automatic.state (type: 0)
../src/config_parser.c, 561: reading multiline param
../src/config_parser.c, 575: multiline param: param_good=0
../src/config_parser.c, 601: [parse_config_file] option: filter
../src/config_parser.c, 602: [parse_config_file] param: pattern => "Star.Wars.The.Clone.Wars.S03E*HDTV.XviD-FQM" (58 byte)
../src/config_parser.c, 603: [parse_config_file] -----------------
../src/config_parser.c, 320: filter= pattern => "Star.Wars.The.Clone.Wars.S03E*HDTV.XviD-FQM" (type: 2)
../src/automatic.c, 519: verbose level: 3
../src/automatic.c, 520: Transmission version: 1.3
../src/automatic.c, 521: RPC host: localhost
../src/automatic.c, 522: RPC port: 9091
../src/automatic.c, 523: RPC auth: admin:password1
../src/automatic.c, 524: foreground mode: yes
../src/automatic.c, 525: config file: /etc/automatic.conf
../src/automatic.c, 526: Transmission home: /root/.config/transmission
../src/automatic.c, 527: check interval: 30 min
../src/automatic.c, 528: Upload limit: -1 KB/s
../src/automatic.c, 529: torrent folder: /tmp
../src/automatic.c, 530: start torrents: no
../src/automatic.c, 531: state file: /root/.config/automatic.state
../src/automatic.c, 535: 1 feed URLs
../src/automatic.c, 536: Read 1 filters from config file
../src/state.c, 100: [load_state] Error: Unable to open statefile '/root/.config/automatic.state' for reading: No such file or directory
[11/08/25 21:27:25] ../src/automatic.c, 565: ------ Checking for new episodes ------
../src/automatic.c, 578: Checking feed 1 ...
../src/web.c, 401: [getHTTPData] url=http://thepiratebay.org/rss, curl_session=(nil)
../src/web.c, 366: [am_curl_init] Created new curl session 0x39d70
../src/web.c, 188: [write_data_callback] allocated 102400 bytes for mem->response->data
../src/web.c, 438: [getHTTPData] response code: 0
../src/automatic.c, 432: [processFeed] curl_session=0x39d70
Entity: line 59: parser error : Entity 'nbsp' not defined
<b><a href="/" title="Search Torrents">Search Torrents</a></b> |&n
^
Entity: line 59: parser error : Entity 'nbsp' not defined
<b><a href="/" title="Search Torrents">Search Torrents</a></b> |&n
^
Entity: line 59: parser error : Entity 'nbsp' not defined
<b><a href="/" title="Search Torrents">Search Torrents</a></b> | 
^
Entity: line 60: parser error : Entity 'nbsp' not defined
<a href="/browse" title="Browse Torrents">Browse Torrents</a> |&nb
^
Entity: line 60: parser error : Entity 'nbsp' not defined
<a href="/browse" title="Browse Torrents">Browse Torrents</a> |&nb
^
Entity: line 60: parser error : Entity 'nbsp' not defined
<a href="/browse" title="Browse Torrents">Browse Torrents</a> | 
^
Entity: line 61: parser error : Entity 'nbsp' not defined
<a href="/recent" title="Recent Torrent">Recent Torrents</a> |&nbs
^
Entity: line 61: parser error : Entity 'nbsp' not defined
<a href="/recent" title="Recent Torrent">Recent Torrents</a> |&nbs
^
Entity: line 61: parser error : Entity 'nbsp' not defined
<a href="/recent" title="Recent Torrent">Recent Torrents</a> | 
^
Entity: line 62: parser error : Entity 'nbsp' not defined
<a href="/tv" title="TV shows">TV shows</a> |
^
Entity: line 62: parser error : Entity 'nbsp' not defined
<a href="/tv" title="TV shows">TV shows</a> |
^
Entity: line 62: parser error : Entity 'nbsp' not defined
<a href="/tv" title="TV shows">TV shows</a> |
^
Entity: line 63: parser error : Entity 'nbsp' not defined
<a href="/music" title="Music">Music</a> |
^
Entity: line 63: parser error : Entity 'nbsp' not defined
<a href="/music" title="Music">Music</a> |
^
Entity: line 63: parser error : Entity 'nbsp' not defined
<a href="/music" title="Music">Music</a> |
^
Entity: line 134: parser error : Entity 'nbsp' not defined
<h2><span>Subscribe</span> </h2>
^
Entity: line 185: parser error : Opening and ending tag mismatch: body line 50 and div
</div><!-- //div:content -->
^
Entity: line 227: parser error : Opening and ending tag mismatch: html line 2 and body
</body>
^
Entity: line 228: parser error : Extra content at the end of the document
</html>
^
../src/xml_parser.c, 170: Error: Unable to parse input data!
../src/automatic.c, 444: History bucket size changed: 30
../src/list.c, 228: [cleanupList] size before: 0
../src/list.c, 239: [cleanupList] size after: 0
../src/web.c, 570: [closeCURLSession] Closing curl session 0x39d70
../src/automatic.c, 583: New bucket size: 30hellbent wrote: wait, i got it. the parser is VERY particular about having the curly braces on the following line and no extra whitespace or tabs. seems to be working with multiple filters now.
many thanks Stefan! - mashedmanAspiranttrying to set the permissions on the script file and keep getting permission denied.
Script is located:
/usr/local/bin/
any ideas, any attempt to do anything with the file bar deleting it is met with permission denied
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!