dbpInstaller


I removed the TWO MONTHS dbp from the dragonbox folder but I still get the error, so this seems related to the data read from the repo.

Can anyone confirm the same behaviour ?

Maybe dbpinstaller is considering the new version of TWO MONTHS as a duplicate ?
 
I can confirm that I get the same message.

A possible reason could be a zombie version of SlayTheDragons (maybe resulting in a parsing error).

@sebt3 if you can delete SlayTheDragons, please do so. Seems like I uploaded "something" accidentally when I tried to upload it a few weeks ago.

1758924029313.png
 
Last edited:
I opened dragonbox/appdata/dbpInstaller_sebt3/cache/dbpInstaller/packages-pyra-handheld.com-repo-needdata and removed SlayTheDragons, saved and then dbpInstaller worked. It seems like I used Windows line breaks.

So the problem is SlayTheDragons. But I cant remove it myself from the repo via the web interface. When I try to edit it I get an error:
1758927213750.png
 
Last edited:
I tried to upload a bugfixed version 1.3 of SlayTheDragons with Unix linebreaks. But the old version 1.2 still exists. I guess because it has a different ID ("SlayTheDragons" vs "SlayTheDragons\r")

1758929775629.png

So I still think that sebt3 or somebody with access to the server has to fix it.
I'm really sorry for the hassle!
 
Last edited:
Info for sebt3 or whoever can access the database: I recreated the problem on a local installation of the DBP Repo. Seems like the following problematic database objects have been created:
  • select * from dbpackages where str_id like '%\r%';
  • select * from package_versions where path like '%\r%';
  • select * from archs where name like '%\r%';
And I guess some other tables have foreign keys to the dbpackages table (packages_maintainers, repo_activity).
 
I managed to delete SlayTheDragons 1.2 by manually calling
JavaScript:
fetch('https://pyra-handheld.com/repo/packages/SlayTheDragons%0D/edit/delete',{ method:'post' })
    .then(r=>console.log(r));

The packages-pyra-handheld.com-repo-needdata still contains old information. I tried to upload a new version 1.3.1 of SlayTheDragons to force it to renew the list. But it is still the old list. Maybe it caches it for some time?

When I manually delete the folder appdata/dbpInstaller_sebt3 (to force dbpInstaller to get rid of the old cache) everything seems to work.
 
Last edited:
Back
Top