jajuk-team / jajuk

Advanded jukebox for users with large or scattered music collections
49 stars 19 forks source link

Select Cover - Cannot write file #2004

Closed gkerdal closed 8 years ago

gkerdal commented 8 years ago

On Windows 7 and Windows 10 (not reproduced on Ubuntu), when selecting a new cover a "Cannot write file" message appears and the cover is not updated.

The stacktrace : ERROR Cannot write file [ERROR] class java.io.IOException / {{Invalid argument}} / null java.io.WinNTFileSystem.canonicalize0(Native Method) java.io.WinNTFileSystem.canonicalize(Unknown Source) java.io.File.getCanonicalPath(Unknown Source) org.apache.commons.io.FileUtils.copyFile(FileUtils.java:642) org.apache.commons.io.FileUtils.copyFile(FileUtils.java:607) org.jajuk.util.UtilSystem.copy(UtilSystem.java:263) org.jajuk.ui.views.CoverView$5.run(CoverView.java:639)

bflorat commented 8 years ago

@Gwen Please fix this in the develop branch (upcoming 1.11), I don't think we'll deliver another 1.10 fixpack.

gkerdal commented 8 years ago

OK. I just commit a fix. Tested on a Windows 10 virtual machine. Should we close this issue or wait another test ?

bflorat commented 8 years ago

Thx Gwen, please close the issue.