Page 5 of 7

Re: Book Scan Wizard

Posted: 27 Feb 2011, 11:08
by daniel_reetz
Steve, I can't seem to get the latest BSW to run from webstart or manual install -- can it possibly be that I have the old version still installed?

I get as far as the "java" logo and that's it. Gonna go through the basics like restarting my machine, etc, and I'll probably just switch to my laptop as I'm off traveling as of this morning.

Re: Book Scan Wizard

Posted: 27 Feb 2011, 11:16
by daniel_reetz
FYI:

Book Scan Wizard RC1 gets a blog post (much more to come on this):
http://www.diybookscanner.org/news/?p=249

Book Scan Wizard is now on the homepage twice (more here, too):
http://diybookscanner.org/

Re: Book Scan Wizard

Posted: 27 Feb 2011, 11:38
by steve1066d
Steve, I can't seem to get the latest BSW to run from webstart or manual install -- can it possibly be that I have the old version still installed?
It does seem like occasionally if there's an update you have to try the web start version multiple times before it launches. I've not really any idea what its happening. uninstalling the old one first can help.

I'll take a look at the manual install. What operation system are you running?

Re: Book Scan Wizard

Posted: 27 Feb 2011, 12:43
by daniel_reetz
I'm on Windows 7 64 bit. Unfortunately, I won't be in front of that machine again for a week... when I am, I'll get the console up and see what I can do about debugging.

Re: Book Scan Wizard

Posted: 01 Mar 2011, 20:19
by steve1066d
I haven't heard any problems concerning the latest release candidate so I'm releasing the 1.0 version of Book Scan Wizard.

All that's changed since the first release candidate is a few minor bug fixes.

Webstart version:

http://bookscanwizard.sourceforge.net/run

Manual install:
http://sourceforge.net/projects/bookscanwizard

Re: Book Scan Wizard

Posted: 02 Mar 2011, 13:36
by umpausewhat
I'm also having a problem getting the installation to work from the web start link. I get an "application error" that displays two tabs in the "details." Under the "exception" tab, it states:

JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

under the the "wrapped exception" tab, it states:

java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

With all the "unkown source" language, does this mean I've got some sort of security/firewall issue?

Re: Book Scan Wizard

Posted: 02 Mar 2011, 13:42
by Anonymous1
Those errors mean that your Java Web Start launcher is brokeded. I ran it, and it worked.

Can you post what the red box says on this website? It tells you your Java version: http://javatester.org/version.html.

As for the file, open up Notepad and paste in this code:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase="http://bookscanwizard.sourceforge.net/run" href="bsw.jnlp" spec="1.0+">
    <information>
        <title>Book Scan Wizard</title>
        <vendor>Steve Devore</vendor>
        <homepage href="http://bookscanwizard.sourceforge.net"/>
        <description>Book Scan Wizard</description>
        <description kind="short">Book Scan Wizard</description>
        <association extensions="bsw" mime-type="application-x/bsw-file"/>
        <shortcut online="false">
          <desktop/>
          <menu submenu="Book Scan Wizard"/>
        </shortcut>
        <offline-allowed/>

    <icon href="bsw.png" kind="default"/>
</information>
<update check="timeout" policy="prompt-update"/>
<security>
<all-permissions/>
</security>
    <resources>
<j2se java-vm-args="-Xmx1024M" version="1.6+"/>
<jar href="BookScanWizard.jar" main="true"/>
<extension href="http://download.java.net/media/jai/webstart/release/jai-1.1.3-latest.jnlp" name="" version=""/>
<extension href="http://download.java.net/media/jai-imageio/webstart/release/jai-imageio-1.1.jnlp" name="" version=""/>
</resources>
    <application-desc main-class="net.sourceforge.bookscanwizard.BSW">

    </application-desc>
</jnlp>
Then, press CTRL + S, and save it with this exact name (with the quotation marks too):

Code: Select all

"bsw.jnlp"
Now, try running that file.

Re: Book Scan Wizard

Posted: 02 Mar 2011, 13:52
by umpausewhat
The Red Box says: Java Version: 1.6.0_24 from Sun Microsystems Inc.

thanks

Re: Book Scan Wizard

Posted: 02 Mar 2011, 13:56
by umpausewhat
Also, followed your instructions above and got the same error message when running the file. Do I need to re-install java?

Re: Book Scan Wizard

Posted: 02 Mar 2011, 13:56
by Anonymous1
Exact same version as I have. What platform are you running BSW on?