Re: Installing A-A-P

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Alexander Rødseth wrote:

> Then I tried running the "aap" executable, with various flavours
> of parameters, all which gave me the same error message:
> 
> "
> Aap: Detected an error in the Python "pre" library.
> See "/home/uall5063/Exec/README.txt" how to fix this.
> "
> 
> I thought this was a bit strange. Oh well.
> Off I went to read the file.
> I was told that this was due to a bug in Python 2.2.1,
> and all I had to do was to patch "pre.py".
> 
> That would have been easy enough, if I were root
> on the computer I'm sitting at...

Hmm, that is a situation I hadn't thought of.

This is a real problem in Python 2.2.1.  Without fixing this bug you
would quickly run into trouble when using Aap.  That is why I decided to
force people to fix this bug before executing a recipe.

> After trying various tricks to the best of my ability, I gave up.
> 
> (I could have installed Python as a user, but, hey...)

This should work: Copy the "pre.py" file from your Python installation
into the Aap directory, and modify it there.  Then run Aap.

Please let me know if this actually works.  Then I'll update the
instructions.

> I just wanted to make you aware that normal users with Python 2.2.1
> are beeing excluded from testing A-A-P.

The alternative would be to get mysterious errors while running Aap...

> I could also add that it would be really nice if the patching could
> be done automagically and transparently. :)

I hesitate to do this.  Not because of the "root" problem (we do have
the ":asroot" implementation), but because I don't like automatically
patching someone's files.  Should it be done after asking a question?

-- 
Every engineer dreams about saving the universe and having sex with aliens.
This is much more glamorous than the real life of an engineer, which consists
of hiding from the universe and having sex without the participation of other
life forms.
				(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.