Comments (2)
When this happens, UnsupportedKraken
is thrown by CkanModule.FromJson
and handled here for freshly downloaded metadata:
CKAN/Core/Repositories/RepositoryData.cs
Lines 341 to 352 in eaefca5
There's also a JSON converter for when we load cached data from disk after saving it with a newer client:
CKAN/Core/Repositories/AvailableModule.cs
Lines 67 to 70 in eaefca5
CKAN/Core/Converters/JsonLeakySortedDictionaryConverter.cs
Lines 17 to 36 in eaefca5
In both cases unsupported modules are noted in the log and then skipped because the older client can't handle them. To alert the user, we would have to propagate a message out to GUI in some way, and it's not obvious to me how we could do that.
from ckan.
Thinking about the code level interface for this, it might make sense to extend the enum
that the repo update process returns:
CKAN/Core/Repositories/RepositoryDataManager.cs
Lines 112 to 121 in eaefca5
RepositoryDataMaanger
could return a new OutdatedClient
option if any unsupported modules are found, and GUI could use that as a signal to prompt the user to update their client, maybe with a yes/no dialog.
from ckan.
Related Issues (20)
- [Bug]: Trying to install XXXXXXX, but it's not downloaded or download is corrupted HOT 3
- Certificate errors on Debian (Ssl error:0900006e:PEM routines:OPENSSL_internal:NO_START_LINE) HOT 1
- [Bug]: Failed downloads popup doesn't appear when downloads time out HOT 5
- [Bug]: CKAN closes when starting says I am trying to run as Admin HOT 6
- [Bug]: "Audit recommendations" not working HOT 1
- [Feature] Get game version from DLLs with Mono.Cecil HOT 4
- [Bug]: CKAN refuses to open without "--asroot" command line operator when the user *is* the "Administrator" HOT 2
- (macOS) mono: bad cpu type HOT 1
- After downloading and installing a mod for the first time, the "Contents" tab is not refreshed properly HOT 1
- [Bug]: NRE, Repository update failed HOT 4
- CKAN KSP2 time not counting towards Steam playtime HOT 5
- Recommendations are not sorted by download count HOT 3
- Opening the relationships tab with locally-installed .ckan files throws an exception HOT 2
- Recommendations should not be automatically selected for install if they conflict with already-installed mods HOT 1
- Changeset screen should have a way to keep auto-installed mods
- Installing large mods can cause the UI to appear to hang for a while
- [Feature]: Add an option to auto-deselect "recommended" mods on install
- Relationships screen usability improvements HOT 5
- Add a “clean GameData” button to the toolbar HOT 2
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 ckan.