-
Notifications
You must be signed in to change notification settings - Fork 16
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
Windows Issue: The specified module could not be found #124
Comments
Testing now! |
I haven't shipped it yet but I think this should be everything (You can test it by placing the |
Seems to work! Thank you so much for your help! |
I'll keep my eye open for the release so I can switch, thanks again :) |
Going to release v0.7.7 and retire v0.7.4-v0.7.6. |
Okay, v0.7.7 is shipped🤞 |
@cocoa-xu SUCCESS Feel free to close :) |
That's great to hear! Closing this now |
Seeing a new issue, intermittment on prod releases @cocoa-xu What's odd is that this is on starting the application, where no code from this is actually running afaik. Sometimes it boots up my phoenix server ok, sometimes it gives me this error chain. Whats weird is that my system test script that actually uses ADBC works just fine...
|
It may be related to the order NIF modules are loaded. I will take a look, it may be that some release scripts are changing the order of modules. |
Thanks, I'm digging into it as well. @josevalim this is on a |
I can confirm that Erlang will load modules in random order in a release, so this will indeed only work from time to time. I am not sure of solutions at the moment. |
I could just start an ADBC instance that I don’t ever need to interact with? Might solve it I’ll try
|
Thanks, will try as soon as I’m able. Might be tomorrow EST though.
|
That's unfortunately impossible because Unless we switch to use function pointers and dynamically search for the Another approach is just statically link |
The latest fix works perfectly @josevalim and @cocoa-xu . Thank you - you've saved a huge project demo. |
@cocoa-xu can you please do a new release or should I? I am pinging because both of us tend to be really fast, and therefore it is likely that we will both release at the same time. :D |
Haha that's true, I'll do the release in a minute! |
Okay, tagged v0.7.8 and waiting for CI, should be ready and shipped in 5 minutes! |
v0.7.8 is shipped, going to retire v0.7.7 as it sometimes won't work in a release, and closing this issue as it's finally resolved. :D |
Originally posted by @DnOberon in #120 (comment)
The text was updated successfully, but these errors were encountered: