Page 1 of 1

can't edit tags

PostPosted: Wed Mar 27, 2013 10:05 am
by nitche
hi,

using musiccabinet, i have an error when i try to edit tags. my logs say:

Code: Select all
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - I Got A Right.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 6638
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Gimme Some Skln.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 6884
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - I'm Sick Of You.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 7086
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Tight Pants.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 7289
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Scene Of The Crime.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 7486
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Kill City.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 7678
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Sell Your Love.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 7866
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Beyond The Law.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 8046
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - I Got Nothin'.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 8196
[27/03/13 11:00:52 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Johanna.mp3
[27/03/13 11:00:52 CET]   WARN   TagService   Failed to update tags for 8333
[27/03/13 11:00:53 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Night Theme (reprise).mp3
[27/03/13 11:00:53 CET]   WARN   TagService   Failed to update tags for 8442
[27/03/13 11:00:53 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Consolation Prizes.mp3
[27/03/13 11:00:53 CET]   WARN   TagService   Failed to update tags for 8520
[27/03/13 11:00:53 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - No Sense Of Crime.mp3
[27/03/13 11:00:53 CET]   WARN   TagService   Failed to update tags for 8572
[27/03/13 11:00:53 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Lucky Monkeys.mp3
[27/03/13 11:00:53 CET]   WARN   TagService   Failed to update tags for 8615
[27/03/13 11:00:53 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Master Charge.mp3
[27/03/13 11:00:53 CET]   WARN   TagService   Failed to update tags for 8639
[27/03/13 11:00:53 CET]   WARN   JaudiotaggerParser   Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Jesus Loves The Stooges.mp3
[27/03/13 11:00:53 CET]   WARN   TagService   Failed to update tags for 8655


is it a question of rights somewhere?

Re: can't edit tags

PostPosted: Wed Mar 27, 2013 10:28 am
by hakko
If you check the subsonic.log file in your file system (not via the web interface), it should give you a longer and hopefully more detailed error explanation.

Re: can't edit tags

PostPosted: Wed Mar 27, 2013 10:38 am
by nitche
got this in logs file:

Code: Select all
[2013-03-27 11:00:53,239] WARN TagService - Failed to update tags for 8655
java.lang.RuntimeException: Failed to update tags for file /home/music/the stooges/Iggy And The Stooges - Jesus Loves The Stooges.mp3. null
   at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.setMetaData(JaudiotaggerParser.java:207)
   at net.sourceforge.subsonic.ajax.TagService.setTags(TagService.java:117)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.directwebremoting.impl.CreatorModule$1.doFilter(CreatorModule.java:229)
   at org.directwebremoting.impl.CreatorModule.executeMethod(CreatorModule.java:241)
   at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:358)
   at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:311)
   at org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:104)
   at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:126)
   at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:144)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:648)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
   at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
   at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
   at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
   at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
   at org.eclipse.jetty.server.Server.handle(Server.java:365)
   at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
   at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)
   at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)
   at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
   at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
   at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
   at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
   at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
   at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
   at org.jaudiotagger.tag.id3.ID3v1Tag.createField(ID3v1Tag.java:660)
   at org.jaudiotagger.tag.id3.ID3v1Tag.setField(ID3v1Tag.java:606)
   at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.setMetaData(JaudiotaggerParser.java:189)
   ... 72 more


does it help you?

Re: can't edit tags

PostPosted: Wed Mar 27, 2013 8:30 pm
by hakko
I wonder why some people manage to find all the oddities :) I can't from the output, it's something about that file (does it only have an id3v1 tag?) and the audio tagger library. If you send me one of the files by email (musiccabinet@dilerium.se) I'll look into it.

Re: can't edit tags

PostPosted: Thu Mar 28, 2013 1:39 pm
by nitche
mp3 file send.

i tryed with other files who don't cause error (and nothing in logs), but i don't see the changes. sometimes i see errors and sometimes not, but tags stay the same. sorry for the weird issue :oops:

Re: can't edit tags

PostPosted: Thu Mar 28, 2013 4:49 pm
by hakko
Oh thanks for reporting! If you have this problem, most likely someone else is affected as well but hasn't posted about it here. I'll try your file to see what's going wrong.

Updated tags are not reflected immediately in the interface, you'll have to do a library scan to see them. It's not ideal but that's how it is right now.

Re: can't edit tags

PostPosted: Sun Mar 31, 2013 5:17 pm
by zosopage
just installed Music cabinet and all my genre tags are not showing up in the subsonic interface. I installed a program called Puddle (ubuntu) and am able to see the tags there. looked in my logs and not seeing the errors /var/subsonic/subsonic.log. Also, tried editing a tag and after adding the genre, came back in and it is not there. Let me know if you need my logs..