My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 69: Unable to Run script
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Dec 2012


 
Reported by shawn.gi...@gmail.com, Sep 19, 2012
i am experiencing a problem whenever I try to run the script for configuration or to extract video.  When I try, I get the fellowing error.  I am trying to run this script on my ReadyNas device, where it has bash version 2.05b.0(1).  Not sure if this is the problem.

Cheers
Shawn

./torrentexpander.sh: line 624: conditional binary operator expected
./torrentexpander.sh: line 624: syntax error near `=~'
./torrentexpander.sh: line 624: `if [[ "$supported_extensions_rev" =~ rar ]] || [[ "$tv_show_extensions_rev" =~ rar ]] || [[ "$movies_extensions_rev" =~ rar ]] || [[ "$music_extensions_rev" =~ rar ]] || [[ "$supported_extensions_rev" =~ zip ]] || [[ "$tv_show_extensions_rev" =~ zip ]] || [[ "$movies_extensions_rev" =~ zip ]] || [[ "$music_extensions_rev" =~ zip ]]; then echo "Your supported file extensions are incorrect please edit your torrentexpander_settings.ini file" >> "$errors_file"; if [ "$has_display" == "yes" ]; then echo "Your supported file extensions are incorrect please edit your torrentexpander_settings.ini file"; fi; quit_on_error="yes"; fi'

Oct 1, 2012
#1 RTD...@gmail.com
I get exactly the same on my ReadyNAS NV+ (v1) running the latest version of the firmware.  
Nov 9, 2012
#2 shawn.gi...@gmail.com
I am thinking that problem is something relate with the version of bash that the Readynas has running on it.  I think I may test this theory on my mac.
Dec 2, 2012
Project Member #3 addicted...@gmail.com
Sorry for my lack of updates during the last few (many) months.
New job that takes most of my time, new apartment that requires a lot of work, not enough time remaining to take care of torrentexpander.
Sorry for that

=~ is not compatible with your OS ; I replaced it, so it should work fine now

Thanks for your input

   Addictedtoscreens
Status: Done
Dec 29, 2012
#4 shawn.gi...@gmail.com
Thanks.... I wil gave it try sometime soon.  Is your update available to be download?  When i checked the download section, it still had V20 there to be download.
Dec 29, 2012
Project Member #5 addicted...@gmail.com
Hi

You can either :
- update it through SVN
- set auto_update_script to yes in your torrentexpander settings
- run torrentexpander manually with this line : /path/to/torrentexpander.sh --update

Have a great evening

Powered by Google Project Hosting