Comments (5)
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:
- Your windows setup
- The icon or its path
- Anolis resourcer
- The nodejs wrapper for Anolis resourcer
- Usage of the wrapper made by node-webkit-builder
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.
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.
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\demoPackages2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\node_modules.zip into C:\views\NEXTGE
[unzip] Expanding: C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[copy] Copying 1 file to C:\views\NEXTGE
[copy] Copying 1 file to C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[exec] 1 file(s) copied.
[exec]
[exec] > [email protected] gulp C:\views\NEXTGE
[exec] > gulp
[exec]
[exec] [09:34:35] Using gulpfile C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\gulpFile.js2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\cache\0.12.3
[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
[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.32\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\win64
[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
[exec] [09:35:14] nw-builder Create release folder in C:\views\NEXTGE2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\osx642\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\osx64\EMCUnityDemo.app\Contents\Resources\nw.ic
[exec] [09:35:17] nw-builder chmod 33206 on C:\views\NEXTGE
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.
Same problem
from nw-builder.
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)
- unzipper failed. Emitted 'error' event on DuplexWrapper instance at #289 HOT 8
- nw-builder 4.5.3 requires WINE on Windows 11 HOT 3
- Add documentation on how to use package HOT 1
- Migrate back to `yauzl-promise` for unzipping MacOS binaries HOT 1
- Use Google's Release Please bot to automate releases HOT 1
- nw-builder always redownloads nw.js binaries HOT 2
- PR test coverage requirement HOT 5
- Executable file if run on another machine fails HOT 15
- Improvements to bring in line with nwjs-builder-phoenix HOT 6
- Problem building 0.78.1 + osx + arm64 HOT 5
- libffmpeg not being installed into correct folder HOT 5
- on some macOS, symbolic links are copied as files and link is lost
- Symlinks are copied as files on decompress HOT 9
- `argv` is not properly handled
- linux platform builds with ffmpeg enabled fail with zlib error '[ ERROR ] incorrect header check' HOT 2
- Enabling and disabling `options.ffmpeg` still uses community FFmpeg on successive build HOT 4
- Rename MacOS Helpers HOT 3
- Node Native Addon (gyp, nan, cmake, ffi)
- Canary builds HOT 1
- nw-builder download stuck HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nw-builder.