Kodi Community Forum

Full Version: Cannot write nfo files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Rewriting an NFO-file throws the following error

Code:
14:56:48.833 ERROR o.t.core.movie.connector.MovieToMpNfoConnector - setData
java.io.IOException: File '\\DATEN\Filme\Harry Potter und der Gefangene von Askaban (2004)' exists but is a directory
    at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:320) ~[commons-io.jar:2.1]
    at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1621) ~[commons-io.jar:2.1]
    at org.apache.commons.io.FileUtils.write(FileUtils.java:1707) ~[commons-io.jar:2.1]
    at org.apache.commons.io.FileUtils.write(FileUtils.java:1690) ~[commons-io.jar:2.1]
    at org.tinymediamanager.core.movie.connector.MovieToMpNfoConnector.setData(MovieToMpNfoConnector.java:292) ~[tmm.jar:2.6.4 (r1770)]
    at org.tinymediamanager.core.movie.entities.Movie.writeNFO(Movie.java:1270) [tmm.jar:2.6.4 (r1770)]
    at org.tinymediamanager.ui.movies.actions.MovieRewriteNfoAction$1.run(MovieRewriteNfoAction.java:57) [tmm.jar:2.6.4 (r1770)]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_25]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_25]
    at java.lang.Thread.run(Unknown Source) [na:1.8.0_25]

Other functions as scraping new movies etc. works, though.

I have tried to run TMM as admin which did not help.

Thx for your awesome application!

G.
Please send us a bug report - in the stack trace there is not enough information to analyze the problem
(2014-12-06, 16:12)mlaggner Wrote: [ -> ]Please send us a bug report - in the stack trace there is not enough information to analyze the problem

done.
puh - have no clue :|
Do you know what you did the last 3 minutes before the error? Because there is no logging inbetween... just.. this error.
Weird.

Would suggest to remove the movie from the TMM DB and try again an update...
Or is this always/still reproduceable?