Closed Igaryu closed 5 months ago
That's odd, since the icons are all there in the app package. The path is Vorta.app/Contents/Resources/assets/icons
. I also can't reproduce the issue on my Intel mac (and wouldn't know if the arch makes a difference).
Are you running Vorta by double-clicking or via CLI?
Clicking on the app icon from the dedicated directory icon on the footbar, as I usually do, to run applications from /Applications directory. I did not try running the app via opencommand, once I realized the directory with the icons was missing on the package on the disk.
Probably some one in brew crew has realized that there was a problem: I try forcing again the update, to replicate the issue once more, but the version installed this morning is not any more available in the brew repository. 🤷🏻♂️
Once a new version will be updated again from brew I'll let you know if problem is solved or not.
Have a nice day!
J.C.
Il 11/01/2024 09:26, Manu ha scritto:
That's odd, since the icons are all there in the app package. The path is |Vorta.app/Contents/Resources/assets/icons|. I also can't reproduce the issue on my Intel mac (and wouldn't know if the arch makes a difference).
Are you running Vorta by double-clicking or via CLI?
— Reply to this email directly, view it on GitHub https://github.com/borgbase/vorta/issues/1886#issuecomment-1886605352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEU7T6YFVFCF6W5MN33SMWTYN6OZXAVCNFSM6AAAAABBV7VHL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBWGYYDKMZVGI. You are receiving this because you authored the thread.Message ID: @.***>
-- Joseph Curto
Cell. +39 393 11 70 545 E-Mail: @.***
Via I. Nievo 14 San Martino Buon Albergo 37036 - VR
Italy
Using Arch Linux with XFCE.
I'm also missing my icons.
The terminal is spammed with QImage::scaleHeight: Image is a null image
.
One more data point: Icons are there on Alma9 with Gnome, installed via pip install vorta
.
Is this the same problem, or a different one? I'm still on Vorta 0.8.11, but an error regarding the icon also popped up today (an continues to do).
The icon is placed in "/Vorta.app/Contents/MacOS/Resources/assets/icons" not in "/Vorta.app/Contents/MacOS/assets/icons"
Does that help?
My icons are at /usr/lib/python3.11/site-packages/vorta/assets/icons/
on Arch Linux.
$ ls -l
insgesamt 340
-rw-r--r-- 1 root root 343 11. Jan 10:51 angle-down-solid.svg
-rw-r--r-- 1 root root 341 11. Jan 10:51 angle-up-solid.svg
-rw-r--r-- 1 root root 11516 11. Jan 10:51 APACHE.txt
-rw-r--r-- 1 root root 379 11. Jan 10:51 broom-solid.svg
-rw-r--r-- 1 root root 475 11. Jan 10:51 check-circle.svg
-rw-r--r-- 1 root root 523 11. Jan 10:51 clock-o.svg
-rw-r--r-- 1 root root 533 11. Jan 10:51 cloud-download.svg
-rw-r--r-- 1 root root 489 11. Jan 10:51 copy.svg
-rw-r--r-- 1 root root 1102 11. Jan 10:51 cut.svg
-rw-r--r-- 1 root root 671 11. Jan 10:51 edit.svg
-rw-r--r-- 1 root root 304 11. Jan 10:51 eject.svg
-rw-r--r-- 1 root root 456 11. Jan 10:51 ellipsis-v.svg
-rw-r--r-- 1 root root 1421 11. Jan 10:51 eye-slash.svg
-rw-r--r-- 1 root root 987 11. Jan 10:51 eye.svg
-rw-r--r-- 1 root root 608 11. Jan 10:51 file-import-solid.svg
-rw-r--r-- 1 root root 1875 11. Jan 10:51 file.svg
-rw-r--r-- 1 root root 402 11. Jan 10:51 folder-on-top.svg
-rw-r--r-- 1 root root 478 11. Jan 10:51 folder-open.svg
-rw-r--r-- 1 root root 369 11. Jan 10:51 folder.svg
-rw-r--r-- 1 root root 3484 11. Jan 10:51 globe.svg
-rw-r--r-- 1 root root 110840 11. Jan 10:51 gpl_logo.svg
-rw-r--r-- 1 root root 6489 11. Jan 10:51 hdd-o-active.png
-rw-r--r-- 1 root root 4552 11. Jan 10:51 hdd-o.png
-rw-r--r-- 1 root root 1741 11. Jan 10:51 help-about.svg
-rw-r--r-- 1 root root 693 11. Jan 10:51 icon.svg
-rw-r--r-- 1 root root 28904 11. Jan 10:51 loading.gif
-rw-r--r-- 1 root root 327 11. Jan 10:51 minus.svg
-rw-r--r-- 1 root root 4536 11. Jan 10:51 OFL.txt
-rw-r--r-- 1 root root 681 11. Jan 10:51 paste.svg
-rw-r--r-- 1 root root 370 11. Jan 10:51 plus.svg
-rw-r--r-- 1 root root 9605 11. Jan 10:51 python_logo.svg
-rw-r--r-- 1 root root 673 11. Jan 10:51 refresh.svg
-rw-r--r-- 1 root root 523 11. Jan 10:51 server.svg
-rw-r--r-- 1 root root 753 11. Jan 10:51 settings_wheel.svg
-rw-r--r-- 1 root root 548 11. Jan 10:51 stream-solid.svg
-rw-r--r-- 1 root root 546 11. Jan 10:51 tasks.svg
-rw-r--r-- 1 root root 403 11. Jan 10:51 terminal.svg
-rw-r--r-- 1 root root 685 11. Jan 10:51 trash.svg
-rw-r--r-- 1 root root 1034 11. Jan 10:51 unlink.svg
-rw-r--r-- 1 root root 365 11. Jan 10:51 user.svg
-rw-r--r-- 1 root root 381 11. Jan 10:51 view-list-details.svg
-rw-r--r-- 1 root root 360 11. Jan 10:51 view-list-tree.svg
-rw-r--r-- 1 root root 809 11. Jan 10:51 wifi.svg
-rw-r--r-- 1 root root 409 11. Jan 10:51 window-restore.svg
The function to pull the icon is here: https://github.com/borgbase/vorta/blob/master/src/vorta/utils.py#L296
For distributions packed via PyInstaller, the first case would be used. Maybe there was a change by Apple or PyInstaller? Though the 0.8 app package was done a long time ago and shouldn't just stop working.
For distributions packed via PyInstaller, the first case would be used. Maybe there was a change by Apple or PyInstaller? Though the 0.8 app package was done a long time ago and shouldn't just stop working.
Sounds odd to me as well. Do I understand correctly, that the path is based on a ... system constant (no idea about python, sorry), called "_MEIPATH"?
Could it be another update - a Python Update, e.g. - that has introduced a change for this constant? Or does this code never get's called after bundling the packages?
I've Python 3.11.7 on this system
_MEIPATH
is set by PyInstaller, which packages Vorta for macOS:
Interesting. Icons work on macOS here (also M1, Sonoma). On that machine, I installed Vorta 0.9.1 via the .dmg offered on the github releases page.
On another machine (Intel, macOS Ventura), I also upgraded Vorta from 0.8.x to 0.9.1 via brew - also seeing icons there.
I'm also seeing this:
OS EndeavourOS + KDE Plasma (xOrg)
Version of Vorta 1 aur/vorta 0.9.1-1 (+71 4.98) (Installed) A GUI for BorgBackup
What did you install Vorta with? using yay to install from Arch aur
Version of Borg 1 extra/borg 1.2.7-1 (1.4 MiB 7.0 MiB) (Installed)
ls -l
total 340
-rw-r--r-- 1 root root 343 Jan 10 22:18 angle-down-solid.svg
-rw-r--r-- 1 root root 341 Jan 10 22:18 angle-up-solid.svg
-rw-r--r-- 1 root root 11516 Jan 10 22:18 APACHE.txt
-rw-r--r-- 1 root root 379 Jan 10 22:18 broom-solid.svg
-rw-r--r-- 1 root root 475 Jan 10 22:18 check-circle.svg
-rw-r--r-- 1 root root 523 Jan 10 22:18 clock-o.svg
-rw-r--r-- 1 root root 533 Jan 10 22:18 cloud-download.svg
-rw-r--r-- 1 root root 489 Jan 10 22:18 copy.svg
-rw-r--r-- 1 root root 1102 Jan 10 22:18 cut.svg
-rw-r--r-- 1 root root 671 Jan 10 22:18 edit.svg
-rw-r--r-- 1 root root 304 Jan 10 22:18 eject.svg
-rw-r--r-- 1 root root 456 Jan 10 22:18 ellipsis-v.svg
-rw-r--r-- 1 root root 1421 Jan 10 22:18 eye-slash.svg
-rw-r--r-- 1 root root 987 Jan 10 22:18 eye.svg
-rw-r--r-- 1 root root 608 Jan 10 22:18 file-import-solid.svg
-rw-r--r-- 1 root root 1875 Jan 10 22:18 file.svg
-rw-r--r-- 1 root root 402 Jan 10 22:18 folder-on-top.svg
-rw-r--r-- 1 root root 478 Jan 10 22:18 folder-open.svg
-rw-r--r-- 1 root root 369 Jan 10 22:18 folder.svg
-rw-r--r-- 1 root root 3484 Jan 10 22:18 globe.svg
-rw-r--r-- 1 root root 110840 Jan 10 22:18 gpl_logo.svg
-rw-r--r-- 1 root root 6489 Jan 10 22:18 hdd-o-active.png
-rw-r--r-- 1 root root 4552 Jan 10 22:18 hdd-o.png
-rw-r--r-- 1 root root 1741 Jan 10 22:18 help-about.svg
-rw-r--r-- 1 root root 693 Jan 10 22:18 icon.svg
-rw-r--r-- 1 root root 28904 Jan 10 22:18 loading.gif
-rw-r--r-- 1 root root 327 Jan 10 22:18 minus.svg
-rw-r--r-- 1 root root 4536 Jan 10 22:18 OFL.txt
-rw-r--r-- 1 root root 681 Jan 10 22:18 paste.svg
-rw-r--r-- 1 root root 370 Jan 10 22:18 plus.svg
-rw-r--r-- 1 root root 9605 Jan 10 22:18 python_logo.svg
-rw-r--r-- 1 root root 673 Jan 10 22:18 refresh.svg
-rw-r--r-- 1 root root 523 Jan 10 22:18 server.svg
-rw-r--r-- 1 root root 753 Jan 10 22:18 settings_wheel.svg
-rw-r--r-- 1 root root 548 Jan 10 22:18 stream-solid.svg
-rw-r--r-- 1 root root 546 Jan 10 22:18 tasks.svg
-rw-r--r-- 1 root root 403 Jan 10 22:18 terminal.svg
-rw-r--r-- 1 root root 685 Jan 10 22:18 trash.svg
-rw-r--r-- 1 root root 1034 Jan 10 22:18 unlink.svg
-rw-r--r-- 1 root root 365 Jan 10 22:18 user.svg
-rw-r--r-- 1 root root 381 Jan 10 22:18 view-list-details.svg
-rw-r--r-- 1 root root 360 Jan 10 22:18 view-list-tree.svg
-rw-r--r-- 1 root root 809 Jan 10 22:18 wifi.svg
-rw-r--r-- 1 root root 409 Jan 10 22:18 window-restore.svg
Interesting. Icons work on macOS here (also M1, Sonoma). On that machine, I installed Vorta 0.9.1 via the .dmg offered on the github releases page.
On another machine (Intel, macOS Ventura), I also upgraded Vorta from 0.8.x to 0.9.1 via brew - also seeing icons there.
Uninstalled my Vorta, rebooted, reinstalled - and now it's working again. I'm seeing the icons again and get no errors. New Vorta 0.9.1. Really strange.
It's acting weird here too. Two laptops with Arch Linux + XFCE (EndeavourOS) and the one has icons, the other hasn't.
installing the extra/qt6-svg package resolved the issue for me in EndeavourOS
Our icons come as SVG, so it makes sense. Glad it was such a simple issue.
Description
IT - 20/01/2024
Disappearance of icons.
This morning, after my brew daily update that updated Vorta to vorta-0.9.1 version; once launched Vorta.app and clicked on 'start backup' button, I received this message:
Checked the open application, all the icons were missing.
I verify the reported path: the full directory pointed by the error message was missing: in truth, the full
/Applications/Vorta.app/Contents/MacOS/assets
directory is missing/Applications/Vorta.app/Contents/MacOS
→ assets does not exist any more.I restored my yesterday backup, and it worked again: all directories are at correct place and icons are displayed correctly.
J.C.
Reproduction
OS
Mac Mini M1- 14.2.1 (23C71)
Version of Vorta
0.9.1
What did you install Vorta with?
Homebrew
Version of Borg
borgbackup-fuse 1.2.6
Logs