wetdesert / rad2py

Automatically exported from code.google.com/p/rad2py
GNU General Public License v3.0
0 stars 0 forks source link

Add dummy unicode encoding when debugging #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open rad2py, load trazarenpre.py
2. Debug continue
3. Exception will raice on line 272

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/home/reingart/rad2py/ide2py/qdb.py", line 959, in main
    qdb._runscript(mainpyfile)
  File "/home/reingart/rad2py/ide2py/qdb.py", line 192, in _runscript
    self.run(statement)
  File "/home/reingart/rad2py/ide2py/qdb.py", line 158, in run
    return bdb.Bdb.run(self, code, *args, **kwargs)
  File "/usr/lib/python2.7/bdb.py", line 400, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "/home/reingart/pyafipws/trazarenpre.py", line 272, in <module>
    if sys.stdout.encoding is None:
AttributeError: Qdb instance has no attribute 'encoding'

Original issue reported on code.google.com by reingart@gmail.com on 30 Jun 2014 at 7:21