question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: unsupported operand type(s) for ^: 'str' and 'int >.<

See original GitHub issue

Hi,I meet a ploblem.

Traceback (most recent call last):
  File "/usr/local/bin/xortool", line 4, in <module>
    __import__('pkg_resources').run_script('xortool==0.99', 'xortool')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1469, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/xortool-0.99-py2.7.egg/EGG-INFO/scripts/xortool", line 401, in <module>
    
  File "/usr/local/lib/python2.7/dist-packages/xortool-0.99-py2.7.egg/EGG-INFO/scripts/xortool", line 101, in main
    
  File "/usr/local/lib/python2.7/dist-packages/xortool-0.99-py2.7.egg/EGG-INFO/scripts/xortool", line 277, in guess_probable_keys_for_chars
    
  File "/usr/local/lib/python2.7/dist-packages/xortool-0.99-py2.7.egg/EGG-INFO/scripts/xortool", line 299, in guess_keys
    
TypeError: unsupported operand type(s) for ^: 'str' and 'int'

how to deal this problem ? Please…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
safebirdcommented, May 25, 2020

I do not know for sure. It’s best trying to contact them for better support.

thanks for your advice. I will try to contact them for better sup.

1reaction
McSinyxcommented, May 25, 2020

Hi, looking at the traceback, I believe the problem is rather with xortool than setuptools.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: unsupported operand type(s) for -: 'str' and 'int'
The “TypeError: unsupported operand type(s) for -: 'str' and 'int'” error is raised when you try to subtract a string from an integer....
Read more >
TypeError: unsupported operand type(s) for +: int and str
The Python "TypeError: unsupported operand type(s) for +: 'int' and 'str'" occurs when we try to use the addition (+) operator with an...
Read more >
TypeError: unsupported operand type(s) for -: 'str' and 'int'
The reason this is failing is because (Python 3) input returns a string. To convert it to an integer, use int(some_string) . You...
Read more >
TypeError: unsupported operand type(s) for -: 'str' and 'int'
This error occurs when you attempt to perform subtraction with a string variable and a numeric variable. The following example shows how to ......
Read more >
TypeError: unsupported operand type(s) for +: 'int' and 'str'
The TypeError: unsupported operand type(s) for +: 'int' and 'str' error occurs when an integer value is added with a string that could...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found