Giter Club home page Giter Club logo

Comments (12)

sihorton avatar sihorton commented on June 15, 2024

Normally this is caused by the icon file not being found. The app.nsi script points to an .ico file, if for any reason that path is incorrect or icon file is missing then it just dies silently. This has been a problem for a while and I really need to fix better error handling and logging.

Until there is better support try http://nsis.sourceforge.net/ and you can download a portable edition of NSIS or there is even an IDE "HM NIS Edit" you can download. Then open the .nsi file and compile it and see what the error is.

from appjs-deskshell.

sihorton avatar sihorton commented on June 15, 2024

A quicker option is to actually just run Deskshell\sys-apps\win-exe-compiler\NSIS\NSIS.exe then click on "Compile NSI scripts" and you get a little editor.

from appjs-deskshell.

purecreative avatar purecreative commented on June 15, 2024

Thanks for your replies so far. The nsi script is looking for a folder called "deploy" parallel to htdocs. It couldn't find this so it failed.

I have manually created the deploy folder to allow the process to complete.

This creates a .exe file called sshlaunch. When I try to use this a blank window briefly appears and then closes.

The deskshell.log file says:

UncaughtException:start must be <= endstart must be <= end

from appjs-deskshell.

sihorton avatar sihorton commented on June 15, 2024

Try downloading http://deskshell.org/downloads/portable-hello-world.zip. This has a particular layout and structure and includes an app.nsi file and hopefully should compile and create an .exe for you. Then compare that to your application (http://winmerge.org/ is excellent for this kind of job). I am guessing that something is missing or is named wrongly and that therefore deskshell is not starting up properly -- sounds to me like the file it is reading is blank or something like that.

from appjs-deskshell.

sihorton avatar sihorton commented on June 15, 2024

Ah another thing I have thought of is that the first time you run the wizard it creates a new app.nsi for you automatically with the correct settings. However after that it just leaves the previous app.nsi as it was. Try renaming that file and re-run the wizard, maybe a new file will solve the problem.

from appjs-deskshell.

purecreative avatar purecreative commented on June 15, 2024

Using the portable hello world I tried to create a new .exe using MakeNSISW.

There are two warnings:

2 warnings:
Generating version information for language "0000-English" without standard key "LegalCopyright"
install function "InstallRuntime" not referenced - zeroing code (48-79) out

The app.exe is created but it results in the same error log:

UncaughtException:start must be <= endstart must be <= end

I have not changed any of the content in the Portable Hello World example just simply ran the nsi script.

I've tried renaming the app.nsi file and creating a brand new application with a separate run of the wizard. Still the same error code.

from appjs-deskshell.

sihorton avatar sihorton commented on June 15, 2024

Ok, thanks for the good error description. Sounds to me like I need to add better debug errors. Not sure if german language is missing but I dont think that should cause problems. This is just a simple launcher but we have had problems before. I cannot look now but will investigate and try to improve the compiler for you.

from appjs-deskshell.

purecreative avatar purecreative commented on June 15, 2024

Thanks very much. This looks to be a great project and I really appreciate your quick responses.

from appjs-deskshell.

ssedwards1 avatar ssedwards1 commented on June 15, 2024

Hi sihorton,

I seem to be having the same issues as above. I've got to the point where I get the "UncaughtException:start must be <= endstart must be <= end" error on lunching the exe.

Is this still an issue 10 months on?

from appjs-deskshell.

caiowilson avatar caiowilson commented on June 15, 2024

Yes I can confirm the issue is still standing.

from appjs-deskshell.

caiowilson avatar caiowilson commented on June 15, 2024

there are some references to "D:\dev\appjs-deskshell\bin\win\deskshell.js" which is your wroking directory I would assume. But other then that I still can't find what the hell is wrong with it.

Quick update: seems like gyp doesn't work with 3.x python, trying with 2.7.3 let's see what goes.

from appjs-deskshell.

tcave avatar tcave commented on June 15, 2024

I got a little further with this issue. I am using NSIS to compile the nsi script and get the error:
"UncaughtException:start must be <= endstart must be <= end" as reported above.

While debugging I found that you need to call the .desk file app.desk, and not portable-hello-world.desk or whatever you application is. With this I no longer see the "UncaughtException:start must be <= endstart must be <= end" error and the installer starts to install. However when it gets to downloading deskshell I get an error saying:

"Error when downloading http://deskshell.org/?downloading=WindowsUpdateInstall. please try again later"

Regards,
TC.

from appjs-deskshell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.