Hi, I am using openwfe-1.7.3pre0 and trying to set the agent-pyya-tag
pyya to instantiate each time. Is this supported for pyyas?
It doesn't seem to work for me. When I change the etc/python-apre/
agents.xml to:
<agent
name="agent-pyya-tag"
class="TagAgent.TagAgent"
path="./pyya-apre-scripts/"
instantiate="each-time"
>
Then when I run bin/python-apre.sh, it doesn't start and I get these
errors in logs/python-apre.log:
Thu May 3 12:24:24 2007 INFO 'app' - OpenWFE pyya application v1.01
- [EMAIL PROTECTED]
Thu May 3 12:24:24 2007 INFO 'router' - BasicService init done
Traceback (most recent call last):
File "/Desktop/openwfe-1.7.3pre0/etc/python-apre/lib/openwfe/applic/
application.py", line 56, in ?
ApplicationContext.build(configurationFileName, applicationHome)
File "/Desktop/openwfe-1.7.3pre0/etc/python-apre/lib/openwfe/applic/
__init__.py", line 234, in build
service = buildService(context, elt)
File "/Desktop/openwfe-1.7.3pre0/etc/python-apre/lib/openwfe/applic/
__init__.py", line 151, in buildService
service.init(serviceName, applicationContext, params)
File "/Desktop/openwfe-1.7.3pre0/etc/python-apre/lib/openwfe/apre/
__init__.py", line 145, in init
self._build_()
File "/Desktop/openwfe-1.7.3pre0/etc/python-apre/lib/openwfe/apre/
__init__.py", line 225, in _build_
self.entries.append(Entry(self, agent))
File "/Desktop/openwfe-1.7.3pre0/etc/python-apre/lib/openwfe/apre/
__init__.py", line 104, in __init__
self.regex = re.compile(agent.name)
AttributeError: 'tuple' object has no attribute 'name'
However when I set instantiate back to "once", python-apre starts
fine. Am I doing something wrong?
Thanks so much!
--Jennifer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---