Coder Social home page Coder Social logo

crash when updateing AppImages about bauh HOT 6 OPEN

hg42 avatar hg42 commented on June 14, 2024
crash when updateing AppImages

from bauh.

Comments (6)

hg42 avatar hg42 commented on June 14, 2024

the AppImages, that did not upgrade created empty directories in /usr/local/share/bauh/appimage/installed
currently with staging bauh-0.10.6 all apps, I try to upgrade (from my old version), create the empty directory and fail to install.
Looks like a difference between 0.10.5 and staging?

I cannot compare with bauh-0.10.5 currently, because it crashes when clicking on the "click here to select" box.
Staging does not do that.
However, file selection worked before with bauh-0.10.5, so I'm a bit confused how this can be.


On further testing, using the downgrade function on an AppImage and then upgrading again works for all apps I tried.

It seems the older AppImages are the problem (thought they have the same version).

I tried with Stacer 1.0.9 which I probably downloaded from AppImageHub at some time.
If I update this, it crashes.
If I install Stacer via bauh and downgrade it, an upgrade doesn't crash.


I installed 1.0.9 both ways and saved the files.
If installing the crashing version and replacing the json file by the working version, it works (tested in staging).

data.json---works.zip
data.json--crash.zip


no... replacing the json didn't work, it didn't install the upgraded version... but it didn't crash


also wrong... it installed the new version in another directory (stacer-0), but didn't remove the old one, so it was still shown as upgradable (so I thought the new version wouldn't exist)

from bauh.

hg42 avatar hg42 commented on June 14, 2024

ok, I repeated that.
It works normally, if I replace the file with the working version and change install_dir to the correct value (stacer in the test instead of stacer-0 in the working version).

If I do the opposite:
installing stacer via bauh + downgrade
and replacing categories... with "categories": ["Imported"], "imported": true,,
it crashes.

data.json--only-imported.zip

from bauh.

vinifmor avatar vinifmor commented on June 14, 2024

I believe this specific case happened because the AppImage (stacer) was initially imported, but now it is also available on bauh's database. If you uninstall it, and reinstall it via the search mechanism, does the issue happen as well ?

from bauh.

vinifmor avatar vinifmor commented on June 14, 2024

That's exactly the case... I've firstly imported the file, and then tried to upgrade it and got the crash. I'm going to provide a fix. Thank you for reporting the issue.

from bauh.

hg42 avatar hg42 commented on June 14, 2024

yes, exactly, all packages at that point were imported:

I am just starting with bauh, so I imported all my older AppImages and updated them later.

and this was an update of an imported, package either (note: a new update, but not a new package):

It also happened with a new update today.

after all imported packages were uninstalled and reinstalled, it did not happen again

thanks for the good work

from bauh.

vinifmor avatar vinifmor commented on June 14, 2024

no worries... just pushed a fix to the staging branch... the final release should be available soon

from bauh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.