From: Boris G. <bor...@gm...> - 2005-05-21 16:04:28
|
Greetings all - Have been out of the loop for a while but thought I'd see what progress eric3 on mac os x had made and delighted to see some binaries. Sad however that it is not at a usable stage yet due to serious crashes at inopportune times like creating a new file or redrawing the screen. I did however notice that an old bug still seemed to be active in eric3 (failure to launch of designer, linguist, assistant on mac os x from eric). Detlev came up with a solution to this for me a while ago so was surprised to see it still happening. Not sure if this is still a problem in the recent versions but the latest mac binary pkg still has it. Solution : In UserInterface.py (in UI) in method handleDesigner / handleLinguist / handleAssistant add this extra case after the win32 check: elif sys.platform == "darwin": print("DARWIN SYSTEM!") designer = designer + os.path.join('.app', 'Contents', 'MacOS', 'designer') Works a charm now ... eg can double click forms in eric project and designer loads with that form to edit. Now to attack the real bugs stopping eric being a great mac IDE ! regards borg000 |
From: Boris G. <bor...@gm...> - 2005-05-21 16:10:57
|
Of course that silly print message is not required ... :) PS the file in the bundled eric is /Eric3.app/Contents/Resources/UI/UserInterface.py regards borg000 |
From: Boris G. <boz...@ma...> - 2005-05-21 16:15:23
|
Just to clarify - elif sys.platform == "darwin": designer = designer + os.path.join('.app', 'Contents', 'MacOS', 'designer') is the designer fix ... BUT elif sys.platform == "darwin": linguist = linguist + os.path.join('.app', 'Contents', 'MacOS', 'linguist') is the linguist fix etc. borg000 On 22/05/2005, at 2:04 AM, Boris Gordon wrote: > Greetings all - > > Have been out of the loop for a while but thought I'd see what > progress eric3 on mac os x had made and delighted to see some > binaries. > Sad however that it is not at a usable stage yet due to serious > crashes at inopportune times like creating a new file or redrawing > the screen. > > I did however notice that an old bug still seemed to be active in > eric3 (failure to launch of designer, linguist, assistant on mac os > x from eric). > Detlev came up with a solution to this for me a while ago so was > surprised to see it still happening. > Not sure if this is still a problem in the recent versions but the > latest mac binary pkg still has it. > > Solution : > In UserInterface.py (in UI) in method handleDesigner / > handleLinguist / handleAssistant add this extra case after the > win32 check: > > elif sys.platform == "darwin": > print("DARWIN SYSTEM!") > designer = designer + os.path.join('.app', > 'Contents', 'MacOS', 'designer') > > > Works a charm now ... eg can double click forms in eric project and > designer loads with that form to edit. > > Now to attack the real bugs stopping eric being a great mac IDE ! > > regards > borg000 > > |
From: Kevin W. <sw...@wo...> - 2005-05-21 16:34:01
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for the tip. Could Detlev consider adding this code to Eric3 in CVS so the user doesn't have to apply it manually? For what it's worth, I've been defining a custom command like this: open - -a /Developer/qt/designer.app. But yours is the better method. Cheers, Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:sw...@wo... Boris Gordon wrote: | Greetings all - | | Have been out of the loop for a while but thought I'd see what progress | eric3 on mac os x had made and delighted to see some binaries. | Sad however that it is not at a usable stage yet due to serious crashes | at inopportune times like creating a new file or redrawing the screen. | | I did however notice that an old bug still seemed to be active in eric3 | (failure to launch of designer, linguist, assistant on mac os x from | eric). | Detlev came up with a solution to this for me a while ago so was | surprised to see it still happening. | Not sure if this is still a problem in the recent versions but the | latest mac binary pkg still has it. | | Solution : | In UserInterface.py (in UI) in method handleDesigner / handleLinguist / | handleAssistant add this extra case after the win32 check: | | elif sys.platform == "darwin": | print("DARWIN SYSTEM!") | designer = designer + os.path.join('.app', 'Contents', | 'MacOS', 'designer') | | | Works a charm now ... eg can double click forms in eric project and | designer loads with that form to edit. | | Now to attack the real bugs stopping eric being a great mac IDE ! | | regards | borg000 | | | | ------------------------------------------------------- | This SF.Net email is sponsored by Oracle Space Sweepstakes | Want to be the first software developer in space? | Enter now for the Oracle Space Sweepstakes! | http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click | _______________________________________________ | Pyqt-mac-list mailing list | Pyq...@li... | https://lists.sourceforge.net/lists/listinfo/pyqt-mac-list | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCj2L0JmdQs+6YVcoRAr9HAJ9cMlY/X57OjVqREu1jIETRDZzwvACffeo6 kHTyElsBgDv/brt19vSn5us= =P2cm -----END PGP SIGNATURE----- |