aram535 / movie-renamer

0 stars 1 forks source link

Movie Renamer just won't start #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Download .jar and use it (double click it). Works perfect for some days. 
Best program ever.
2. Now it won't start.

I tried to open it with a command line console, and saw the error "Could not 
find main class". I don't really know Java so I'm clueless since it worked just 
fine and stopped working overnight.

I'm using Movie Renamer 1.3.10, Windows 7 64 bits.

I tried reinstalling Java but no luck.

Original issue reported on code.google.com by mota.jav...@gmail.com on 15 Nov 2013 at 12:16

GoogleCodeExporter commented 9 years ago
I made a mistake with the last version (1.3.10) which is in java 7 instead of 
java 6.

If you are running java 6 it can be the cause.

You can see what version you are using with :

> java -version
java version "1.6.0_27"

if you've got "1.6....." it's not good , you need "1.7...".
So try to update java or download and install java 7.

If you are already running java 7, copy paste the result of "java -version" 
here.

"Best program ever"
Thanks, but it's more something like "Best demo ever" than a program :)

Original comment by nico.ma...@gmail.com on 15 Nov 2013 at 1:28

GoogleCodeExporter commented 9 years ago
Thanks, but I have Java 7, see:

java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)

I really want it to work again, it's an awesome tool.

Original comment by mota.jav...@gmail.com on 15 Nov 2013 at 1:49

GoogleCodeExporter commented 9 years ago
Your version is good.
I really don't understand why you've got this error.
Java need an entry point called "Main" which is defined in the Manifest.mf file 
in jar file. (fr.free.movierenamer.Main)

I guess you tried : java -jar "Movie Renamer-1.3.10_Alpha.jar"

Try to dowload Movie Renamer 1.3.8_Alpha and run it. (just to see if it works)

Otherwise you can try this 
http://johann.loefflmann.net/en/software/jarfix/index.html
I don't know this software,i'm a Linux user, but maybe he can solve your issue.

Original comment by nico.ma...@gmail.com on 15 Nov 2013 at 2:26

GoogleCodeExporter commented 9 years ago
Hey, thanks for the quick reply, but still no luck. 
Maybe this helps? it's what happens when I enter "java -jar 
Movie_Renamer-1.3.10_Alpha.jar":

D:\>java -jar "Movie Renamer-1.3.10_Alpha.jar"
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: 
URLDecoder: Illegal hex characters in escape (%) pattern - For input string: 
"]["
        at java.net.URLDecoder.decode(Unknown Source)
        at fr.free.movierenamer.utils.Utils.unEscapeXML(Utils.java:406)
        at fr.free.movierenamer.parser.xml.MrRenamedMovie.startElement(MrRenamedMovie.java:66)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown ource)
        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
        at fr.free.movierenamer.parser.xml.XMLParser.parseXml(XMLParser.java:79)

        at fr.free.movierenamer.ui.MovieRenamer.loadRenamedMovie(MovieRenamer.java:280)
        at fr.free.movierenamer.ui.MovieRenamer.<init>(MovieRenamer.java:130)
        at fr.free.movierenamer.Main$1.run(Main.java:62)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

D:\>

Original comment by mota.jav...@gmail.com on 15 Nov 2013 at 3:04

GoogleCodeExporter commented 9 years ago
Also, forgot to say I tried the older versions (1.3.5, 1.3.6 and 1.3.8) and got 
the same error.

Original comment by mota.jav...@gmail.com on 15 Nov 2013 at 3:06

GoogleCodeExporter commented 9 years ago
Ok, i think i see what happen.

Just remove "renamed.xml" file and i think it will works.

renamed.xml is in your user folder, something like this under windows :

C:\Users\YOUr_USER\Movie_Renamer\cache\renamed.xml

Original comment by nico.ma...@gmail.com on 15 Nov 2013 at 3:44

GoogleCodeExporter commented 9 years ago
It worked!

Thank you so much.

Thank you thank you thank you.

Original comment by mota.jav...@gmail.com on 15 Nov 2013 at 4:09

GoogleCodeExporter commented 9 years ago
No problem.

Your are welcome. This is an old bug.
If you got the same problem in future, now you know what to do ;)

In future release (>= 2.0_Beta) this kind of problem will not exist anymore, 
and the 2.0_Beta will be the first "real" version of Movie Renamer, current 
version is just a "joke".

Original comment by nico.ma...@gmail.com on 16 Nov 2013 at 7:51