[NOT solved] Null version number causes updates to fail

gigaclon

  • Posts: 163
I reinstalled SW but when I go to get the updates it says "StencylWorks was unable to complete the update process, Ensure that your computer is connected to the Internet and then try again. When go to the About page the version is listed as null(bnull)

« Last Edit: August 13, 2011, 08:25:08 am by Hectate »

jamesvhyde

  • Posts: 25
I have this same problem. What was the solution??

salsa

  • Posts: 4
me too.. anybody can help me?

« Last Edit: August 12, 2011, 10:20:28 am by salsa »

xmagicx60

  • Posts: 213
same here, though I'm fully updated on the front page

salsa

  • Posts: 4
looking in log file i found that line:

Code: [Select]
[LOG] Could not connect to Stencyl server

salsa

  • Posts: 4
nobody knows how to fix it?

Hectate

  • *
  • Posts: 4643
We're trying to figure it out, since there are multiple cases here. We know the error is caused by a missing version number (null value), but we don't know what is causing the missing number.

I'm going to rename the topic to reflect the current state of the problem.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Jon

  • *
  • Posts: 17524
You can work around it by editing your preferences file to stick a value in that entry.

1) Open prefs/boot.txt
2) Edit the line starting with "build" and give it the value: 404
3) Check the line that starts with "version" and call it 1.0.4. It really doesn't matter what this one is. It's entirely visual.

(If those lines don't exist, create them)

4) Save and close

Why it's turning null to begin with, I have no idea how that could happen. I could have it auto-correct the version if it's null by dunking in the version of the latest build.

jamesvhyde

  • Posts: 25
The lines do not exist. What exactly should they look like?

Hectate

  • *
  • Posts: 4643
Here is the section of my boot.txt that contains those lines. This is just a chunk of it, there isn't sections or anything delineated specifically, I just pulled this out so you could see how it looked (there's plenty of more lines above and below).

Code: [Select]
debug=true
build=404
once.cc.start=true
once.cc.finish=true
version=1.0.4
perf.tint=true
signin=true
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Jon

  • *
  • Posts: 17524
For good measure, it would probably help to just have you post the preferences file up entirely (strip out your hashed password first).

jamesvhyde

  • Posts: 25
Is there a difference between the Mac and Windows version of the boot.txt file?

Hectate

  • *
  • Posts: 4643
I'm actually out of internet access on my laptop at the moment - and as noted, is there a windows/mac difference to the file?

Anyone else able to post this up?
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Jon

  • *
  • Posts: 17524
Is there a difference between the Mac and Windows version of the boot.txt file?

Nope.

Hectate

  • *
  • Posts: 4643
Actually, disregard my last post - I forgot I had installed SW on the PC here (at someone else's place).

See the contents of my boot.txt below - I don't know what needs to go in place of the globaluser and globalpassword that Jon mentioned - will it fail if they're blank?

Code: [Select]

prefs.autoupdate=true
proxy.password=
flash=true
global.prefs=default
global.locale=en
global.time=2011-06-30 18:09:04
global.gamedir=games
url.annotation=http://www.stencyl.com/help/viewArticle/42/
ext.imageeditor=0
global.height=878
url.lang=http://stencyl.net/language/
once.design=true
url.stencylforge.static=http://static.stencyl.com/forge/
global.iconified=true
prefs.design.help=true
global.minimized=false
global.width=1448
global.workdir=
perf.effects=false
once.welcome=true
global.pubdir=published
url.publish=http://www.stencyl.com/
proxy.port=
ext.soundeditor=/Applications/Audacity.app
project=stencylworksBeta
global.library=library
ext.imageeditor.path=
welcome.show=true
url.faq=http://www.stencyl.com/help/
once.reloaddoc=false
proxy.username=
global.password=
debug=true
build=404
once.cc.start=false
once.cc.finish=false
version=1.0.4
perf.tint=true
signin=true
net.timeout=8000
url.stencylforge=http://www.stencyl.com/forge
url.faqs=http://www.stencyl.com/help/
global.group=2
ext.codeeditor.path=
ui.tab.layout=false
ext.codeeditor=0
talk.enabled=true
url.api=http://api.stencyl.com/as3/
global.user=
preview.browser=false
url.wiki=http://www.stencyl.com/help/
url.base=http://www.stencyl.com/
proxy.host=
global.maximized=true
url.update=http://www.stencyl.com/sw/updater/
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.