karthikbalaguru wrote:
I am new to python . I am face few problems related with python and iam trying to resolve it.The below is the error that i get when i invoke my application by giving the necessary input file. [EMAIL PROTECTED] hello]# Analyzer hello_input 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 ? Should i need to configure any environment variables or change some source code.
You should run the code on a Python version that supports the features your code is using. Support for arbitrary strings on the left side of the "in" operator was added in Python 2.3, which was released in 2003.
What software is this? If you've written it yourself, make sure to use only features supported by the Python version you're actually using. If it's written by someone else, please read the requirements section for the software you're using, and follow the instructions in there.
(hasn't people been telling you this about a hundred times before in this forum? or was that some other guy who also kept insisting on running some program on a python version it didn't support?)
</F> -- http://mail.python.org/mailman/listinfo/python-list
