Games don't loading scenes in 3.2, "unknown protocol: c".

Ken Sowyer

  • Posts: 23
Downloading behaviors from StencylForge is not working since I installed the latest version.
Also, all my backup games or any games that I import are all loading without the scenes.
I just uninstalled the previous one (3.1) and downloaded and installed version 3.2 b7972.

Here are the logs from opening a game and downloading from StencylForge respectively:

Level:     ERROR
When:      2014-12-13 17:06:08
From:      stencyl.core.lib.Game

unknown protocol: c

Throwable: java.net.MalformedURLException: unknown protocol: c
   at java.net.URL.<init>(Unknown Source)
   at java.net.URL.<init>(Unknown Source)
   at java.net.URL.<init>(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(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.DOMParser.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
   at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
   at stencyl.sw.util.FileHelper.readXMLFromFile(FileHelper.java:513)
   at stencyl.core.lib.io.IOHelper.readXMLFromFile(IOHelper.java:151)
   at stencyl.core.lib.Game.readSceneList(Game.java:1298)
   at stencyl.core.lib.Game.create(Game.java:781)
   at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:97)
   at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:36)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Level:     ERROR
When:      2014-12-13 17:15:59
From:      stencyl.sw.app.forge.ForgeDownloader

unknown protocol: c

Throwable: java.net.MalformedURLException: unknown protocol: c
   at java.net.URL.<init>(Unknown Source)
   at java.net.URL.<init>(Unknown Source)
   at java.net.URL.<init>(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(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.DOMParser.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
   at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
   at stencyl.sw.util.FileHelper.readXMLFromFile(FileHelper.java:513)
   at stencyl.core.lib.io.IOHelper.readXMLFromFile(IOHelper.java:151)
   at stencyl.sw.app.forge.ForgeDownloader.initDownloadedResource(ForgeDownloader.java:1326)
   at stencyl.sw.app.forge.ForgeDownloader.processDownload(ForgeDownloader.java:997)
   at stencyl.sw.app.forge.ForgeDownloader$3.doInBackground(ForgeDownloader.java:392)
   at stencyl.sw.app.forge.ForgeDownloader$3.doInBackground(ForgeDownloader.java:280)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

I'm using Windos 7 64. Any ideas how to fix it?

Thanks...

Donni11

  • *
  • Posts: 2181
Hmm..... Weird ........ Try uninstalling and reinstalling  Stencyl .
Peace

captaincomic

  • *
  • Posts: 6108
Please post your full logs (Debug -> Logs -> Generate Logs).

Ken Sowyer

  • Posts: 23
The scenes problem is solved.. Seems that Stencyl is having some trouble with the workspace directory, maybe because of special caracter (á)? I just change to "C:\Stencyl\workspace" and the games loads fine now.

But nothing change about StencylForge downloads...

This error:
Quote
Level:     ERROR
When:      2014-12-14 21:34:50
From:      stencyl.sw.app.App

Unknown action: menu.gameedit

follow by this:
Quote
Level:     ERROR
When:      2014-12-14 21:34:52
From:      stencyl.sw.app.forge.ForgeDownloader

unknown protocol: c

Throwable: java.net.MalformedURLException: unknown protocol: c
   at java.net.URL.<init>(Unknown Source)
   at java.net.URL.<init>(Unknown Source)
   at java.net.URL.<init>(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(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.DOMParser.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
   at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
   at stencyl.sw.util.FileHelper.readXMLFromFile(FileHelper.java:513)
   at stencyl.core.lib.io.IOHelper.readXMLFromFile(IOHelper.java:151)
   at stencyl.sw.app.forge.ForgeDownloader.initDownloadedResource(ForgeDownloader.java:1326)
   at stencyl.sw.app.forge.ForgeDownloader.processDownload(ForgeDownloader.java:997)
   at stencyl.sw.app.forge.ForgeDownloader$3.doInBackground(ForgeDownloader.java:392)
   at stencyl.sw.app.forge.ForgeDownloader$3.doInBackground(ForgeDownloader.java:280)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

There's a way to change the StencylForge temp directory?

Full log attached.

« Last Edit: December 14, 2014, 04:06:08 pm by Ken Sowyer »

captaincomic

  • *
  • Posts: 6108
The scenes problem is solved.. Seems that Stencyl is having some trouble with the workspace directory, maybe because of special caracter (á)? I just change to "C:\Stencyl\workspace" and the games loads fine now.
Yes, special characters in the workspace are known to cause problems.

Quote
Level:     ERROR
When:      2014-12-14 21:34:50
From:      stencyl.sw.app.App

Unknown action: menu.gameedit
This is harmless (and fixed in the latest build).

I don't know the reason for the StencylForge error...

Ken Sowyer

  • Posts: 23
I followed this tutorial to change my username account that had the special character:
http://www.sevenforums.com/tutorials/147545-user-profile-folder-change-user-account-folder-name.html

Now it's working again, problem solved!

And thanks guys for your time  :)


captaincomic

  • *
  • Posts: 6108
Oh, okay, so the special char also caused the StencylForge problem?

Just fyi, it should be enough the change the workspace and installation directory of Stencyl, then you don't need to change your user home dir.

Ken Sowyer

  • Posts: 23
Oh, okay, so the special char also caused the StencylForge problem?
Yes...
Quote
Just fyi, it should be enough the change the workspace and installation directory of Stencyl, then you don't need to change your user home dir.
I tried it, but doesn't work. It seems that StencylForge uses the user directory for temp files or something, and I don't find how I can change it. So I have to change username =\

captaincomic

  • *
  • Posts: 6108
I tried it, but doesn't work. It seems that StencylForge uses the user directory for temp files or something, and I don't find how I can change it. So I have to change username =\
Okay, maybe that can be fixed...

captaincomic

  • *
  • Posts: 6108
Fixed in the latest build and upcoming version.