I'm having this problem too. Comparing snapshot 70 with snapshot 71, I see the
following:
:; otool -L MacVim-snapshot-70/MacVim.app/Contents/MacOS/Vim | grep -i python
/System/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.2)
:; otool -L MacVim-snapshot-71/MacVim.app/Contents/MacOS/Vim | grep -i python
/System/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.2)
:; MacVim-snapshot-70/MacVim.app/Contents/MacOS/Vim --version | grep Linking:
Linking: clang -L. -L. -L/usr/local/lib -o Vim -framework Cocoa
-framework Carbon -lncurses -liconv -framework Cocoa -fstack-protector
-L/usr/local/lib -L/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE
-lperl -lm -lutil -lc -framework Python -framework Ruby
:; MacVim-snapshot-71/MacVim.app/Contents/MacOS/Vim --version | grep Linking:
Linking: clang -L. -fstack-protector -L. -fstack-protector -L/usr/local/lib
-o Vim -framework Cocoa -framework Carbon -lncurses -liconv -framework
Cocoa -fstack-protector -L/usr/local/lib
-L/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE -lperl -lm -lutil
-lc -framework Python -lruby-static -lobjc -L/Users/Douglas/lib
:; strings MacVim-snapshot-70/MacVim.app/Contents/MacOS/Vim | grep /Python
/System/Library/Frameworks/Python.framework/Versions/2.7
:; strings MacVim-snapshot-71/MacVim.app/Contents/MacOS/Vim | grep /Python
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7
:; DYLD_PRINT_LIBRARIES=1 MacVim-snapshot-70/mvim --cmd 'python pass' --cmd q
2>&1 | sed '/^dyld:/ { /[Pp]ython/ ! d; }'
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
:; DYLD_PRINT_LIBRARIES=1 MacVim-snapshot-71/mvim --cmd 'python pass' --cmd q
2>&1 | sed '/^dyld:/ { /[Pp]ython/ ! d; }'
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
ImportError: No module named site
So, it looks like the system provided python framework is being selected, but
the output from "strings" hints that something else is happening.
Indeed, updating my homebrew python to 2.7.5 does get things moving, but it
fails to load the io stdlib:
:; DYLD_PRINT_LIBRARIES=1 MacVim-snapshot-71/mvim --cmd 'python pass' 2>&1 |
sed '/^dyld:/ { /[Pp]ython/ ! d; }'
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
dyld: loaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
dyld: unloaded:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
Error detected while processing
/Users/kai/.vim/bundle/ultisnips/plugin/UltiSnips.vim:
line 257:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/kai/.vim/bundle/ultisnips/plugin/UltiSnips/__init__.py", line
15, in <module>
from UltiSnips.text_objects import SnippetInstance
File
"/Users/kai/.vim/bundle/ultisnips/plugin/UltiSnips/text_objects/__init__.py",
line 4, in <module>
from ._snippet_instance import SnippetInstance
File
"/Users/kai/.vim/bundle/ultisnips/plugin/UltiSnips/text_objects/_snippet_instance.py",
line 8, in <module>
from UltiSnips.text_objects._parser import TOParser
File
"/Users/kai/.vim/bundle/ultisnips/plugin/UltiSnips/text_objects/_parser.py",
line 11, in <module>
from UltiSnips.text_objects._shell_code import ShellCode
File
"/Users/kai/.vim/bundle/ultisnips/plugin/UltiSnips/text_objects/_shell_code.py",
line 8, in <module>
import tempfile
File
"/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py",
line 32, in <module>
import io as _io
File
"/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py",
line 51, in <module>
import _io
ImportError:
dlopen(/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so,
2): Symbol not found: __PyInt_AsInt
Referenced from:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
Expected in: flat namespace
in
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
By comparison, snapshot 70 gets further using the system python.
:; DYLD_PRINT_LIBRARIES=1 MacVim-snapshot-70/mvim --cmd 'python pass' 2>&1 |
sed '/^dyld:/ { /[Pp]ython/ ! d; }'
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
dyld: loaded:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
Sorry for the spam, let me know if there's a issue tracker you would prefer
this be posted in.
Kai
On Monday, September 9, 2013 8:05:00 AM UTC-4, Douglas Drumond wrote:
> I don't think so, I'll check at home.
>
> Androidから送信
>
> 2013/09/09 8:57 "Frank Hellenkamp" <[email protected]>:
>
> Hi,
>
>
>
> > 2013/9/6 Douglas Drumond <[email protected]
>
> > <mailto:[email protected]>>
>
> >
>
> > ML release is up on https://github.com/eee19/macvim/releases
>
> >
>
> > I'll upload a Lion release when I get back home.
>
> >
>
> >
>
> > And Lion release is up as well, at the same
>
> > address: https://github.com/eee19/macvim/releases/tag/snapshot-71
>
>
>
> With the mountain lion build, I get the following error message when
>
> trying to start macvim and no Windows are opening:
>
> "ImportError: No module named site"
>
>
>
> With the old build, everything works fine.
>
>
>
> I am using pathogen btw. When I remove my .vim folder, vim seems to start.
>
>
>
> Did something change with python?
>
>
>
>
>
> Best
>
>
>
> Frank
>
>
>
> --
>
> frank hellenkamp | interface designer
>
> solmsstraße 7 | 10961 berlin
>
>
>
> +49.30.49 78 20 70 | tel
>
> +49.176.32 13 88 89 | mbl
>
> +49.3212.100 35 22 | fax
>
> [email protected]
>
>
>
> http://depage.net | bureau
>
> http://depagecms.net | content management
>
> http://immerdasgleiche.de | read
>
> http://everydayisexactlythesame.net | see
>
> https://ideenkonserve.de | ideas
>
> https://twitter.com/depage_net | twitter
--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.