Requires a character ... !!

John Machin sjmachin at lexicon.net
Thu Jul 24 07:12:18 EDT 2008


On Jul 24, 7:23 pm, Ulrich Eckhardt <eckha... at satorlaser.com> wrote:
> karthikbalaguru wrote:
> > [root at localhost hello]# Analyzer hello_input
>
>    ^^^^^^^^^^^^^^
> This is often a bad idea. Anyhow, that has nothing to do with Python.
>
> > Loading debug info: hello_input
> > Traceback (most recent call last):
> >   File "/usr/local/SDK/host/bin/Analyzer", line 694, in ?
> > app.dbg.readObjectInfo(elf)
> >   File "/usr/local/SDK/host/bin/debugprocessor.py", line 427, in
> > readObjectInfo
> >      self.privateProcessorDwarfTree.readProcessorDwarfTree(filename)
> >   File "/usr/local/SDK/bin/debugprocessor.py", line 314, in
> > readDwarfTree
> >     if "DW_OP_reg" in value:
> > TypeError: 'in <string>' requires character as left operand
>
> > Is this related with the version conflicts ?
>
> Which version conflict? Sorry, but my crystal ball is getting a new polish
> today, so I can't see the actual code that causes the error. I suggest that
> you reduce your code to the smallest possible piece of code that still
> shows the error and post it here, otherwise nobody will be able to help
> you.

You don't need a crystal ball; you just need to have been reading this
group/list for the last day or so --- the OP is trying to use Python
2.2 on some *.py that are obviously written for a later version,
refuses to contemplate upgrading, and starts a new thread every time
he gets a syntax error.



More information about the Python-list mailing list