fetch-bug?
PieterB <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
I get an internal error when using Aap 1.010 with Python 2.3 on FreeBSD
5.1 RELEASE. Here's the traceback:
# aap
Aap: Attempting download of
"http://aleron.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.3.tar.gz"
Aap: Internal Error
Aap: Traceback (most recent call last):
File "/usr/local/lib/aap/Exec-1.010/Process.py", line 1095, in
Process
exec script_string in recdict, recdict
File "<string>", line 8, in ?
File "/usr/local/lib/aap/Exec-1.010/Commands.py", line 2353, in
aap_fetch
verscont_cmd(line_nr, recdict, arg, "fetch")
File "/usr/local/lib/aap/Exec-1.010/Commands.py", line 2348, in
verscont_cmd
do_verscont_cmd(rpstack, recdict, action, attrdict, varlist)
File "/usr/local/lib/aap/Exec-1.010/Commands.py", line 2335, in
do_verscont_cmd
failed = fetch_nodelist(rpstack, recdict, nodelist, 0)
File "/usr/local/lib/aap/Exec-1.010/VersCont.py", line 196, in
fetch_nodelist
"fetch", [ "fetch", "commit" ])
File "/usr/local/lib/aap/Exec-1.010/VersCont.py", line 174, in
handle_nodelist
this_use_cache, action)
File "/usr/local/lib/aap/Exec-1.010/VersCont.py", line 85, in
verscont_command
ok = download_file(recdict, dict, node, use_cache)
File "/usr/local/lib/aap/Exec-1.010/Remote.py", line 243, in
download_file
fname, use_cache = local_name(recdict, url_dl["name"], cu)
File "/usr/local/lib/aap/Exec-1.010/Cache.py", line 478, in
local_name
f, rtime = url_download(recdict, name, path)
File "/usr/local/lib/aap/Exec-1.010/Remote.py", line 132, in
url_download
if scope:
File "/usr/local/lib/aap/Exec-1.010/Scope.py", line 96, in
__getattr__
return self.data[key]
KeyError: '__nonzero__'
Aap: Aborted
------------------------------------------------------------
I use the following main.aap:
------------------------------------------------------------
PYXML_VERSION=0.8.3
PYXML_INSTALL=1
PYXML_BASE_URL=http://aleron.dl.sourceforge.net/sourceforge/pyxml
PYXML_FILENAME_TGZ=PyXML-0.8.3.tar.gz
PYXML_FILENAME=PyXML-0.8.3.tar.gz
DISTDIR=/tmp
PYTHON_SRCDIR=/tmp/src
fetchpyxml-download:
:pushdir $DISTDIR
:fetch {fetch = $PYXML_BASE_URL/%file%} $PYXML_FILENAME
:popdir
extractpyxml:
:mkdir {f}{r} $PYTHON_SRCDIR
:cd $PYTHON_SRCDIR
:sys tar zxvf $DISTDIR/$PYXML_FILENAME_TGZ
all: fetchpyxml-download extractpyxml
------------------------------------------------------------
Is this a aap-bug, or is something wrong with my recipe?
Thanks in advance,
Regards
Pieter
--
http://zwiki.org/PieterB
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01