Page 1 of 1

Failed to create albumTitle ........

PostPosted: Fri Jan 26, 2007 12:39 pm
by Ittie
A good day,

I have a little inconvenience. Lately I’ve moved the music folder from de D drive to the E drive, lack of space.
When I’m going to home>Most frequently played I’m getting an error in the log:

[1/26/07 1:05:25 PM CET] WARNHomeControllerFailed to create albumTitle list entry for D:\Muziek\A\Alanis Morissette\MTV Unplugged.

This file isn’t located on the D drive but is on the E.
Is there any way to reset the function Most frequently played?
I’m not daring to ask for a function to be able to track the change of position of the files :).
Below is the complete logging.

Thanks



[2007-01-26 13:05:25,947] WARN HomeController - Failed to create albumTitle list entry for D:\Muziek\A\Alanis Morissette\MTV Unplugged
java.lang.SecurityException: Access denied to file D:\Muziek\A\Alanis Morissette\MTV Unplugged
at net.sourceforge.subsonic.service.MusicFileService.getMusicFile(MusicFileService.java:52)
at net.sourceforge.subsonic.service.MusicFileService.getMusicFile(MusicFileService.java:69)
at net.sourceforge.subsonic.controller.HomeController.createAlbum(HomeController.java:151)
at net.sourceforge.subsonic.controller.HomeController.getMostFrequent(HomeController.java:92)
at net.sourceforge.subsonic.controller.HomeController.handleRequestInternal(HomeController.java:55)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:181)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:216)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:195)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:25)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:867)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:706)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1487)
at java.lang.Thread.run(Unknown Source)

PostPosted: Mon Jan 29, 2007 6:54 am
by sindre_mehus
Hi,

I've been waiting for this request :-) I have on my todo-list to implement some sort of cleaning of the play statistics, but I doubt it will be done in the next Subsonic version.

There are two ways around it, but both require some computer proficiency:

1. Manually modify the files in c:\subsonic\db, replacing "D:\" with "E:\". Note: Some of the files are binary.
2. Connect directly to the HSQL database and execute an sql statement to update the paths.

If you attempt to do any of the above, make sure to backup c:\subsonic\db first, and to shutdown Subsonic while you do the update.

Sindre

PostPosted: Mon Jan 29, 2007 7:35 pm
by Ittie
Thanks,

I'll try.

PostPosted: Tue Jan 30, 2007 9:52 am
by Ittie
No, didn't work. :? I opened the files with a hex editor and replaced de D: into E:.
Looked OK. But when I start Subsonic again, the first thing it’s doing is replacing the E:, that I just had changed, in to D:.
I even tried to edit the file live, also no success.
Any other suggestions?

Thanks.