Re: issues with python and python3 commands

2014-03-31 Fir de Conversatie antonis . loumiotis
I apologize for my late response, but I do not have administrator privileges on 
my system and it takes some to make changes that require administrator rights...

I compiled Vim using the directions from 
http://vim.wikia.com/wiki/Build_Vim_in_Windows_with_Visual_Studio, installed 
it, and the issue with the Python3 command has been miraculously resolved!

I also found that there were several python27.dll in my system:

C:\dir /s /b python27.dll
C:\Program Files\Mercurial\python27.dll
C:\Program Files\MySQL\MySQL Utilities 1.3.5\python27.dll
C:\Program Files\MySQL\MySQL Workbench 6.0 CE\python27.dll
C:\Python27\python27.dll

I removed the Mercurial and the MySQL directories from $PATH and the Python 
command also now works!  Thanks Yukihiro for pinpointing the cause of the 
problem!

Best,
Antonis

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: issues with python and python3 commands

2014-02-27 Fir de Conversatie Yukihiro Nakadaira
On Wed, Feb 19, 2014 at 10:48 PM, antonis.loumio...@gmail.com wrote:

 I posted in this thread
 https://groups.google.com/forum/?hl=en#!searchin/vim_dev/python|sort:date/vim_dev/ASokGp_zCCc/HnOGHTfAZNwJa
  while ago about Vim crashing whenever I use the :python command.  Today I
 realized that the problem was that I had not installed Python 2.7 but only
 Python 3.3.  As soon as I installed Python 2.7 Vim stopped crashing after a
 :py command! It would have been better that a warning message was displayed
 that informed that Python 2.7 is not found instead of Vim crashing but I'm
 happy now that I found what caused the crash and how to fix it!

 But now I face another similar problem.  Vim crashes whenever I now use
 the :python3 command.  I tried to create a stack trace but I'm not sure
 where to get the PDB file described in the helpfile debug.txt.  I obtained
 the executable from http://cream.sourceforge.net/download.html but I
 can't find there the PDB file.  Could someone explain to me where to find
 the PDB file so that I could provide a more useful report about this crash?


With Make_mvc.mak, pdb file is created by default.

I can reproduce the problem in your first post.

1. Install python-2.7.6.msi and python-3.3.4.msi to compile vim.
2. Compile vim with nmake -f Make_mvc.mak USE_MSVCRT=yes MBYTE=yes GUI=yes
IME=yes XPM=no PYTHON=C:\python27 DYNAMIC_PYTHON=yes PYTHON_VER=27
PYTHON3=C:\python33 DYNAMIC_PYTHON3=yes PYTHON3_VER=33
3. Uninstall python-2.7.6
4. Run gvim.exe and execute :py command.
Then, vim crash (or exit?) silently.

I found that there is another python27.dll in Mercurial directory.

  CMD where python27.dll
  C:\Program Files\Mercurial\python27.dll

I removed Mercurial directory from $PATH.
And vim shows cannot load library error for :py command properly.

Perhaps there is non-standard python dll in your system?

-- 
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: issues with python and python3 commands

2014-02-27 Fir de Conversatie Yukihiro Nakadaira
On Thu, Feb 27, 2014 at 5:10 PM, Yukihiro Nakadaira 
yukihiro.nakada...@gmail.com wrote:

 I found that there is another python27.dll in Mercurial directory.

   CMD where python27.dll
   C:\Program Files\Mercurial\python27.dll

 I removed Mercurial directory from $PATH.
 And vim shows cannot load library error for :py command properly.


With CUI vim.exe and mercurial's python27.dll, it print ImportError: No
module named site and exit.

-- 
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


issues with python and python3 commands

2014-02-19 Fir de Conversatie antonis . loumiotis
I posted in this thread 
https://groups.google.com/forum/?hl=en#!searchin/vim_dev/python|sort:date/vim_dev/ASokGp_zCCc/HnOGHTfAZNwJ
 a while ago about Vim crashing whenever I use the :python command.  Today I 
realized that the problem was that I had not installed Python 2.7 but only 
Python 3.3.  As soon as I installed Python 2.7 Vim stopped crashing after a :py 
command! It would have been better that a warning message was displayed that 
informed that Python 2.7 is not found instead of Vim crashing but I'm happy now 
that I found what caused the crash and how to fix it!

But now I face another similar problem.  Vim crashes whenever I now use the 
:python3 command.  I tried to create a stack trace but I'm not sure where to 
get the PDB file described in the helpfile debug.txt.  I obtained the 
executable from http://cream.sourceforge.net/download.html but I can't find 
there the PDB file.  Could someone explain to me where to find the PDB file so 
that I could provide a more useful report about this crash?

Here is my Vim version info:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 13 2014 10:42:55)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-179
Compiled by digitec...@spamdancingpaper.com
Huge version with GUI.  Features included (+) or not (-):
+acl+ex_extra   +multi_byte_ime/dyn +tag_old_static
+arabic +extra_search   +multi_lang -tag_any_white
+autocmd+farsi  -mzscheme   -tcl
+balloon_eval   +file_in_path   +netbeans_intg  -tgetent
+browse +find_in_path   +ole-termresponse
++builtin_terms +float  +path_extra +textobjects
+byte_offset+folding+perl/dyn   +title
+cindent-footer +persistent_undo+toolbar
+clientserver   +gettext/dyn-postscript +user_commands
+clipboard  -hangul_input   +printer+vertsplit
+cmdline_compl  +iconv/dyn  +profile+virtualedit
+cmdline_hist   +insert_expand  +python/dyn +visual
+cmdline_info   +jumplist   +python3/dyn+visualextra
+comments   +keymap +quickfix   +viminfo
+conceal+langmap+reltime+vreplace
+cryptv +libcall+rightleft  +wildignore
+cscope +linebreak  +ruby/dyn   +wildmenu
+cursorbind +lispindent +scrollbind +windows
+cursorshape+listcmds   +signs  +writebackup
+dialog_con_gui +localmap   +smartindent-xfontset
+diff   +lua/dyn-sniff  -xim
+digraphs   +menu   +startuptime-xterm_save
-dnd+mksession  +statusline -xpm_w32
-ebcdic +modify_fname   -sun_workshop
+emacs_tags +mouse  +syntax
+eval   +mouseshape +tag_binary
   system vimrc file: $VIM\vimrc
 user vimrc file: $HOME\_vimrc
 2nd user vimrc file: $HOME\vimfiles\vimrc
 3rd user vimrc file: $VIM\_vimrc
  user exrc file: $HOME\_exrc
  2nd user exrc file: $VIM\_exrc
  system gvimrc file: $VIM\gvimrc
user gvimrc file: $HOME\_gvimrc
2nd user gvimrc file: $HOME\vimfiles\gvimrc
3rd user gvimrc file: $VIM\_gvimrc
system menu file: $VIMRUNTIME\menu.vim
Compilation: i686-pc-mingw32-gcc -O3 -fomit-frame-pointer
-freg-struct-return -fno-strength-reduce -DWIN32 -DHAVE_PATHDEF
-DFEAT_HUGE -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -DFEAT_PERL
-DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=perl518.dll -DFEAT_PYTHON
-DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=python27.dll -DFEAT_PYTHON3
-DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=python33.dll -DFEAT_RUBY
-DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=msvcrt-ruby191.dll
-DDYNAMIC_RUBY_VER=191 -DFEAT_LUA -DDYNAMIC_LUA
-DDYNAMIC_LUA_DLL=lua51.dll -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV
-DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_CSCOPE
-DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_OLE
-march=i386 -Iproto -I/cygdrive/c/strawberry/perl/lib/CORE
-I/cygdrive/c/Ruby193/lib/ruby/1.9.1/i386-mingw32
-I/cygdrive/c/Ruby193/include/ruby-1.9.1
-I/cygdrive/c/Ruby193/include/ruby-1.9.1/i386-mingw32
-I/cygdrive/c/PROGRA~2/Lua/5.1/include -s
Linking: i686-pc-mingw32-gcc -s -o gvim.exe  -luuid -lole32 -lwsock32
-mwindows -lcomctl32 -lversion -loleaut32 -Wl,-Bstatic -lstdc++
-Wl,-Bdynamic

Best regards,
Antonis   

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit