mlanypitts / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

WS4GLAnimations and WS4GLWidgets updateSourceList() broken #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
--------------------------------------
1. Start webcamstudio in console
2. Look at the error log
3. Look at the interface for the available widgets and animations.

What is the expected output?
---------------------------- 
1. There should be no error
2. The animation and widget lists should be downloaded in the interface of 
webcamstudio.

What do you see instead?
------------------------
1. No anims and widget lists available online
2. Thrown error:

Pointer Size: 8
Starting iWebcamera Detection...
Feb 17, 2011 6:21:04 PM webcamstudio.Main initSourceDir
SEVERE: null
java.net.MalformedURLException: no protocol: <HTML>
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at webcamstudio.components.WS4GLAnimations.updateSourceList(WS4GLAnimations.java:44)
        at webcamstudio.Main.initSourceDir(Main.java:290)
        at webcamstudio.Main.access$500(Main.java:49)
        at webcamstudio.Main$4.run(Main.java:251)
        at java.lang.Thread.run(Thread.java:662)
Feb 17, 2011 6:21:05 PM webcamstudio.Main$5 run
SEVERE: null
java.net.MalformedURLException: no protocol: <HTML>
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at webcamstudio.components.WS4GLWidgets.updateSourceList(WS4GLWidgets.java:41)
        at webcamstudio.Main$5.run(Main.java:317)
        at java.lang.Thread.run(Thread.java:662)

What version of the product are you using?
------------------------------------------
0.56 (rev 890) 

On what operating system?
-------------------------
Gentoo ebuild by my own (working till a couple of weeks with no problems). URL 
of the ebuild - https://bugs.gentoo.org/show_bug.cgi?id=319995

Please provide any additional information below.
------------------------------------------------

This bug appeared probably a couple of weeks ago. Till then it did not exist.
I suppose it has something to do with the redirects one get when trying to 
access: 
http://www.ws4gl.org/animations/AnimationsList.txt
and
http://www.ws4gl.org/widgets/widgets.txt

Look for example at the output of a:
wget -S http://www.ws4gl.org/animations/AnimationsList.txt

All this is valid for the latest source in trunk also.

Original issue reported on code.google.com by peter.u....@gmail.com on 17 Feb 2011 at 5:41

GoogleCodeExporter commented 8 years ago
Fixed in new 0.57 as Google has changed their interface and WS4GL could not 
locate the files anymore.  The animations and widgets are now local in 0.57

Original comment by patrick.balleux on 22 Apr 2011 at 6:43