R: AW: [SE|PY-macdev] OS X Bugs with SEPY newest revision
Brought to you by:
sephiroth_tmm
From: Alessandro C. *sephiroth* <sep...@us...> - 2005-02-19 16:56:50
|
Which wxpython did you downloaded? As I know the only .dmg file available is for python2.3, toherwise you = must download the wxpython tar gz source and compile by yourself.. I already tried it, but using pearpc is too slowly.. So i postponed this = when i will have my mac (im thinking to buy a mac mini) Alessandro Crugnola - sephiroth --------------------------------------------- Macromedia Flash Team Volunteer http://www.macromedia.com/go/team Flash && PHP developer ale...@se... *relax with SEPY http://www.sf.net/projects/sepy --------------------------------------------- =20 ::-----Messaggio originale----- ::Da: sep...@li...=20 ::[mailto:sep...@li...] Per conto di valley ::Inviato: sabato 19 febbraio 2005 17.48 ::A: sep...@li... ::Oggetto: Re: AW: [SE|PY-macdev] OS X Bugs with SEPY newest revision :: ::Hi all, :: ::I just switched from Python2.3 to 2.4. With the correct=20 ::.bash_profile there the correct version when typing python in=20 ::the shell. :: ::Next I reinstalled wxPython. ::But when I now want to start SEPY in the same manner than=20 ::before ('pythonw main.pyw') I now get the error :: ::Traceback (most recent call last): :: File "main.pyw", line 21, in ? :: from SEPY import main :: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line 21, in ? :: import wx ::ImportError: No module named wx :: ::Do I have to change something with wxPython as well or why=20 ::isn't wx found anymore ?? :: ::Thx & regards ::valley :: :: ::=20 :: ::>Here's how to do it, this is an excerpt from a mysql install on=20 ::>entropy.ch, but it shows how to set the path for two types of shells: ::> ::>---start_clip--- ::>If you do not want to have to type /usr/local/mysql/bin in front of=20 ::>every single mysql-related command, then you have to add the=20 ::>/usr/local/mysql/bin directory to your PATH environment=20 ::variable in your shell's login script. ::> ::>For the tcsh shell, which was the default up to Mac OS X=20 ::10.2 , you can=20 ::>do this by running this command once: ::>echo 'setenv PATH /usr/local/mysql/bin:$PATH' >> ~/.tcshrc ::> ::>For the bash shell, which is the default for new user=20 ::accounts created=20 ::>under Mac OS X 10.3, the command is: ::>echo 'export PATH=3D/usr/local/mysql/bin:$PATH' >>=20 ::~/.bash_profile Then=20 ::>you have to close and re-open the terminal window. ::>---end_clip--- ::> ::>Hope that helps :) ::> ::>Andrew ::> ::> ::> ::> ::>On 1/30/05 12:25 PM, "Alessandro Crugnola *sephiroth*" ::><sep...@us...> wrote: ::> ::> =20 ::> ::>>Sorry for the newbie question, but once i installed the python2.4=20 ::>>package from the source, how i can set that as the default python=20 ::>>path? ::>>Otherwise every other module i install it's installed into=20 ::the older=20 ::>>python2.3 folder. ::>> ::>> ::>> ::>>Alessandro Crugnola - sephiroth ::>>--------------------------------------------- ::>>Macromedia Flash Team Volunteer ::>>http://www.macromedia.com/go/team ::>>Flash && PHP developer ::>>ale...@se... ::>> ::>>*relax with SEPY http://www.sf.net/projects/sepy ::>>--------------------------------------------- ::>> ::>> ::>>::-----Original Message----- ::>>::From: sep...@li... ::>>::[mailto:sep...@li...] On=20 ::Behalf Of valley ::>>::Sent: sabato 29 gennaio 2005 16.59 ::>>::To: sep...@li... ::>>::Subject: Re: AW: [SE|PY-macdev] OS X Bugs with SEPY=20 ::newest revision ::>>:: ::>>::doesn't seem to work: ::>>:: ::>>::Traceback (most recent call last): ::>>:: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line=20 ::5754, ::in=20 ::>>OnClose ::>>:: frame =3D main_window(parent=3DNone, id=3Dwx.NewId(), ::>>::title=3DAbout_title, dialog =3D None) ::>>:: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line 271, ::in=20 ::>>__init__ ::>>:: self._setMenu() ::>>:: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line=20 ::1729, ::in=20 ::>>_setMenu ::>>:: menu3.Append(ID_UNDO, '%s%s' % ( _("Undo"), ::>>::self.kreader.get_tab("Edit","UNDO"))) ::>>:: File ::>>::"//Library/Python/2.3/wx-2.5.3-mac-unicode/wx/_core.py", line=20 ::>>::7962, in Append ::>>:: return _core_.Menu_Append(*args, **kwargs) ::>>::wx._core.PyAssertionError: C++ assertion=20 ::"wxAssertFailure" failed in ::>>::../src/mac/carbon/menu.cpp(529): can't refresh unatteched menubar ::>>:: ::>>:: ::>>::i tried to let it run with wxpython 2.5.2.9 from last ::september=20 ::>>and it resulted in the same error mentioned above. ::>>::so in my opinion this is not a wxpython bug. ::>>::how did this work in earlier versions of sepy ? ::>>:: ::>>::valley ::>>:: ::>>:: ::>>:: ::>>:: ::>>:: ::>>:: ::>>::>mmmhhh.. ::>>::> ::>>::>try to move this line of code: ::>>::>self.mainmenu.Append(menu3, _("&Edit")) ::> ::>just after this=20 ::>>line: ::>>::>menu3 =3D wx.Menu() ::>>::> ::>>::> ::>>::>so, i think the same thing for every wx.Menu, even if i ::think=20 ::>>also this ::>is a bug in wxpython osx version (since this=20 ::issue didn't=20 ::>>appear in ::>previous ::>>::>versions) ::>>::> ::>>::> ::>>::>valley said: ::>>::> ::>>::> ::>>::>>so this is the stacktrace i get when trying to start the newest=20 ::>>::>>version (1.0.6.46) with the latest wxpython: ::>>::>> ::>>::>>Traceback (most recent call last): ::>>::>> File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line=20 ::::146, in=20 ::>>Notify ::>>::>> frame =3D main_window(parent=3DNone, id=3Dwx.NewId(), ::>>::title=3DAbout_title, ::>>::>>dialog =3D self.dialog) ::>>::>> File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line=20 ::::295, in=20 ::>>__init__ ::>>::>> self._setMenu() ::>>::>> File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line=20 ::::1824, in=20 ::>>_setMenu ::>>::>> menu3.AppendSeparator() ::>>::>> File ::>>::"//Library/Python/2.3/wx-2.5.3-mac-unicode/wx/_core.py", line=20 ::>>::>>7966, in AppendSeparator ::>>::>> return _core_.Menu_AppendSeparator(*args, **kwargs) ::>>::>>wx._core.PyAssertionError: C++ assertion=20 ::"wxAssertFailure" failed=20 ::>>in ::>>::>>../src/mac/carbon/menu.cpp(529): can't refresh=20 ::unatteched menubar=20 ::>>::>> ::>>please note that i didn't update so far the other needed=20 ::>>components ::>>(like pyRXP or 4Suite). ::>>::>> ::>>::>>if needed you can tell me change propositions to do in=20 ::the source. ::>>::>> ::>>::>>valley ::>>::>> ::>>::>> ::>>::>> ::>>::>> ::>>::>>------------------------------------------------------- ::>>::>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive=20 ::>>::>>Reporting Tool for open source databases. Create ::drag-&-drop=20 ::>>reports. ::>>::>>Save time by over 75%! Publish reports on the web. Export ::to=20 ::>>DOC, XLS, RTF, etc. ::>>::>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl ::>>::>>_______________________________________________ ::>>::>>sepy-macdev mailing list ::>>::>>sep...@li... ::>>::>>https://lists.sourceforge.net/lists/listinfo/sepy-macdev ::>>::>> =20 ::>>::>> ::>>::> ::>>::> ::>>::>--- ::>>::>Alessandro Crugnola *sephiroth* ::>>::>web: http://www.sephiroth.it ::>>::>mail: ale...@se... ::>>::> ::>>::> ::>>::> ::>>::>>>>mongia 9,26 <<< ::>>::>>>> =20 ::>>::>>>> ::>>::>"la programmazione =E8 come il maiale. Non si butta via niente". ::>>::>--- ::>>::> ::>>::> ::>>::> ::>>::> ::>>::>------------------------------------------------------- ::>>::>This SF.Net email is sponsored by: IntelliVIEW -- ::Interactive=20 ::>>Reporting ::>Tool for open source databases. Create drag-&-drop=20 ::>>reports. ::>>::Save time ::>>::>by over 75%! Publish reports on the web. Export to DOC,=20 ::XLS, ::RTF,=20 ::>>etc. ::>>::>Download a FREE copy at http://www.intelliview.com/go/osdn_nl ::>>::>_______________________________________________ ::>>::>sepy-macdev mailing list ::>>::>sep...@li... ::>>::>https://lists.sourceforge.net/lists/listinfo/sepy-macdev ::>>::> ::>>::> ::>>::> ::>>::> ::>>:: ::>>:: ::>>:: ::>>::------------------------------------------------------- ::>>::This SF.Net email is sponsored by: IntelliVIEW -- Interactive=20 ::>>::Reporting Tool for open source databases. Create drag-&-drop=20 ::>>::reports. Save time by over 75%! Publish reports on the web. ::>>::Export to DOC, XLS, RTF, etc. ::>>::Download a FREE copy at http://www.intelliview.com/go/osdn_nl ::>>::_______________________________________________ ::>>::sepy-macdev mailing list ::>>::sep...@li... ::>>::https://lists.sourceforge.net/lists/listinfo/sepy-macdev ::>>:: ::>> ::>> ::>> ::>> ::>>------------------------------------------------------- ::>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive=20 ::>>Reporting Tool for open source databases. Create=20 ::drag-&-drop reports.=20 ::>>Save time by over 75%! Publish reports on the web. Export=20 ::to DOC, XLS, RTF, etc. ::>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl ::>>_______________________________________________ ::>>sepy-macdev mailing list ::>>sep...@li... ::>>https://lists.sourceforge.net/lists/listinfo/sepy-macdev ::>> ::>> =20 ::>> ::> ::> =20 ::> :: :: :: ::------------------------------------------------------- ::SF email is sponsored by - The IT Product Guide Read honest &=20 ::candid reviews on hundreds of IT Products from real users. ::Discover which products truly live up to the hype. Start reading now. ::http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk ::_______________________________________________ ::sepy-macdev mailing list ::sep...@li... ::https://lists.sourceforge.net/lists/listinfo/sepy-macdev :: |