Hi all,
I just updated textmate, and it seems the system is not picking up the
PYTHONPATH.
in my .profile I have the PYTHONPATH listed as ...
export
PYTHONPATH=/usr/local/lib:/Users/lisagandy/infolab_projects/NewsAtSevenShared:/Users/lisagandy/infolab_projects/
when I run the python shell and type sys.path I get ...
['',
'/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg',
'/Library/Python/2.6/site-packages/restclient-0.9.10-py2.6.egg',
'/Library/Python/2.6/site-packages/httplib2-0.6.0-py2.6.egg',
'/Library/Python/2.6/site-packages/tweetstream-0.3.3-py2.6.egg',
'/Library/Python/2.6/site-packages/anyjson-0.2.3-py2.6.egg',
'/usr/local/lib', '/Users/lisagandy/infolab_projects/NewsAtSevenShared',
'/Users/lisagandy/infolab_projects',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/Library/Python/2.6/site-packages/PIL',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']
If you look closely in there the paths from my PYTHONPATH settings in
.profile are there
when I try to import folders within the PYTHONPATH everything works great...
Now in textmate when I run sys.path I get
['/Users/lisagandy/infolab_projects/ccu/ccu_gen',
'/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg',
'/Library/Python/2.6/site-packages/restclient-0.9.10-py2.6.egg',
'/Library/Python/2.6/site-packages/httplib2-0.6.0-py2.6.egg',
'/Library/Python/2.6/site-packages/tweetstream-0.3.3-py2.6.egg',
'/Library/Python/2.6/site-packages/anyjson-0.2.3-py2.6.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/Library/Python/2.6/site-packages/PIL',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']
none of the paths I have set in PYTHONPATH are there and instead I have this
path...
/Users/lisagandy/infolab_projects/ccu/ccu_gen...
which I do not want (and am searching like crazy on the system right now to
see where this durn path is even listed)
I am running Mac OSX and am looking in my home directory for any where else
python path could be set besides .profile, and don't see anything! here's
the listing... any ideas????
-rw------- 1 lisagandy staff 3 Aug 22 2008 .CFUserTextEncoding
-rw-r--r-- 1 lisagandy staff 24580 Nov 15 15:10 .DS_Store
drwx------ 11160 lisagandy staff 379440 Nov 15 15:10 .Trash
-rw------- 1 lisagandy staff 169 May 6 2010 .Xauthority
drwxr-xr-x 2 lisagandy staff 68 Aug 29 2008 .Xcode
drwxr-x--x 3 lisagandy staff 102 Apr 1 2010 .adobe
drwxr-xr-x 3 lisagandy staff 102 Mar 4 2009 .allegrocl
drwxr-xr-x 4 lisagandy staff 136 Sep 9 11:05 .argouml
drwxr-xr-x 4 lisagandy staff 136 Dec 4 2009 .avidemux
-rw------- 1 lisagandy staff 10355 Nov 15 23:42 .bash_history
drwx------ 3 lisagandy staff 102 Sep 19 2008 .config
-rw-r--r-- 1 lisagandy staff 3078 Oct 31 16:54
.crash_report_checksum
-rw-r--r-- 1 lisagandy staff 6141 Oct 31 16:54 .crash_report_frames
-rw-r--r-- 1 lisagandy staff 10381 Oct 31 16:54
.crash_report_preview
-rw-r--r-- 1 lisagandy staff 83 Mar 26 2010 .crash_reportrc
drwx------ 3 lisagandy staff 102 Sep 11 2008 .cups
-rw-r--r-- 1 lisagandy staff 350 Feb 9 2009 .eclipse_keyring
drwx------ 10 lisagandy staff 340 Nov 15 10:05 .filezilla
-rwxrwxrwx 1 lisagandy staff 60 Aug 5 18:36 .flexlmrc
drwxr-xr-x 23 lisagandy staff 782 May 6 2010 .fontconfig
-rw------- 1 lisagandy staff 0 Jan 28 2009 .gdb_history
drwxr-xr-x 4 lisagandy staff 136 Oct 20 2009 .gem
drwx------ 2 lisagandy staff 68 Sep 19 2008 .gnome2
-rw-r--r-- 1 lisagandy staff 574 Oct 22 2009 .irb_history
-rw------- 1 lisagandy staff 57 Dec 10 2009 .lesshst
-rw------- 1 lisagandy staff 3 Mar 8 2009 .mysql_history
-rw-r--r-- 1 lisagandy staff 946 Nov 15 23:48 .profile
drwxr-xr-x 5 lisagandy staff 170 Jan 25 2010 .python-eggs
-rw-r--r-- 1 lisagandy staff 12593 May 6 2010 .recently-used.xbel
-rw------- 1 lisagandy staff 1765 Dec 3 2009 .sh_history
drwxr-xr-x 2 lisagandy staff 68 Oct 11 2009 .spss
drwxr-xr-x 34 root staff 1156 May 14 2009 .spumux
-rw------- 1 lisagandy staff 2422 Nov 10 14:13 .sqlite_history
drwx------ 4 lisagandy staff 136 Aug 19 10:45 .ssh
drwxr-xr-x 6 lisagandy staff 204 Aug 26 2008 .subversion
drwx------ 3 lisagandy staff 102 Sep 19 2008 .thumbnails
-rw------- 1 lisagandy staff 10799 Nov 16 00:08 .viminfo
-rw-r--r-- 1 lisagandy staff 8 May 18 2009 .vinevncauth
drwxr-xr-x 4 lisagandy staff 136 Apr 8 2009 .wireshark
drwxr-xr-x 7 lisagandy staff 238 Nov 16 2009 .wireshark-etc
So I'm at my wits end at the moment, and kind of annoyed b/c I'm in the
middle of a big project and do not really want to be debugging textmate
right now. Any suggestions are appreciated!
Thanks!
--
View this message in context:
http://old.nabble.com/Mac-OSX-python-path-issue-tp30226111p30226111.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi I have quickly become quite heavily dependent on RVM's .rvmrc file (
http://rvm.beginrescueend.com/workflow/rvmrc/), which swaps out versions of
Rubies and gems when you are in the containing dir or one of its subdirs.
However, TextMate gets its Ruby version from my ~/.profile where I have: rvm
wrapper ruby-1.9.2-p0 textmate
And then a TextMate shell variable:
TM_RUBY=/Users/josh/.rvm/bin/textmate_ruby
This means that I have to manually change the wrapper for TextMate to be
correct in my current project, and then I have to be very careful not to
open another terminal tab, which feels like a pretty fragile workflow.
Is there a way to have Ruby's command+r and command+shift+e aware of which
Ruby they should be using?
I'm happy to see the update even if there are some issues. I
recommended TextMate to a new Mac User and he told me he didn't want
to install a product that wasn't being actively developed.
--
Brad Rice
bradrice1(a)gmail.com
~
"If I find in myself a desire which no experience in this world can
satisfy, the most probable explanation is that I was made for another
world." - C.S. Lewis
This may be a stupid question but is there a reason that the version
of Support/bin/mate in svn is much much older than the one shipped
with the app?
$ svn update /Users/jay/code/textmate/Support/bin/ # My SVN repo
At revision 11963.
$ /Users/jay/code/textmate/Support/bin/mate -h 2>&1 | head -1
mate r851 (2006-05-03)
$ /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate
-h 2>&1 | head -1
mate r1577 (2010-11-12)
I can no longer enter the French word fenêtre, -or any ê into a document.
My setup
- MacBook Pro 15" HiRes latest model
- French keyboard
- Systemwide English language with French locales
- latest OS 10.6.5 Build 10H574
to obtain the ê I type
^ the sign
e the letter
so far so good, but this sequence starts a weird command line mode (I don't
know that stuff), I get strange results depending on what I type next :
- tries to execute a shell bash command (I know because it's complaining
that the command passed is invalid)
- backward deletes chars
- jumps to the next line
I tried ¨ - is ok, works
but Ê does not, same issue as ê
My intermediate solution : copy and paste from textEdit
Thomas
Hi!
I love the new update. Except it broke my workflow in a major way:
Reverse indenting a block of text with alt-shift-tab no longer works.
In the latest version the text is replace with a real tab symbol instead.
This is incredibly annoying! Can there at least be an option to change
it back somewhere? I've been looking around but couldn't find anything!
Thanks
/Simon
Hi there -
loving TextMate in general, but really want one feature I've had from several editors in the past (e.g. Scintilla, Eclipse):
For indenting/dedenting, commenting/uncommenting, duplicating, deleting with a selection, I'd like TextMate to work on the full lines rather than the exact selection.
So if you make a selection of several lines starting from the middle of one and finishing in the middle of one, and then do an operation like commenting
http://img.skitch.com/20101105-c3t72pnsp98jp71d6xfkxjwfnq.png
Then the result wouldn't be as currently (that the comment delimiter is placed in the middle of the line, generating syntactically incorrect code)
http://img.skitch.com/20101105-r4u82qkcxr4germwqkcjgp9wa1.png
But instead comment as if I had selected the whole lines.
http://img.skitch.com/20101105-djej4cyhrkkckp2jjq1jeaeu38.png
I'd like indent/dedent, duplicate and delete to work similarly.
Is there a way to make this happen? Can I "decorate' those commands somehow to select the relevant lines first... Or would I just have to rewrite those particular features (for each bundle I want them to happen in? )
(Hoping the screenshots I took make it into the mail).
thanks in advance
Tim
http://red56.co.ukhttp://tim.teamportfolios.com/
tim(a)red56.co.uk
I updated today and now when I edit an html file if I use
command-return I get <br /> instead of moving my cursor to a new line
outside of my tag. I wish it wasn't changed. I can find that command
listed anywhere. Is there a way for me to get it back?
--
Brad Rice
bradrice1(a)gmail.com
~
"If I find in myself a desire which no experience in this world can
satisfy, the most probable explanation is that I was made for another
world." - C.S. Lewis