Ticket #1726 (pending help)

Opened 9 months ago

Last modified 9 months ago

cant define path

Reported by: anonymous Owned by:
Priority: major Milestone: Help
Component: Plugins Keywords:
Cc: Version (eg. 1.0r2700): 1.0r3061

Description

How come "patch" refuses to get defined?

Error:

2012-08-13 21:27 ERROR    exec          manage-series   Could not set exec command for file.mkv: (UndefinedError) 'path' is undefined

Line in config

set:                                                                                  
      path: /c/media/Videos/Tv/{{series_name}}/Season {{series_season|pad(2)}}   
exec:                                                                                 
      on_output:                                                                          
        for_entries:  mkdir -p "{{path}}" && cp "{{location}}" "{{path}}"               
        for_rejected: mkdir -p "{{path}}" && cp "{{location}}" "{{path}}"     

Change History

comment:1 Changed 9 months ago by paranoidi

  • Status changed from new to pending
  • Type changed from defect to help
  • Milestone changed from 1.0 to Help

Can't say, the error is from exec and set has probably passed fine? Try checking what fields are available via --dump.

comment:2 Changed 9 months ago by gazpachoking

Probably this happens for items that were not parsed by the series parser, thus do not have series_name and series_season.

comment:3 Changed 9 months ago by fredrik

Here is my config file: http://pastebin.com/VfMWyFRK Originaly from cookbook: http://flexget.com/wiki/Cookbook/Series/AdvancedTransmissionAndDownloadManagement Can anyone see what is wrong?

As you can se I have keept "manage-series-remote" and "manage-series" and thay do the same thing. I did this sins the onlt referens to the word "location" was there. I do not get from where it the get the original directory and file name.

I also want to use "import_series:" under "manage-series:" sins I use it to dl the torrent fileds.

Has this config ever worked? some plugins was outdated and had changed name.

PS. If someone know how to install Deluge on Readynas ultra (Debian 4.0/etch) Deluge and flesgetworked fine i a test VM (latest debian), my problems would be mute.

Note: See TracTickets for help on using tickets.