Comments (10)
Is this in the foreground or background? When specifically does the error show up - during update checking, during/after download, other? Also is this just for obtainium specifically?
from obtainium.
I think the issue may be fixed in the latest version (assuming the problem is what I suspect): https://github.com/ImranR98/Obtainium/releases/tag/v0.9.11-beta
Let me know and I'll reopen this issue if the problem persists (also provide more detail).
from obtainium.
I am getting an error similar to this, and not just while trying to update Obtainium itself, but also while trying to update other apps. Specifically, apps with multiple options/architectures for APKs.
I've had this issue for a while, and updated Obtainium several times, and the issue has not been fixed.
How to reproduce, for example, with Shattered Pixel Dungeon
- Have Shattered PD v2.0.1 installed, and have the github repo added into Obtainium. As of April 19 2023, Obtainium should say:
- Latest version: v2.0.2
- Installed version: v2.0.1
- Hit the "Update" button. Obtainium will now give you the option to select between "ShatteredPD-v2.0.2-Android.apk" and "ShatteredPD-v2.0.2-GPlay.apk".
- Select "ShatteredPD-v2.0.2-Android.apk" and push "Continue".
Expected result:
- Obtainium downloads the specified apk for Shattered PD v2.0.2 and updates the app for you.
Actual result:
-
Some Errors Occured
- RangeError (index): Invalid value: Not in inclusive range 0..1: -1 [com.shatteredpixel.shatteredpixeldungeon]
Obtainium version v0.11.32-beta, why is there no About or Version page in the settings?
from obtainium.
@ElonSatoshi I just tried that app and had no issues updating from 1.4.3 to 2.0.2. Could you mention the other apps this happens with? Would also be helpful to attach an export if you don't mind.
from obtainium.
Right now, the only other app this is happening on is Cataclysm Bright Nights (Installed version: cbn-experimental-2023-04-15-1839, latest version: cbn-experimental-2023-04-19-1517), when I attempt to update with the x64 labeled version.
Lemme see how exactly I add an attachment, otherwise I'll just paste the export into a message.
7z a obtainium-export-1681955821174.json.zip obtainium-export-1681955821174.json
obtainium-export-1681955821174.json.zip
I tried uploading the .json file, but apparently I have to zip it first or something. Wondering if I should put it in a pastebin?
I decided to go ahead and zip it, to make myself less spammy.
from obtainium.
@ImranR98 have you taken a look at this yet?
from obtainium.
Haven't been able to reproduce the issue but I see the problem in your export and I think I know what bit of code might have caused it. Will fix in the next release so it shouldn't happen again.
from obtainium.
Can you tell me what the problem in my export is, and recommend a workaround/temporary fix?
from obtainium.
The preferredApkIndex property is -1 while it should be the number of whichever apk you want (from the apkUrls list), starting at 0 (so the first URL is preferredApkIndex = 0).
I'm surprised I wasn't able to reproduce the issue myself though, looking at the code I woukd expect everyone to have this problem. Probably missing something. Anyways let me know if manually changing it works.
from obtainium.
Should hopefully be fixed now: https://github.com/ImranR98/Obtainium/releases/tag/v0.11.33-beta
You might still need to delete and re-add the apps that weren't working, but the problem shouldn't happen again going forward.
from obtainium.
Related Issues (20)
- Can I enable automatic upgrades? HOT 1
- What permissons does Obtanium need? HOT 1
- Could not find a suitable release for BCR at Github HOT 1
- Add support for AppGallery HOT 6
- How to translate "2-4 items" strings? HOT 2
- VLC doesn't work HOT 5
- Import GitHub Starred list into Obtainium HOT 2
- apkpure error HOT 3
- Can't grab changelog HOT 1
- Wrong and older version on apps that needs to be updated HOT 1
- dowloading stable brave browser from github downloads only nightly HOT 1
- Add gitlab pre-releases to your app HOT 3
- No version detection on pre-releases HOT 2
- Search inside of third party F-Droid repo
- Add redirecting links as a source HOT 3
- Feature request: allow installing unexpected App ID / bypass App ID check HOT 4
- Feature request: show ABI from F-Droid when there are multiple files to choose from
- [Feature request] Support multiple sources HOT 1
- [Feature Request] Add `pre-defined brand colours` and a `dynamic colour picker` to the `category colour picker`
- Wireless debugging for auto installation and batch updating of apps.
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 obtainium.