[redland-dev] Python problem: "TypeError: iteration over non-sequence"

Andre Meyer meyer at acm.org
Fri Apr 7 12:30:40 BST 2006


Dear Redland developers

I have tried to run the example.py on WinXP (binary installed) with
Python 2.4.3, but get the following error message:

D:\python\rdf\librdf>python example.py
found statement: {[http://purl.org/net/dajobe/], [http://purl.org/dc/elements/1.
1/creator], "Dave Beckett"}
Parsing URI (file) ../data/dc.rdf
Traceback (most recent call last):
  File "example.py", line 59, in ?
    for s in parser.parse_as_stream(uri,uri):
TypeError: iteration over non-sequence

What can be wrong here?

thanks for your help
Andre


More information about the redland-dev mailing list