Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Can you point me to the correct post that mentions this problem? (Hint: The date in the upper-left of each post is a ref link to that particular post)
EDIT: Scratch that, found the post. I checked my private messages as well, and it seems the guy never responded to my message, so I don't think I've ever worked on this problem (then again, it's been 2 years).
Can you provide me a sample config file that shows this problem?
Last edited by KyleK (2012-08-24 16:27:19)
Offline
Which version are you running?
Offline
KyleK wrote:
Can you point me to the correct post that mentions this problem? (Hint: The date in the upper-left of each post is a ref link to that particular post)
EDIT: Scratch that, found the post. I checked my private messages as well, and it seems the guy never responded to my message, so I don't think I've ever worked on this problem (then again, it's been 2 years).
Can you provide me a sample config file that shows this problem?
Sent you my automatic.conf
FunFiler wrote:
Which version are you running?
I'm running the latest as always. 0.80
Offline
Komano: The error occurs because you escape whitespaces in folder names in the config file:
filter = { pattern => "..." folder => "/mnt/HD/HD_a2/Videos/Television\ Series" }
Since the path is in quotes, no escaping of whitespace is necessary. In fact, it cannot be used here, because the folder name will eventually end up in a JSON packet, and escaped whitespace in JSON is apparently not allowed.
Offline
KyleK wrote:
Komano: The error occurs because you escape whitespaces in folder names in the config file:
Code:
filter = { pattern => "..." folder => "/mnt/HD/HD_a2/Videos/Television\ Series" }Since the path is in quotes, no escaping of whitespace is necessary. In fact, it cannot be used here, because the folder name will eventually end up in a JSON packet, and escaped whitespace in JSON is apparently not allowed.
Oh. Interesting find. I didn't know that you couldn't do that. Figure you had to use the same path.
Offline
Believe me, I didn't know either
If I find the time I'll make a code change so escaped whitespace is parsed out automatically by the application.
Offline
Just re-installed automatic and when I try to start it I get the following:
root@DLink321:~# /mnt/HD_a2/ffp/start/automatic.sh start Starting /ffp/bin/automatic -c /ffp/etc/automatic.conf -l /mnt/HD_a2/.transmission-daemon/automatic.log /ffp/bin/automatic: can't load library 'libxml2.so.2'
Any ideas?
Offline
Automatic is dependent on libxml2, which fonz provides a package for for all ffp versions. You need to install that as well.
Offline
KyleK wrote:
Automatic is dependent on libxml2, which fonz provides a package for for all ffp versions. You need to install that as well.
Got it, thanks!
Offline
This is works whit ZyXEL NSA-310?
The website is crashed. (http://kylek.is-a-geek.org)
Where can i download automatic for transmission?
Thanks:)
Offline
When I reboot my DNS-320 all the old feeds got downloaded again. Here's what I've checked:
My automatic.state file looks fine:
root@asgard:/mnt/HD/HD_a2/.transmission-daemon# ls -l | grep automatic.state
-rwxrwxrwx 1 nobody root 105 Oct 25 12:49 automatic.state
root@asgard:/mnt/HD/HD_a2/.transmission-daemon# cat automatic.state
QPR_S03E02_720
QPP_S07E04_720
QPM_S11E03_720
QBJ_S11E02_720
QBE_S03E01_720
QBD_S07E03_720
Q7Q_S05E03_720
root@asgard:/mnt/HD/HD_a2/.transmission-daemon#
Here's my feed and filter sections:
#####
feed = { url => "http://www.dailytvtorrents.org/rss/combined/47c96ced29e79d12df2e69f7cbe2e38239045af6e988c933bbfa9cd6
0af7b3e7cb0afc51f26d17d5?only=720&minage=3"
cookie => ""
id => ""
url_pattern => ""
url_replace => ""
}
# Download everything
filter = { pattern => ".*"
}
#####
When I check on automatic.log I can see that this only happens one time (after boot), after that he correctly creates the automatic.state and from that point on everything works fine so I think that the main problem here is automatic.state not surviving the boot...
I've tried to find some wiki for Automatic but haven't found none so maybe someone here can give a tip about what I should look/change ?
Offline
The log file should have a line that says it loaded x entries from automatic.state.
Is that line in your log?
Offline
It shows that it restored 0 entries.
root@asgard:/mnt/HD/HD_a2/.transmission-daemon# head automatic.log
../src/automatic.c, 697: Automatic version: 0.8.0 (95ada5c)
../src/state.c, 111: Restored 0 old entries
../src/automatic.c, 265: Transmission version: 1.3
../src/automatic.c, 266: RPC host: localhost
Offline
Where is the file automatic.state stored?
Offline
It is on:
/mnt/HD/HD_a2/.transmission-daemon/automatic.state
The config file looks right:
# path to the file which stores information about already downloaded torrents (so they don't get readded to Transmission)
statefile = "/mnt/HD/HD_a2/.transmission-daemon/automatic.state"
Permissions too:
-rwxrwxrwx 1 nobody root 105 Oct 29 20:57 automatic.state
Offline
Do you have a "nobody" group?
On my system, the owner is nobody:501 instead of nobody:root
Offline
Could you please try this:
1. disable automatic starting of automatic after a reboot (i.e. remove executing priviledges from /ffp/start/automatic.sh)
2. reboot
3. Check if the file exists, and if it is empty
I somehow suspect that the file might never be properly written to.
Offline
Hey guys,
trying to setup the latest automatic on my DNS-323 with ffp 0.7.
I've been following the last post on this page: http://www.tekforums.net/computing-tech … to-guides/
I really don't have the patience to go through all post in this thread, can't find a singe post with the error, the search just points me to this thread.
When checking my automatich.log I get this
../src/automatic.c, 697: Automatic version: 0.8.0 (95ada5c)
../src/state.c, 111: Restored 0 old entries
../src/automatic.c, 290: 1 feed URLs
../src/automatic.c, 291: Read 5 filters from config file
[12/11/05 21:27:46] ../src/automatic.c, 731: Daemon started
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 24: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 32: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 31: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 24: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 32: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 31: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 24: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 32: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 31: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 24: missing )
Any thoughts on what the issue might be? Need any more info from my side to be able solve the problem?
Thanks in advance.
Offline
stoffeboffe wrote:
Hey guys,
../src/regex.c, 40: [init_regex] PCRE compilation failed at offset 37: missing )
If I recall correvtly, it is saying that there is a syntax issue with your Regex expressions in your configuration file.
Take the sample, edit it (with a Linux friendly editor). Keep it simple to start, one expression only (or even none to ensure the error goes away). Then build it up.
Offline
Looks a bit better now;
../src/automatic.c, 697: Automatic version: 0.8.0 (95ada5c)
../src/state.c, 111: Restored 0 old entries
../src/automatic.c, 290: 1 feed URLs
../src/automatic.c, 291: Read 5 filters from config file
[12/11/06 11:20:15] ../src/automatic.c, 731: Daemon started
Thanks for the help, it was a simple mistake from my side that I couldn't get my head around last night.
Now I have to figure out a way to test "my" automatic, none of the series in my filter air soon.
Offline
You can feed some manually written RSS file to automatic using the (undocumented) --xml and --match-only parameters:
$ automatic -o -f -c automatic.conf --matchonly --xml test.xml
The output will tell you if a filter matched.
Offline
KyleK wrote:
You can feed some manually written RSS file to automatic using the (undocumented) --xml and --match-only parameters:
Code:
$ automatic -o -f -c automatic.conf --matchonly --xml test.xmlThe output will tell you if a filter matched.
Thanks for this. Since I'm a n00b at all this I off course run into some problems. Not sure how to edit the file, so I tried this
automatic -o -f -c automatic.conf Homeland.720p-DIMENSION --xml test.xml
and get this result
../src/automatic.c, 697: Automatic version: 0.8.0 (95ada5c)
../src/state.c, 111: Restored 0 old entries
../src/automatic.c, 290: 1 feed URLs
../src/automatic.c, 291: Read 6 filters from config file
../src/xml_parser.c, 185: Error: Unable to parse input data!
[12/11/06 12:02:06] ../src/automatic.c, 149: Shutting down daemon
I have put test.xml in the same directory as automatic.conf and it has R/W rights.
I also have a question regarding the RSS feed, the link I get looks like this, a bit edited though
http://www.torrentzzzzzz.net/rss.php?passkey=218&username=xxxx&38&33&limit=200&direct=1
Does it look ok? I can choose from either Direct Link or Web Link, any difference?
Offline
Hm. Seems your test.xml is not a proper XML file.
Also, that "Homeland.720p-DIMENSION" does not belong on the command line.
The idea is to define filters in automatic.conf, and then test them on test.xml
Always choose "direct link" over "web link", otherwise Automatic won't work
Offline
KyleK wrote:
Hm. Seems your test.xml is not a proper XML file.
Also, that "Homeland.720p-DIMENSION" does not belong on the command line.
The idea is to define filters in automatic.conf, and then test them on test.xml
Always choose "direct link" over "web link", otherwise Automatic won't work
Thanks for all your help!!!
Probably just me who don't understand how this is supposed to work. So what I did was I added a release in test.xml which should stick in my filter and the output I got was this
sh-4.1# automatic -o -f -c automatic.conf --xml test.xml
../src/automatic.c, 697: Automatic version: 0.8.0 (95ada5c)
../src/state.c, 111: Restored 0 old entries
../src/automatic.c, 290: 1 feed URLs
../src/automatic.c, 291: Read 6 filters from config file
Entity: line 1: parser error : Start tag expected, '<' not found
Homeland.S02E04.720p.HDTV.x264-EVOLVE
^
Entity: line 1: parser error : Start tag expected, '<' not found
Homeland.S02E04.720p.HDTV.x264-EVOLVE
^
[12/11/06 13:11:13] ../src/automatic.c, 149: Shutting down daemon
Something happens at least
Offline
test.xml still is not a proper RSS file.
What you can do is download the RSS feed from your torrent provider:
$ wget "http://www.torrentzzzzzz.net/rss.php?passkey=218&username=xxxx&38&33&limit=200&direct=1" -O test.xml
Then have look at it. Modify the contents of the file to whatever you want Automatic to catch on, then run the command from my previous post again.
You can also test your regular expressions with other tools, or even online:
http://www.regexplanet.com/advanced/java/index.html
http://www.spaweditor.com/scripts/regex/
http://regexpal.com/
Offline