Page 1 of 1

Receiving xattr error

Posted: 05 Mar 2016, 02:04
by FadeAway12
Input: pi@raspberrypi:~/scripts $ sudo ./tvrenamer.sh

Script tvrenamer.sh:

Code: Select all

#!/bin/bash

DATE_STAMP=` date +%d-%m-%Y-%T`
echo ${DATE_STAMP}

/opt/share/filebot/bin/filebot.sh -rename /media/usbdrive/Test/Download/* –format “/media/usbdrive/Test/TVSerien/{n}/Season {s}/{n} – {sxe} – {t}” –db thetvdb -non-strict --lang de


Output:

Code: Select all

pi@raspberrypi:~/scripts $ sudo ./tvrenamer.sh
05-03-2016-02:58:38
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Auto-detected query: [In aller Freundschaft, In aller Freundschaft Die jungen Aerzte, In aller Freundschaft jungen Aerzte]
Fetching episode data for [In aller Freundschaft]
Fetching episode data for [In aller Freundschaft – Die jungen Ärzte]
[MOVE] Rename [/media/usbdrive/Test/Download/In.aller.Freundschaft.Die.jungen.Aerzte.S01E01.Der.erste.Tag.German.WS.720p.HDTV.x264-GDR.mkv.mkv] to [In aller Freundschaft - 1x01 - In Leipzig.mkv]
Processed 1 files
Mar 05, 2016 2:58:51 AM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.RuntimeException: java.nio.file.FileSystemException: /media/usbdrive/Test/Download/In aller Freundschaft - 1x01 - In Leipzig.mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Done ヾ(@⌒ー⌒@)ノ


Sysinfo:

Code: Select all

pi@raspberrypi:~/scripts $ filebot -script fn:sysinfo
Mar 05, 2016 2:53:57 AM net.filebot.Main main
SEVERE: Unexpected error during startup
java.nio.file.AccessDeniedException: /opt/share/filebot/data/temp
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
	at java.nio.file.Files.createDirectory(Files.java:674)
	at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
	at java.nio.file.Files.createDirectories(Files.java:767)
	at net.filebot.util.FileUtilities.createFolders(FileUtilities.java:165)
	at net.filebot.Main.main(Main.java:138)

I can't get Filebot to work correctly. Its late and i am sitting on this project for about 8 hours in a row now and can't figure out whats wrong.. Yes, i am new to all of this and still impressed on how complex Linux can be (and how far i've made it in less than a week from buying a pi to being here :lol: )

Right now i don't know what to do despite knowing that there is an issue with anything Java related.

Edit: I followed this thread which seems to be responsible for the errors.. i guess i am just too tired to continue: viewtopic.php?f=11&t=3330&p=18436&hilit ... +pi#p18436

Re: Receiving xattr error

Posted: 05 Mar 2016, 02:22
by FadeAway12
After reading the aforementioned post again i edited my tvrenamer.sh and now get this Output:

Code: Select all

pi@raspberrypi:~/scripts $ sudo ./tvrenamer.sh
05-03-2016-03:19:58
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Auto-detected query: [In aller Freundschaft]
Fetching episode data for [In aller Freundschaft]
Fetching episode data for [In aller Freundschaft – Die jungen Ärzte]
[MOVE] Rename [/media/usbdrive/Test/Download/In aller Freundschaft - 1x01 - In Leipzig.mkv] to [���/media/usbdrive/Test/TVSerien/In aller Freundschaft/Season.mkv]
InvalidPathException: Malformed input or input contains unmappable characters: /media/usbdrive/Test/Download/���/media/usbdrive/Test/TVSerien/In aller Freundschaft
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /media/usbdrive/Test/Download/���/media/usbdrive/Test/TVSerien/In aller Freundschaft
	at net.filebot.util.FileUtilities.resolveDestination(FileUtilities.java:112)
	at net.filebot.util.FileUtilities.moveRename(FileUtilities.java:56)
	at net.filebot.StandardRenameAction$1.rename(StandardRenameAction.java:15)
	at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:639)
	at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:253)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:144)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:79)
	at net.filebot.Main.main(Main.java:169)
Failure (°_°)

Re: Receiving xattr error

Posted: 05 Mar 2016, 02:34
by FadeAway12
Hoooray!

Code: Select all

pi@raspberrypi:~/scripts $ sudo ./tvrenamer.sh
05-03-2016-03:30:04
Rename episodes using [TheTVDB]
Auto-detected query: [In aller Freundschaft]
Fetching episode data for [In aller Freundschaft]
Fetching episode data for [In aller Freundschaft – Die jungen Ärzte]
[MOVE] Rename [/media/usbdrive/Test/Download/In aller Freundschaft - 1x01 - In Leipzig.mkv] to [/media/usbdrive/Test/TVSerien/In aller Freundschaft/Season 1/In aller Freundschaft - 1x01 - In Leipzig.mkv]
Processed 1 files
Mar 05, 2016 3:30:19 AM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.RuntimeException: java.nio.file.FileSystemException: /media/usbdrive/Test/TVSerien/In aller Freundschaft/Season 1/In aller Freundschaft - 1x01 - In Leipzig.mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Done ヾ(@⌒ー⌒@)ノ
Files were moved! Man, who could have known that by copying code from a website in safari it will create similar looking but differently interpreted characters in a script.. welcome to linux i guess.. Still the xattr error remains (although at sometime today i found a quote that this error can be ignored.. is this correct? I think there was even an instruction on how to disable it completely?)

Here is an updated Sysinfo (this time with root privileges... i got so much to learn ;)

Code: Select all

pi@raspberrypi:~/scripts $ sudo filebot -script fn:sysinfo
FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.70
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
Mar 05, 2016 3:32:34 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Chromaprint: java.io.IOException: Cannot run program "/opt/share/filebot/fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_65 (headless)
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 224 MB Max Memory / 14 MB Used Memory
OS: Linux (arm)
Package: IPKG
Data: /opt/share/filebot/data
uname: Linux raspberrypi 4.1.18-v7+ #846 SMP Thu Feb 25 14:22:53 GMT 2016 armv7l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ

Re: Receiving xattr error

Posted: 05 Mar 2016, 05:39
by rednoah
1.
xattr is an optional filesystem feature. It's nice to have your files tagged for future reference, but if it's not working you might as well disable it. See filebot -help for help with that. ;)

2.
Doesn't the IPKG package use the Apache VFS extractor by default?

3.
Time to write a tutorial sharing what you have learned. ;)

Re: Receiving xattr error

Posted: 05 Mar 2016, 15:35
by FadeAway12
1. Ok great, -no-xattr will disable the error messages :) xattr is not compatible with exFat, right?

2. Honestly.. i can't figure out what you refer this to :D

3. I definitely will! Its amazing to learn a new operating system from the ground up. I just need to finish my own project. That is: Making Filebot work with jDownloader2. In fact i will hop right over to your new tutorial/support Thread. I got a small and simple "yes/no" question.

Thank you very much so far!