Bauh crashes on upgrading apps
See original GitHub issueBefore opening a new issue Install the staging branch and check if the unexpected behavior is happening there as well. If you are on ArchLinux-based distro, you can install it through AUR (bauh-staging). Otherwise, you have to clone the repository and install it with pip:
git clone https://github.com/vinifmor/bauh.git -b staging --depth=1
cd bauh
python3 -m venv venv
venv/bin/pip install pip --upgrade
venv/bin/pip install setuptools --upgrade
venv/bin/pip install -r requirements.txt
venv/bin/pip install .
venv/bin/bauh # or venv/bin/bauh-tray
Describe the bug
Bauh crashes when upgrading all checked applications. It happens only in conjunction with these packages:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/bauh/view/qt/thread.py", line 425, in run
requirements = self.manager.get_upgrade_requirements(models, root_password, self)
File "/usr/lib/python3.9/site-packages/bauh/view/core/controller.py", line 556, in get_upgrade_requirements
man_reqs = man.get_upgrade_requirements(pkgs, root_password, watcher)
File "/usr/lib/python3.9/site-packages/bauh/gems/flatpak/controller.py", line 596, in get_upgrade_requirements
sizes = flatpak.map_update_download_size([str(p.id) for p in apps_by_install[0]], apps_by_install[1], flatpak_version)
File "/usr/lib/python3.9/site-packages/bauh/gems/flatpak/flatpak.py", line 414, in map_update_download_size
size = p2.findall(line_split[6])[0].split('?')
IndexError: list index out of range
Fatal Python error: Aborted
Current thread 0x00007fbbcffff640 (most recent call first):
<no Python frame>
Thread 0x00007fbbeb7fe640 (most recent call first):
File "/usr/lib/python3.9/site-packages/bauh/view/qt/thread.py", line 804 in run
Thread 0x00007fbc0d485640 (most recent call first):
File "/usr/lib/python3.9/site-packages/bauh/view/qt/thread.py", line 804 in run
Thread 0x00007fbbeaffd640 (most recent call first):
File "/usr/lib/python3.9/site-packages/bauh/view/qt/prepare.py", line 111 in run
Thread 0x00007fbc04b91640 (most recent call first):
File "/usr/lib/python3.9/site-packages/bauh/gems/appimage/worker.py", line 109 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007fbc0dc86640 (most recent call first):
File "/usr/lib/python3.9/site-packages/bauh/view/util/cache.py", line 95 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007fbc1b5b8740 (most recent call first):
File "/usr/lib/python3.9/site-packages/bauh/app.py", line 54 in main
File "/usr/bin/bauh", line 33 in <module>
[1] 9802 abort (core dumped) bauh
Software Environment bauh version: 0.9.10-1 (tested up to 0.9.12.RC-4) O.S: Manjaro Linux 5.4.85-1-MANJARO Python version: 3.9.1 (GCC 10.2.0) Installation method: pacman
P.S: these instructions and the template must be respected, otherwise your issue will be closed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:29 (15 by maintainers)
Top Results From Across the Web
Freshly install Nobara Linux, frequently crashing while clicking ...
Sounds like an older ISO if Bauh is in there.
Read more >Android will prompt you to update apps if they're crashing
Install the update and then open the app again.” Obviously the prompt is only going to help if an app isn't already fully...
Read more >Crashing Android apps will now tell you to install an update to ...
The app stopped working, but the latest update for the app may fix the issue. Install the update and then open the app...
Read more >[Updated] Bau Cua HD app not working (down), white screen / black ...
Common Bau Cua HD App Problems and Troubleshooting Steps ... see a black screen for few seconds and then app will crash with...
Read more >The Basics Of Evergreen IT Management — A 101 Crash Course ...
Some business applications, like Bloomberg, require monthly updates. ... Once handed over, the BAU team is not only left with minimal resources and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you @Flash1232 . It’s nice when people actually report the bugs instead of dropping the tool. bauh has to handle complex scenarios that are not always caught during testing. Thanks helping the project.
@Flash1232 thanks for reporting the issue. I’m going to investigate the cause and publish a fix ASAP.