Skip to content
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

Problems with new update #412

Closed
Franziska12345 opened this issue Nov 8, 2018 · 4 comments
Closed

Problems with new update #412

Franziska12345 opened this issue Nov 8, 2018 · 4 comments

Comments

@Franziska12345
Copy link

Hey,
I updated my Packages yesterday and since then my OPF is not working anymore. After the command using PowerModels Julia shows three errors. I suspect the new PowerModels-update to be the reason for this, but my low knowledge is also a possible cause. However, everything worked totally fine the last days and nothing changed but the updates. I am using Julia Version 0.6.4

julia> using PowerModels

INFO: Precompiling module PowerModels.

ERROR: LoadError: InitError: ArgumentError: Unknown time zone "America/Chicago"

ERROR: LoadError: Failed to precompile InfrastructureModels to C:\Users\xxx.julia\lib\v0.6\InfrastructureModels.ji.

ERROR: Failed to precompile PowerModels to C:\Users\xxx.julia\lib\v0.6\PowerModels.ji.

Maybe I need to update my Julia-Version? I am favoring version 0.6 though. I hope you can help me with my issuse. Thank you in advance!

@ccoffrin
Copy link
Member

ccoffrin commented Nov 8, 2018

The current version of PowerModels should be working in v0.6/v0.7/v1.0. A complete test log can be viewed here, https://travis-ci.org/lanl-ansi/PowerModels.jl/builds/450278778

The error Unknown time zone "America/Chicago" should be related to an upstream library, which may have changed recently. My recommendation would be to try and rebuild your local Julia packages from scratch to see this resolves things.

@pseudocubic
Copy link
Collaborator

pseudocubic commented Nov 8, 2018

This is a problem with Memento / TimeZones (see invenia/Memento.jl#104 and JuliaTime/TimeZones.jl#153). My solution was to Pkg.pin("TimeZones", v"0.8.0") for now.

@ccoffrin
Copy link
Member

@Franziska12345 have any of these suggestions resolved your issue? If so, lets close this issue. If not, can you give us some more info on what is still breaking?

@Franziska12345
Copy link
Author

I deleted everything and installed new. Then it worked. Thank you all for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants