xbenjii / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
0 stars 0 forks source link

Unable to Run script #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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'

Original issue reported on code.google.com by shawn.gi...@gmail.com on 19 Sep 2012 at 11:55

GoogleCodeExporter commented 8 years ago
I get exactly the same on my ReadyNAS NV+ (v1) running the latest version of 
the firmware.  

Original comment by RTD...@gmail.com on 1 Oct 2012 at 8:47

GoogleCodeExporter commented 8 years ago
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.

Original comment by shawn.gi...@gmail.com on 9 Nov 2012 at 6:04

GoogleCodeExporter commented 8 years ago
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

Original comment by addicted...@gmail.com on 2 Dec 2012 at 9:42

GoogleCodeExporter commented 8 years ago
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.

Original comment by shawn.gi...@gmail.com on 29 Dec 2012 at 2:58

GoogleCodeExporter commented 8 years ago
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

Original comment by addicted...@gmail.com on 29 Dec 2012 at 5:10