Comments (5)
Some more information (or at least relevant-sounding issues):
JuliaLang/Pkg.jl#1943 (comment)
This second post implies that LongPathsEnabled may have fixed it in their case, but this had no impact the last time I encountered an issue of this flavor on Windows
I suppose this kind of thing is good to document somewhere, but I’m not sure how to phrase it in a way that doesn’t sound super tin-foil-hat-y
from bridgestan.
I believe that this is a restriction of mingw32-make, which we currently use for our build process. I’m not sure if we can work around this as long as we rely on that tool, but it’s good to investigate and note either way.
Thanks for the report!
from bridgestan.
Thank you! Strangely though, that seems to happen before mingw32-make
gets called, i.e. while doing package installation. The relevant bits of the error message seem
Unable to automatically download/install artifact 'bridgestan' from sources ...
and
Error: SystemError: opening file "C:\\Users\\Gabriel
Kreindler\\.julia\\artifacts\\ac3a3214a3759f4eb652ce30f2e1b2feb6df1f00\\bridgestan-2.1.1\\stan\\lib\\stan_math\\lib\\boost_1.78.0\\libs\\intrusive\\proj\\vc7ide\\has_member_function_callable_with_no_decltype\\has_member_function_callable_with_no_decltype.vcproj":
No such file or directory
I was puzzled it would crash during package install since the Julia __init__()
seems pretty minimal.
Do you think potentially the problem is could rather be coming from the LazyArtifacts
dependency?
from bridgestan.
Hm, that filename is 281 characters long, which is just over the ~280 character “limit” I’ve observed certain processes on Windows failing at. For example, the Prophet python package (based on Stan) recently had issues with very long path names:
facebook/prophet#2402 (comment)
The space in the path probably would have also caused problems later, but I suspect whatever alternative path was chosen was also shorter, not just space free.
I believe this kind of issue can occur even if the LongPathsEnabled registry key is set, possibly because the Win32 API used by mingw32-make (and, since julia is also compiled with gcc on windows, I assume Julia uses this too) may ignore that setting as it is a relatively recent addition to the windows runtime.
from bridgestan.
Wow! Interesting, I didn't know about that crazy windows limitation. How people can live like this? ;) Thank you!!
from bridgestan.
Related Issues (20)
- TBB path issue on Windows HOT 2
- Missing support for precompiled header HOT 25
- Tracking: Changes in the next version of Stan
- Better Error Message for Python Interface Automatically Downloading BridgeStan Source HOT 1
- clang argument error during model compile on MacOS HOT 14
- Functionality necessary to nest Stan models in other PPLs HOT 13
- Tracking: Changes in Stan 2.34
- More consistent instantiation from a .stan file in various languages HOT 2
- Python callback into BridgeStan with C types HOT 10
- Control over the internal threading of a model
- logo icons HOT 2
- Add an R function to convert data list to JSON HOT 2
- github.io page outdated HOT 1
- Tracking: Changes in the next version of Stan
- clang: error: no such file or directory: './stan/lib/stan_math/lib/tbb/libtbb.dylib' HOT 3
- add no_warnings / quiet option to StanModel$new() HOT 10
- any way to reduce UserWarning level on loading already loaded model? HOT 3
- Ability to check if bridgestan sources are already available HOT 9
- Consider moving Julia download away from LazyArtifacts 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 bridgestan.