R: 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 19:01:24
|
I followed this: http://wiki.wxpython.org/index.cgi/wxPythonOSX_20Building_20from_20source= 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 19.17 ::A: sep...@li... ::Oggetto: Re: R: AW: [SE|PY-macdev] OS X Bugs with SEPY newest revision :: ::ok, i downloaded the wxpython source and with :: ::./configure --with-mac --prefix=3D/opt/wx/2.5=20 ::--enable-monolithic sudo make install :: ::i installed it without problems. ::but i still get the same error. ::how did you try to install it from the source ? :: ::valley :: :: :: ::>Which wxpython did you downloaded? ::>As I know the only .dmg file available is for python2.3,=20 ::toherwise you=20 ::>must download the wxpython tar gz source and compile by yourself.. ::>I already tried it, but using pearpc is too slowly.. So i postponed=20 ::>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... ::>::[mailto:sep...@li...] Per conto=20 ::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=20 ::in ::the=20 ::>shell. ::>:: ::>::Next I reinstalled wxPython. ::>::But when I now want to start SEPY in the same manner than ::before=20 ::>('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=20 ::>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=20 ::types of shells: ::>::> ::>::>---start_clip--- ::>::>If you do not want to have to type /usr/local/mysql/bin=20 ::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=20 ::>in your shell's login script. ::>::> ::>::>For the tcsh shell, which was the default up to Mac OS X ::>::10.2 , you can ::>::>do this by running this command once: ::>::>echo 'setenv PATH /usr/local/mysql/bin:$PATH' >> ~/.tcshrc ::>=20 ::>::>For the bash shell, which is the default for new user ::accounts=20 ::>created ::>under Mac OS X 10.3, the command is: ::>::>echo 'export PATH=3D/usr/local/mysql/bin:$PATH' >>=20 ::::~/.bash_profile=20 ::>Then ::>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: ::>::> ::>::> ::>::> ::>::>>Sorry for the newbie question, but once i installed the=20 ::python2.4=20 ::>::>>package from the source, how i can set that as the=20 ::default python=20 ::>::>>path? ::>::>>Otherwise every other module i install it's installed into ::the=20 ::>older ::>::>>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=20 ::>valley ::>::>>::Sent: sabato 29 gennaio 2005 16.59 ::>::>>::To: sep...@li... ::>::>>::Subject: Re: AW: [SE|PY-macdev] OS X Bugs with SEPY ::newest=20 ::>revision ::>::>>:: ::>::>>::doesn't seem to work: ::>::>>:: ::>::>>::Traceback (most recent call last): ::>::>>:: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py",=20 ::line ::5754,=20 ::>::in ::>>OnClose ::>::>>:: frame =3D main_window(parent=3DNone, id=3Dwx.NewId(), ::>::>>::title=3DAbout_title, dialog =3D None) ::>::>>:: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py",=20 ::line 271, ::in=20 ::>::>>__init__ ::>::>>:: self._setMenu() ::>::>>:: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py",=20 ::line ::1729,=20 ::>::in ::>>_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 ::"wxAssertFailure"=20 ::>failed in ::>::>>::../src/mac/carbon/menu.cpp(529): can't refresh=20 ::unatteched menubar ::>::>>:: ::>::>>:: ::>::>>::i tried to let it run with wxpython 2.5.2.9 from last=20 ::::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 ::>::>>line: ::>::>>::>menu3 =3D wx.Menu() ::>::>>::> ::>::>>::> ::>::>>::>so, i think the same thing for every wx.Menu, even if=20 ::i ::think=20 ::>::>>also this ::>is a bug in wxpython osx version (since=20 ::this ::issue=20 ::>didn't ::>>appear in ::>previous ::>::>>::>versions) ::>::>>::> ::>::>>::> ::>::>>::>valley said: ::>::>>::> ::>::>>::> ::>::>>::>>so this is the stacktrace i get when trying to start=20 ::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 ::>>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 ::>>__init__ ::>::>>::>> self._setMenu() ::>::>>::>> File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line=20 ::>::::1824, in ::>>_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 ::"wxAssertFailure"=20 ::>failed ::>>in ::>::>>::>>../src/mac/carbon/menu.cpp(529): can't refresh ::unatteched=20 ::>menubar ::>>::>> ::>>please note that i didn't update so far=20 ::the other=20 ::>needed ::>>components ::>>(like pyRXP or 4Suite). ::>::>>::>> ::>::>>::>>if needed you can tell me change propositions to do in ::the=20 ::>source. ::>::>>::>> ::>::>>::>>valley ::>::>>::>> ::>::>>::>> ::>::>>::>> ::>::>>::>> ::>::>>::>>------------------------------------------------------- ::>::>>::>>This SF.Net email is sponsored by: IntelliVIEW --=20 ::Interactive=20 ::>::>>::>>Reporting Tool for open source databases. Create=20 ::::drag-&-drop=20 ::>::>>reports. ::>::>>::>>Save time by over 75%! Publish reports on the web.=20 ::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 --=20 ::::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,=20 ::>::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 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 ::drag-&-drop=20 ::>reports. ::>::>>Save time by over 75%! Publish reports on the web.=20 ::Export ::to DOC,=20 ::>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 ::>::>> ::>::> ::>::> ::>::> ::>:: ::>:: ::>:: ::>::------------------------------------------------------- ::>::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=20 ::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 ::>:: ::> ::> ::> ::> ::>------------------------------------------------------- ::>SF email is sponsored by - The IT Product Guide Read honest & candid=20 ::>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=3Dclick ::>_______________________________________________ ::>sepy-macdev mailing list ::>sep...@li... ::>https://lists.sourceforge.net/lists/listinfo/sepy-macdev ::> ::> ::> =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 :: |