-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundling App on Windows Fails #14
Comments
Hi, I have actually not tested running AppBundler on Windows, so issues are expected. The issue appears to be in checking that the path does not contain invalid characters, which include For the time being, you can comment out |
Hi, Thanks, after commenting the line out, it works fine now. I had a look at the function and the problem lies with the RegEx, it is normally used to validate file / folder names and you are inputting a file path or folder path. A path in windows will includes If the files you are checking exists on disk, then using the function
Taken from: https://regexr.com/52is4 |
For your reference, I ran some test on the installation and everything works fine until .msix package installation.
I get this error during installation on the package. |
I will have to check whether I can use Regarding the installation, I can't remember seeing such error before. There is a powershell script launcher in the bundled directory, does it work for you? |
It doesn't really work either, the script doesn't return any errors but when I try to run the main.jl in the Julia session I get an error specifying precompiled folder doesn't exists |
I have no idea what the issue is, so I will only try to reproduce the issue on my Windows VM. I may try to allocate a few hours for the windows next week if I feel that I can change focus from the cryptography stuff I am doing now. |
If you have a simple test application to run on Windows, I can also try it on my setup and test for you, if this helps |
I just pushed a new version,
where it is reasonable to omit zip archive creation. Running the script will produce Note that creating a bundle in deeply nested subdirectories would fail if the path exceeded the 260-character limit. Also, there is buggy behaviour when one uses the Parallels Desktop bridged folder, seemingly indicating that a network drive is affected the same way. |
Hi Janis, Thanks for spending some time on this. I tried to replicate the same build but got some issues: Julia bundle succeeded
However the precompilation failed
Any idea why this is the case ? Thanks! |
It seems that track content argument got introduced only with Julia 1.11 which is now in release candidate stage. You should use that as it also introduces cache relocability fixes. |
Thanks, I will try again on 1.11 when it releases and update the post then |
Hi,
I am trying to build a very simple application to test the bundler on Windows, but the application returns an error.
I have a very simple main.jl that contains
My Project.toml file
After that I run in the REPL
AppBundler.bundle_app(Windows(:x86_64), "TestBundle", "build/TestBundle.zip")
And I get a lots of errors
Every single filename has an "issue" with invalid characters.
I am running Julia 1.10.4 on Windows 11 Pro 22H2 (build 22621.1413)
Any idea how to get this to work ?
The text was updated successfully, but these errors were encountered: