internal error
calmar <[email protected]> Sat, 17 Dec 2005 12:40:19 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
with this recipe (stripped down, so it makes no sense actually, but it still
produces the error) I can produce an internal error:
,------------------------------------------------------
| index_title = whateverhere
|
| :rule %.php : %.part
| tmpstring = _no.$(match)_title
| @title = eval( tmpstring )
|
| files =
| ./ddd/test.php
| ./index.php
|
| all : $files
`---
It seems aap lets python evaluate a variable that does not
exist: _no.test_title
When I provide a:
test_title = whateever
variable, then, there is no error
Anyway, I get following error message:
,----------------------------------------------------------------------------
| _no.test_title
| Aap: Internal Error
| Aap: Traceback (most recent call last):
| File "/usr/local/lib/aap/Exec-1.080/Process.py", line 1163, in Process
| exec script_string in recdict, recdict
| File "<string>", line 10, in ?
| File "<string>", line 0, in ?
| File "/usr/local/lib/aap/Exec-1.080/Scope.py", line 103, in __getattr__
| return self.data[key]
| KeyError: 'test_title'
|
| Aap: Aborted
`---
I just wanted to let know, just in case.
Cheers and thanks
marco
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click