|
macos_installation
How to install and run SubDownloader on MacOS
Subdownloader 2.0 beta for MacOS
Note: It's a beta version. Please give us your feedback. Thanks. Donations are also very appreciated to keep this project alive. |
Sign in to add a comment
here's the link for python2.5: http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg
link for python-qt4: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.4.2.tar.gz
Sorry, but I don't really understand what I'm supposed to do when I have dowloaded and uncompress python and subdownloader. Could we have a version of the tutorial for "dummies" ?
Will check these instructions and try to streamline them to make sure they apply to "virgin" OSX installations of both Tiger and Leopard.
Things can be complicated, as OSX includes Python itself and sometimes libraries exist in both versions.
Will also look into an executable application, which should be the preferred method, I believe.
I have tried, without luck, to install all libraries to which SubDownloader? is dependant but it's been a mess so far. Conflicting versions, packages that take whole hours to configure and compile.
If anyone out there has SubDownloader? working properly on a mac you should try making an executable for it with py2app, if all's well it should be easy to complete. I could help remotely but not much more.
In my case my development set-up conflicts with what's needed but I am sure mac users won't download, install and compile hundreds of megabytes of libraries just to run SubDownloader? (Xcode, development tools, qt, python, pyqt4). It doesn't help that packages like mmpython don't configure properly for the mac and need file editing.
One could be quick to blame the Mac for this state but we should all remember all these packages are third-party. They are properly configured to be downloaded as binaries or compiled in Linux and proper effort has been made in installable packages for Windows as well. Developers have made no effort in making they work properly in Mac.
It's a shame, really.
Hello bigbadeduo, this is an opensource program, instead of complaining, can you help us to package it for MacOS?
Capiscuas: I wasn't complaining on SubDownloader?. I was complaining on QT, Python and MMPython, that don't work properly in Mac OS X. As I mentioned I have been trying to package for MacOS for a while now. I want Mac OS to have SubDownloader? 2, as I helped it run in version 1.
My comment was precisely to say I've been trying without luck, and to ask if anyone had already been able to, as I could help him/her compiling the binary for MacOS in Py2App? (the equivalent to Py2Exe?).
Since the problem is with QT and PyQT in MacOS, there is not much that can be done in SubDownloader? itself. I'll keep trying to have these two work in my machine but it's slow because QT takes several hours to compile each time I try something different.
I've got Subdownloader working on Leopard (Intel) but when I try to create a package to share with y'all with py2app I get this error when I run the package. Any thoughts?
Begin error paste:
Traceback (most recent call last):
ImportError?: No module named subdownloader.modules.configuration 2008-07-13 23:39:20.959 run79397:10b? run Error 2008-07-13 23:39:20.960 run79397:10b? run Error An unexpected error has occurred during execution of the main scriptImportError?: No module named subdownloader.modules.configuration
Hi atinytree https://bugs.launchpad.net/subdownloader/+bug/245836
I got subdownloader running on my Mac (10.5.5). Here are my steps:
1. Install Python using the dmg above (http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg)
2. Download PyQt? source from Riverbank: http://www.riverbankcomputing.co.uk/software/pyqt/download
3. Download sip from Riverbank: http://www.riverbankcomputing.co.uk/software/sip/download
4. Download the Qt binary, link at the bottom of the post (before the comments): http://phanatic.hu/archives/2007/11/building-qt-4-and-pyqt-on-mac-os-x-leopard/
5. Extract PyQt? source to /Library/Python/2.5/site-packages
6. Extract sip source to /Library/Python/2.5/site-packages
7. Extract qt binary to /Library/Python/2.5/site-packages
8. Build sip
9. Build PyQt??, using the binary qt4
10. Now you can run subdownloader (python run.py).
Hello,
thank you very much for the step-by-step.
I still have a problem: I have no pyqtconfig.py only a pyqtconfig.py.in file. I tried to execute the command with pyqtconfig.py.in like this:
But it didn't have any result. No error message, nothing. And make then fails:
Any ideas? kaz
kaz - If you downloaded with the links and directions I provided, you'd have the same files, I presume. If not... I have no idea.
I downloaded from the exact same links. I downloaded PyQt?-mac-gpl-4.4.3.tar.gz, and there is no pyqtconfig.py file in it.
Maybe you have an older version, and there is a bug in mine?
Got it working following the steps explained here:
Compiling all the stuff (especially qt) takes a long time, so be patient. I also had to give a value to LC_ALL, otherwise I was getting a locale related error:
Hope it helps!
It worked =) Using the steps of http://phanatic.hu/archives/2007/11/building-qt-4-and-pyqt-on-mac-os-x-leopard/
Just had to type this in the terminal: export PYTHONPATH="/Library/Python/2.5/site-packages/:$PYTHONPATH"
Thanks a lot!
Finally got it working and it works like a charm now! I used the above instructions from jorge.marsal. Some of the steps especially building the QT part took well over an hour to finish. But it was all worth it!
I am really confused as I have subdownloader 2.0.9.3 running on my Mac OS X 10.5.2 and have even downloaded the subtitle files for two films I wanted. Yet, when I open the movie file on Quicktime Player the subtitles do not appear. I am pretty sure I have the settings right and I can even see the subtitle log files, but no titles appear. If anyone might be able to figure out what I may be doing wrong I would really appreciate it.