Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiples errors during Macos version startup #1342

Open
LorenzoMorelli opened this issue Jan 6, 2024 · 3 comments
Open

Multiples errors during Macos version startup #1342

LorenzoMorelli opened this issue Jan 6, 2024 · 3 comments

Comments

@LorenzoMorelli
Copy link

Hi there!
First of all thank you for all your work in this amazing launcher!
I always used this launcher in my working computer which runs archlinux without any issues! It works really well on it.
I've just started using albert on my MAC M1 PRO and here, I unfortunately got some issues.

Issues:

  1. Python3.11 framework not found even though I have python3.11 installed
  2. Translator plugin error into getting default locale even though I have exported the locales variables in my zshrc. Moreover, trying to get locales with a python script works well.
  3. Sparkle_updater: Cannot load library [/Applications/albert.app/Contents/Frameworks/QtCore.framework/Versions/A/../../../Sparkle.framework/Versions/B/Sparkle' (no such file)]
  4. Every time albert starts I get the welcome message in which it asks to enable accessibility permission even though I already did the first time: [To be able to paste text accessibility permissions are required. You will now be prompted to enable them in the settings.].

Regarding the Python framework missing, I found the solution:
I had installed python via brew and not from python installer which installs python in differents paths. The fastest way to solve this is therefore to install python3.11 from python original website.
Regarding Translator plugin, I manually changed the code in order to use a string (with my locale) rather then getting it from locales, but of course it is not the proper way to do that.

My thanks to everyone could help me into finding solutions to these issues in the new macos version of albert!

@ManuelSchneid3r
Copy link
Member

Unfortunately the macos version is still in development. Further afaik I need a developer account, which is pretty expensive, to sign the bundle. Otherwise Apple will not allow me to run the app on other hosts. However I use it successfully on my Mac. Compiling it yourself should work. However it's not that easy on mac, and again this ad-hoc sig last for a week only afaik (the internet is cluttered with misleading info, so I don't know for sure)

@ManuelSchneid3r
Copy link
Member

  1. Python3.11 framework not found even though I have python3.11 installed

More on that next week or so

  1. Translator plugin error into getting default locale even though I have exported the locales variables in my zshrc. Moreover, trying to get locales with a python script works well.

Apps launched using the ui don't care about interactive shell configuration. The locale is used from the system. But indeed I had this kind of issues too. But 4 has higher prio.

  1. Sparkle_updater: Cannot load library [/Applications/albert.app/Contents/Frameworks/QtCore.framework/Versions/A/../../../Sparkle.framework/Versions/B/Sparkle' (no such file)]

Also come back to this soon.

  1. Every time albert starts I get the welcome message in which it asks to enable accessibility permission even though I already did the first time: [To be able to paste text accessibility permissions are required. You will now be prompted to enable them in the settings.].

This is the signature problem if I understand things correctly.

Regarding the Python framework missing, I found the solution: I had installed python via brew and not from python installer which installs python in differents paths. The fastest way to solve this is therefore to install python3.11 from python original website. Regarding Translator plugin, I manually changed the code in order to use a string (with my locale) rather then getting it from locales, but of course it is not the proper way to do that.

The python interpreter should actually come bundled with the app. (well deployment is wip)

@LorenzoMorelli
Copy link
Author

LorenzoMorelli commented Jan 6, 2024

Thank you for your fast answer!
I see. Unfortunately apple with their strict policy don't stimulate free and open software development at all :(.
Anyhow, even thought its early stage and these issues, albert is usable and works well for its main purpose.

Unfortunately the macos version is still in development. Further afaik I need a developer account, which is pretty expensive, to sign the bundle. Otherwise Apple will not allow me to run the app on other hosts. However I use it successfully on my Mac. Compiling it yourself should work. However it's not that easy on mac, and again this ad-hoc sig last for a week only afaik (the internet is cluttered with misleading info, so I don't know for sure)

I'm gonna give it a shot then.

Also come back to this soon.

Looking forward to test new releases!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants