Giter VIP home page Giter VIP logo

Comments (5)

felicienfrancois avatar felicienfrancois commented on May 18, 2024

Anolis Resourcer is the resource editor used to set the App icon.
It's a native app wrapped by a nodejs script

So the problem may come from:

The stack seems to indicate that anolis resourcer failed to write logs in 'C:\Users\Isaiah\AppData\Local\Anolis\Exceptions.log'

1°) Which is your windows version
2°) Have you a special windows setup ?
3°) Have you .NET framework 2.0 or above installed ?
4°) Are you launching it from a specific shell (Git bash, MinGW, ...) ?
5°) Is it reproductible
6°) Are you able to launch anolis resourcer GUI (download here http://anolis.codeplex.com/releases/view/32286 and run Resourcer.exe)
7°) Are you able to run it on command line to set the icon to your app:
Resourcer.exe -type:Icongroup -name:IDR_MAINFRAME -op:upd -src:yourexefile.exe -file:youricon.ico ?

from nw-builder.

1j01 avatar 1j01 commented on May 18, 2024

I'm pretty sure this problem is coming directly from Anolis Resourcer, although the wrapper or node-webkit-builder could probably fix the error by creating the directory. I mean, not the main error, but it could make the exception log available by creating the directory for it.
I haven't reproduced this.

from nw-builder.

cktech1me avatar cktech1me commented on May 18, 2024

This issue is old and I just reproduced it 1/5/2016 (first time I saw it)

build_and_package_the_demo_on_windows:
[copy] Copying 9 files to C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[unzip] Expanding: C:\views\NEXTGE
2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\node_modules.zip into C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[copy] Copying 1 file to C:\views\NEXTGE
2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[copy] Copying 1 file to C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[exec] 1 file(s) copied.
[exec]
[exec] > [email protected] gulp C:\views\NEXTGE
2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[exec] > gulp
[exec]
[exec] [09:34:35] Using gulpfile C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\gulpFile.js
[exec] [09:34:35] Starting 'nw'...
[exec] [09:34:37] nw-builder Using v0.12.3
[exec] [09:34:37] nw-builder Create cache folder in C:\views\NEXTGE
2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\cache\0.12.3
[exec] [09:34:37] nw-builder Downloading: http://dl.nwjs.io/v0.12.3/nwjs-v0.12.3-win-x64.zip
[exec] [09:34:37] nw-builder Create cache folder in C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\cache\0.12.3
[exec] [09:34:37] nw-builder Downloading: http://dl.nwjs.io/v0.12.3/nwjs-v0.12.3-osx-x64.zip
[exec]
[exec]
[exec] [09:35:14] nw-builder Create release folder in C:\views\NEXTGE
2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\win64
[exec] [09:35:14] nw-builder Create release folder in C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\osx64
[exec] [09:35:17] nw-builder chmod 33206 on C:\views\NEXTGE
2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\osx64\EMCUnityDemo.app\Contents\Resources\nw.ic
ns failed after copying, ignoring
[exec] [09:35:18] nw-builder Update win64 executable icon
[exec]
[exec] Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\kingc5\AppData\Local\Anolis\Exceptions.log'.
[exec] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[exec] at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options,
SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
[exec] at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromPro
xy)
[exec] at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
[exec] at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
[exec] at System.IO.StreamWriter..ctor(String path, Boolean append)
[exec] at Anolis.Resourcer.Program.Main(String[] args)
[exec] [09:35:26] nw-builder Error while updating the Windows icon.
[exec] [09:35:26] Finished 'nw' after 51 s
[exec] [09:35:26] Starting 'default'...
[exec] [09:35:26] Finished 'default' after 12 ╬╝s

from nw-builder.

AndrewMast avatar AndrewMast commented on May 18, 2024

Same problem

from nw-builder.

adam-lynch avatar adam-lynch commented on May 18, 2024

I don't think there's anything wrong with nw-builder's usage of winresourcer. I'll have to close this. More success might be had if it was reported to winresourcer, etc. Thanks anyway.

from nw-builder.

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.