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
Update to mod adds dependency, CKAN upgrade doesn't install it? #1124
Comments
It's probably the same issue as #795. Long story short:
|
For future reference you can reproduce by:
|
Following those steps has resolved the OPM upgrade issue, thanks! My points in my original post still stand. I understand that this situation is a little unusual, and that because of the conflicting files it would be difficult to resolve the problem in an automated fashion. However, this slightly different problem is still detectable, and the resolution steps are known.
This issue has different command line error output from #795, though the causal circumstances do sound the same. |
Yes this should be handled gracefully which is why I'm leaving the issue open. Really the problem seems to be that CKAN is checking for consistency within a transaction, which it shouldn't care about. The only thing that CKAN should care about is that before a transaction the state of the world is consistent, and then that after a transaction the state of the world is consistent. Anything should be allowed to happen within a transaction so long as the end result is consistent. |
Awesome, thanks again! |
There are two issues here from my investigation:
As mentioned above, I think the correct thing to do here is:
|
Gosh dang this thread rocks. Seriously. @jakkarth is dead on about this needing to be handled by the client sensibly. @dbent's suggestion on how to resolve this seems solid, but I'm on day five of a teaching sprint (I'm the teacher!) so treat my opinions as ones made in a rather hazy state. :) Marking this ticket as a bug, because it most definitely is. :) |
Just out of curiosity, why would we do it at the end of the transaction? We have the metadata about the final versions of all the mods involved at the start of the transaction; can we not verify there will be no conflicts before we spend the 10 minutes downloading and installing, rather than after? I know nothing of the way CKAN works internally but this seems like a strange choice :) |
@jakkarth I'm talking in an abstract sense. We obviously shouldn't spend the time to download/install mods that will eventually conflict, but I consider than an implementation detail / optimization since the functional behavior would be equivalent in either case. |
Ah, I see, makes sense. |
This bug exists through 1.10.3 |
I apologise if this issue is already open, I didn't see it when I searched. I'm using v1.6.23-0. It looks like Outer Planets Mod has somehow changed its dependency on Kopernicus (possibly due to Kopernicus 0.9 pre-release?). OPM is listed as updatable in the gui, so I tell it to upgrade and the progress bar just spins forever and it never finishes. I attempted to upgrade on the command line using ckan upgrade --all, and it downloaded the mod but I get a stack trace when it tries to install:
A few humble opinions:
The text was updated successfully, but these errors were encountered: