Hello, Peter,
I'm sorry for my late reply.
I've corrected the script file.
before:
tree2 = treeFactory.create('sampleStore2.aida', 'xml')
now:
tree2 = treeFactory.create('sampleStore2.aida', 'xml', readOnly=True,
createNew=False)
Sincerely,
Koji
On 2008/10/14, at 0:39, Peter Meier wrote:
> Hello,
>
> when I try to run the sampleStore2.py example I get the following
> error:
>
> #########################
> # Exception Message #
> #########################
> IllegalArgumentException
> =========================
> (No exception message)
> #########################
>
> Traceback (most recent call last):
> File "sampleStore2.py", line 22, in <module>
> h1d2 = tree2.find('histogram')
> File "/home/lri/prg/paida-3.2.1_2.10.1/paida/paida_core/
> ITreeElementTree.py", line 1016, in find
> position = self._internalFind(path)
> File "/home/lri/prg/paida-3.2.1_2.10.1/paida/paida_core/
> ITreeElementTree.py", line 989, in _internalFind
> raise IllegalArgumentException()
> paida.paida_core.PExceptions.IllegalArgumentException:
> <paida.paida_core.PExceptions.IllegalArgumentException instance at
> 0x84b8ccc>
>
>
>
> I am using:
> paida-3.2.1_2.10.1
> Python 2.5.2
>
>
> Thank you!
>
> Peter
|