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

putting module in develop mode #142

Open
frederikgeth opened this issue Jan 22, 2021 · 2 comments
Open

putting module in develop mode #142

frederikgeth opened this issue Jan 22, 2021 · 2 comments

Comments

@frederikgeth
Copy link

Hi,

Thanks for this great package, it's a great contribution to the power systems research community! I'm trying to figure out the behavior and design of the module, and would like to put it in dev mode through the built-in package manager, i.e. ] develop PowerDynamics.

I get the following error, on mac (julia 1.5):

(@v1.5) pkg> develop PowerDynamics
    Cloning git-repo `https://github.com/JuliaEnergy/PowerDynamics.jl.git`
ERROR: failed to clone from https://github.com/JuliaEnergy/PowerDynamics.jl.git, error: GitError(Code:ERROR, Class:OS, could not remove directory '/Users/get050/.julia/dev/PowerDynamics/.git/refs/remotes/origin/compathelper/new_version/2020-08-01-00-06-19-852-2271493462': parent is not directory: Not a directory)

and an almost identical error on Windows as well.

I can put other modules in dev mode successfully, so it seems to have something to do with the git config of this repo. The first google searches don't really lead to a solution (deleting .julia and/or its subfolders). Do you have any idea what could be causing this?

@SabineAuer
Copy link
Member

Hey Frederik,
thanks for checking out PowerDynamics!
I did not try to reproduce your error right now but when I develop packages I alway use the command develop --local PackageName, see here. Eventually this helps?

@SabineAuer
Copy link
Member

can I close this issue, @frederikgeth?

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

2 participants