Alexei Alexandrov wrote:

> I try to update my Vim runtime files with AAP. I have AAP 1.090 
> installed, plus Python 2.5. I execute command
> 
>  > aap -f ftp://ftp.vim.org/pub/vim/runtime/main.aap fetch
> 
> which is a copy-paste from Vim site and get the following error:
> 
> fetch
> Aap: c:\cygwin\bin\gcc.EXE --version
> Aap: Attempting download of "ftp://ftp.vim.org/pub/vim/runtime/main.aap";
> Aap: Downloaded "ftp://ftp.vim.org/pub/vim/runtime/main.aap"; to "main.aap"
> Aap: Updating recipe "main.aap"
> Aap: Attempting download of "ftp://ftp.vim.org/pub/vim/runtime/main.aap";
> Aap: Downloaded "ftp://ftp.vim.org/pub/vim/runtime/main.aap"; to 
> "D:\programs\vim\111\main.aap"
> Cannot read "filetype.vim", guessing fileformat is "dos".
> Aap: Attempting download of "ftp://ftp.vim.org/pub/vim/runtime/getdos.aap";
> Aap: Downloaded "ftp://ftp.vim.org/pub/vim/runtime/getdos.aap"; to 
> "D:\programs\vim\111\getdos.aap"
> Aap: Internal Error
> Aap: Traceback (most recent call last):
>     File "D:\programs\aap\Process.py", line 1163, in Process
>      exec script_string in recdict, recdict
>     File "<string>", line 7, in <module>
>     File "D:\programs\aap\Error.py", line 50, in __init__
>      self.args = args
>   TypeError: 'NoneType' object is not iterable
> 
> Aap: Aborted
> Aap: More info in the logfile: D:\programs\vim\111\AAPDIR\log
> 
> What might be the reason of the failure?

Hmm, perhaps another Python 2.5 incompatibility?  At least it works fine
for me with Python 2.4.2.

Can you please locate the Process.py file in the aap Exec directory, and
uncomment the msg_note() call below DEBUG?  Then we can see what code is
actually executed.  Aap generates Python code and executes it,
unfortunately Python then doesn't give good error messages.

-- 
THEOREM: VI is perfect.
PROOF: VI in roman numerals is 6.  The natural numbers < 6 which divide 6 are
1, 2, and 3. 1+2+3 = 6.  So 6 is a perfect number.  Therefore, VI is perfect.
QED
                                                    -- Arthur Tateishi

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui