Re: AW: [SE|PY-macdev] OS X Bugs with SEPY newest revision
Brought to you by:
sephiroth_tmm
From: Andrew B. <an...@ri...> - 2005-01-31 15:16:02
|
Here's how to do it, this is an excerpt from a mysql install on 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 every single mysql-related command, then you have to add the /usr/local/mysql/bin directory to your PATH environment variable 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 For the bash shell, which is the default for new user accounts created unde= r Mac OS X 10.3, the command is: echo 'export PATH=3D/usr/local/mysql/bin:$PATH' >> ~/.bash_profile 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 python2.4 package= from > the source, how i can set that as the default python > path? > Otherwise every other module i install it's installed into the older pyth= on2.3 > folder. >=20 >=20 >=20 > Alessandro Crugnola - sephiroth > --------------------------------------------- > Macromedia Flash Team Volunteer > http://www.macromedia.com/go/team > Flash && PHP developer > ale...@se... >=20 > *relax with SEPY http://www.sf.net/projects/sepy > --------------------------------------------- >=20 >=20 > ::-----Original Message----- > ::From: sep...@li... > ::[mailto:sep...@li...] On Behalf Of valley > ::Sent: sabato 29 gennaio 2005 16.59 > ::To: sep...@li... > ::Subject: Re: AW: [SE|PY-macdev] OS X Bugs with SEPY newest revision > :: > ::doesn't seem to work: > :: > ::Traceback (most recent call last): > :: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line 5754, > ::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", line 271, > ::in __init__ > :: self._setMenu() > :: File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line 1729, > ::in _setMenu > :: menu3.Append(ID_UNDO, '%s%s' % ( _("Undo"), > ::self.kreader.get_tab("Edit","UNDO"))) > :: File=20 > ::"//Library/Python/2.3/wx-2.5.3-mac-unicode/wx/_core.py", line > ::7962, in Append > :: return _core_.Menu_Append(*args, **kwargs) > ::wx._core.PyAssertionError: C++ assertion "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 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 i > ::think also this > ::>is a bug in wxpython osx version (since this issue didn't appear in > ::>previous > ::>versions) > ::> > ::> > ::>valley said: > ::> =20 > ::> > ::>>so this is the stacktrace i get when trying to start the newest > ::>>version (1.0.6.46) with the latest wxpython: > ::>> > ::>>Traceback (most recent call last): > ::>> File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line > ::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 > ::295, in __init__ > ::>> self._setMenu() > ::>> File "/Users/valley/Desktop/SEPY/SciTE/SEPY.py", line > ::1824, in _setMenu > ::>> menu3.AppendSeparator() > ::>> File=20 > ::"//Library/Python/2.3/wx-2.5.3-mac-unicode/wx/_core.py", line > ::>>7966, in AppendSeparator > ::>> return _core_.Menu_AppendSeparator(*args, **kwargs) > ::>>wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in > ::>>../src/mac/carbon/menu.cpp(529): can't refresh unatteched menubar > ::>> > ::>>please note that i didn't update so far the other needed components > ::>>(like pyRXP or 4Suite). > ::>> > ::>>if needed you can tell me change propositions to do in the source. > ::>> > ::>>valley > ::>> > ::>> > ::>> > ::>> > ::>>------------------------------------------------------- > ::>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive > ::>>Reporting Tool for open source databases. Create > ::drag-&-drop 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 > ::>> =20 > ::>> > ::> > ::> > ::>--- > ::>Alessandro Crugnola *sephiroth* > ::>web: http://www.sephiroth.it > ::>mail: ale...@se... > ::> > ::> =20 > ::> > ::>>>>mongia 9,26 <<< > ::>>>> =20 > ::>>>> > ::>"la programmazione =E8 come il maiale. Non si butta via niente". > ::>--- > ::> > ::> > ::> > ::> > ::>------------------------------------------------------- > ::>This SF.Net email is sponsored by: IntelliVIEW -- > ::Interactive Reporting > ::>Tool for open source databases. Create drag-&-drop reports. > ::Save time=20 > ::>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 > ::> > ::> > ::> =20 > ::> > :: > :: > :: > ::------------------------------------------------------- > ::This SF.Net email is sponsored by: IntelliVIEW -- Interactive > ::Reporting Tool for open source databases. Create drag-&-drop > ::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 > :: >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop 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 >=20 --=20 Andrew Blair=20 Interactive Director 905.339.0750 x32=20 http://riordondesign.com ( inform ) inspire ( |