Error line 41

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Error line 41

Post by litris »

I have a intel synology DS415 + FileBot last vesion 4.6 and works correctly in ssh.

But if I try to rename from FileBot.Node 0.1.4 not working.

Image

Image


Thanks.
Last edited by litris on 01 Jun 2015, 19:01, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

Come back once you figure out how to give me FULL RESOLUTION screenshots, not 180x100 thumbnails.
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

I see them well from the iPad and from the iMac.

The screenhots not have at hand now.

Thank you.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

Capture iPad screenshots.

Image
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

You need to install Java 8 correctly.

@see viewtopic.php?f=3&t=1802

Synology Java Manager is currently useless since it does not allow you to upload Java 8 so you will need to Google how to install Java from the command-line via SSH.
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

If I have installed Java 8_45 working properly.

Minecraft server and Filebot works from ssh Java -version responds correctly.

Greetings.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

Image
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

Notes wrote:
  • Java 8 needs to be installed correctly and in the $PATH. Make sure java -version works. You may need to symlink java into the $PATH yourself.

    Code: Select all

    ln -s /path/to/jre/bin/java /usr/local/bin/java
  • Running commands from the login shell is not the same as using Synology DSM Task Scheduler or cron because they'll not initialise with ~/.profile so keep in mind that $PATH will be different.
Hence you should link the java executable to /usr/local/bin/java to make sure it works on a system level, and not just for your user.
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

Ok I'll try.

Thanks.
PS: Funny that runs on the command line.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

No working :?

In ssh command:

ln -s /volume1/@appstore/JavaManager/Java/jre/bin/java /usr/local/bin/java
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

No working
You're doing something wrong. What? I don't know. You're giving me nothing.

I kinda know for a fact that JavaManager doesn't allow you to install Java 8 so why would the Java 8 executable be in the JavaManager @appstore folder?

Do you even know where your java executable is? What's the output of `which java` and on a related note, what was the output of `ln -s ...` when it didn't work?
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

From javamanager can not install but winscp manually copying Java 8_45 work correctly with all other programs included FileBot command line and several more packages.

Only fault Filebot.node
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

1. :?: What is the output of:

Code: Select all

which java
2. :?: What is the output of:

Code: Select all

ln -sf /volume1/@appstore/JavaManager/Java/jre/bin/java /usr/local/bin/java
3. :?: What is the output of:

Code: Select all

/usr/local/bin/java -version
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

Sorry I was wrong on the link it into memory. :shock:

It is this /var/packages/JavaManager/target/Java/bin/java

But I see another problem I just want to rename without copying without moving.

As it does FileBot to mac.

All directories stay and rename the files.

From the command line options.

filebot -rename -r -non-strict --db TVRage --lang es "....."

Thanks
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

The rename option is not alone.

I would like an option that only rename.

Thanks.
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

1)
rename is the same as move

2)
-rename is the same as -rename --action move

3)
--action move will "move" files to another folder if you specify --output, or "move" each file within it's folder if --output is omitted

4)
FileBot Node does not support simple -rename calls. Why is this even an issue? :D You're NOT supposed to "rename" files EVER. You're supposed symlink/hardlink files into a NEW & CLEAN folder structure.

@see viewtopic.php?f=4&t=215
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

If I understand to get the same result as in the following line.

filebot -rename -r -non-strict --db TVRage --lang es "....."

Leave blank output option and use move and rename.

Is it right?

With the same directory I created a folder called TVshow and has moved everything inside.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

Not if I explain. (Use a translator of English)

Using the above line I rename files and where this leaves.

But if I use Filebot.node and move and rename option.

Using the same direction imput and output files.

Create a folder called tvshow and moves all the files inside.

That's not what I want.

Thank you.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

rename calls. Why is this even an issue? :D You're NOT supposed to "rename" files EVER. You're supposed symlink/hardlink files into a NEW & CLEAN folder structure.
It's not correct

FileBot to Macosx have the option to rename only.

Best regards.
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

FileBot Node does not allow you to submit filebot -rename commands, only filebot -script fn:amc commands.

Whatever, here's how you "rename" a file:
1) Input Folder => /path/to/afolder/afile
2) Output Folder => /path/to/afolder
3) Execute

FileBot Node is not made for processing files this way, and it'll be very cumbersome to do so. But it's your own time you're wasting so please go ahead.

I recommend doing things the smart way though. First you configure the amc call. Then you click "Execute". And the next day you click "Execute". And so on. If you think you have to change the options all the time, thing again, because you're doing it wrong.
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

My idea is that every day Filebot.node read my folder / volume1 / Series and rename all the files in that folder dsdownload leaves.

In that folder a folder for each series and within a folder for each chapter where the .avi

If I run it from the command line it works well.(If you ran scan the folder Series from the command line renames .avi everything and leaves where they are.

And with the program for Mac also it works.

But Filebot.node moves to another folder.

I thought you can put another tab that reads "Rename"

Like having a flange that only says "Copy"

But if you can not keep using the command line.

Thank you very much for your help and still does a nice job as well.

Best regards.
Pd:Sorry use Translator
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error line 41

Post by rednoah »

Instead what you should be doing is:

1.
Prepare Folder INPUT. That's where you put new files, sorted, unsorted, whatever, some people might call it their "download complete" folder.

2.
Prepare Folder OUTPUT. That's where you will find neatly organised files. You will never touch the files in this folder.

3.
Set "Rename Action" to HARDLINK because you want to create hardlinks. If you don't know what hardlinks are ask Wikipedia.

3.
Now you click "Execute" and let the AMC script take whatever you have in your INPUT folder and hardlink everything into a nicely organised file structure in OUTPUT.

4.
If you have new files you just move them to INPUT. Then you click "Execute". And then they will appear neatly organised in your OUTPUT folder.

5.
And so we don't have to go and click "Execute" manually every day we create a scheduled task that will run automatically every day at 4am.

6.
Now that we have a scheduled task the only manual task remaining is adding new files to INPUT ... which of course can easily be automated as well.

EDIT:

Wrote a tutorial for this here => viewtopic.php?f=13&t=2733
:idea: Please read the FAQ and How to Request Help.
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Error line 41

Post by litris »

OK correct.

I have it configured to filter RSS dsdownload download directly to each series in your folder.

Example:
Movies within movies.
Castle in Series / Castle

Etc.

I will try as you point all in one folder FileBot completed and is in charge of distribution.

Thank you.
Post Reply