-
Notifications
You must be signed in to change notification settings - Fork 140
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
Packaged version doesn't start on old versions of macOS #79
Comments
Tricky. I'm building the app on macOS 10.14. Looks like it's linking to some system libs that aren't available on 10.12. Will try in a virtual machine. |
Since you have a new Python and know the CLI, you can also use the pip version:
Then just make sure Borg is also available. ( |
This says that to support older versions, it needs to be built on them. https://stackoverflow.com/questions/49908236/pyinstaller-executable-fails-on-old-os-x I think we can support 2 macOS versions. For anything older, it can be installed via |
See borg's Vagrantfile. |
To package for different macOS versions? I already copied your Vagrantfile in the beginning. :-) I'd rather have a fix that lets the same file run on all versions. And again, 10.12 is 2 versions back now. Not many people will run it. |
There's a rather old osx box. Building on that might result in a binary that works on all versions. |
True. Worth a try. |
Thanks for the responses. I do have Python3 installed via homebrew, borg as well which works great :) I'll attempt a build from source and see if that works out for me |
Attempted to run vorta directly after cloning the repo and running Result:
|
I suspect the binary package for PyQt (which does all the graphics stuff) is not compatible with your macOS version either. ("Metal" is a new graphics framework that Apple has been using to replace OpenGL.) This other project recommends using the binaries provided by the Anaconda Python distribution. They seem to run on older Macs as well. |
I'll package a Vorta version with Anaconda and see how it works. They do their own compiling which is often more backwards-compatible than normal wheels. |
Not much luck with Qt on Conda. The tabs look better, but I keep get the same Metal error that you get (no crash though). It's also not working after freezing it. Their Qt version is very outdated as well. |
hmm. I am upgrading to High Sierra anyways. I'll see if it has any issues there. |
Yeah. Let me know how it goes. I found that my GF has 10.12 as well. Same error. I may try to build the official release on 10.12 and see if it runs everywhere. |
Maybe if you try to solve it within a vagrant machine, you'll end up with a general solution for platform testing (at least everything that runs in Virtualbox) and for building binaries (macOS [including for specific version(s) if needed], Linux, FreeBSD, ... and also 32/64bit, if wanted). It also is better for building trusted binaries when always starting from a trusted template VM, provisioning stuff needed, building the binary, running the tests (maybe even using that binary), grabbing the binary from there, destroying the VM again. When building binaries on some random machine that is also used for other stuff, there's always some risk involved. |
Agree. This was just for testing. Now that you improved the pyinstaller settings, we can look into building for multiple platforms. |
Sorry for the late update, works perfectly on High Sierra. I have been running it every 4 hours for the past few days now. |
High Sierra is macOS 10.13 or "oldstable". That should work well. What's not working is "oldoldstable", 10.12. But thanks for the feedback and testing. |
I still have access to a 10.12 machine that I can test on if you need me to :) |
Thanks, but it won't work. Already tested. We'll probably end up building the fat binary for macOS on oldstable in order to support stable and oldoldstable. |
I'll close this because it's essentially included in #126 and supporting stable + oldstable for macOS is a good current state anyways. When we have a proper build system up and running, we can support oldoldstable as well. |
Hello!
I am unable to start Vorta (0.5.2). Clicking the app or using open -a Vorta.app does nothing. Running the binary under Contents/MacOS/vorta returns the following.
[43076] Error loading Python lib '/var/folders/zh/0t27d1hj01gcs6j5sfdb5tqh0000gn/T/_MEIiht4jn/libpython3.6m.dylib': dlopen: dlopen(/var/folders/zh/0t27d1hj01gcs6j5sfdb5tqh0000gn/T/_MEIiht4jn/libpython3.6m.dylib, 10): Symbol not found: _futimens Referenced from: /var/folders/zh/0t27d1hj01gcs6j5sfdb5tqh0000gn/T/_MEIiht4jn/libpython3.6m.dylib Expected in: /usr/lib/libSystem.B.dylib in /var/folders/zh/0t27d1hj01gcs6j5sfdb5tqh0000gn/T/_MEIiht4jn/libpython3.6m.dylib
OS: Sierra 10.12.6
Python version: system python 2.7 , 3.7 also available on system
The text was updated successfully, but these errors were encountered: