I want add brakpoint in my app. After that I click on breakpoins button I 
have error:
Error ticket for "admin"Ticket ID

127.0.0.1.2019-10-22.11-52-19.9c598e8d-223c-4134-a4a0-27852a9c40f8
<class 'UnicodeDecodeError'> 'charmap' codec can't decode byte 0x98 in 
position 6123: character maps to <undefined>Версия
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 3.7.3: C:\Python\python.exe (prefix: C:\Python)Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.

Traceback (most recent call last):
  File "C:\Users\kkomkov.TIMACAD\Desktop\web2py\gluon\restricted.py", line 219, 
in restricted
    exec(ccode, environment)
  File 
"C:\Users\kkomkov.TIMACAD\Desktop\web2py\applications\admin\views\debug/breakpoints.html",
 line 130, in <module>
    });
  File "C:\Python\lib\encodings\cp1251.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 6123: 
character maps to <undefined>

Error snapshot [image: help] 
<http://127.0.0.1:8000/admin/default/ticket/admin/127.0.0.1.2019-10-22.11-52-19.9c598e8d-223c-4134-a4a0-27852a9c40f8#>

UnicodeDecodeError('charmap' codec can't decode byte 0x98 in position 6123: 
character maps to <undefined>)

inspect attributes
Frames
   
   - 
   
   *File C:\Users\kkomkov.TIMACAD\Desktop\web2py\gluon\restricted.py in 
   restricted at line 219* код аргументы переменные
   - 
   
   *File 
   
C:\Users\kkomkov.TIMACAD\Desktop\web2py\applications\admin\views\debug\breakpoints.html
 
   in <module> at line 130* код аргументы переменные
   - 
   
   *File C:\Python\lib\encodings\cp1251.py in decode at line 23* код 
   аргументы переменные
   Function argument list
   
   (self=<encodings.cp1251.IncrementalDecoder object>, input=b'# -*- 
   coding: utf-8 -*-\r\n# -----------------...r\n return 
   response.download(request, db)\r\n', final=True)
   Code listing
   
   18.
   19.
   20.
   21.
   22.
   23.
   24.
   25.
   26.
   27.
   
       def encode(self, input, final=False):
           return codecs.charmap_encode(input,self.errors,encoding_table)[0]
   
   class IncrementalDecoder(codecs.IncrementalDecoder):
       def decode(self, input, final=False):
           return codecs.charmap_decode(input,self.errors,decoding_table)[0]
   
   class StreamWriter(Codec,codecs.StreamWriter):
       pass
   
   Variables
   global codecs <module 'codecs' from 'C:\\Python\\lib\\codecs.py'>
   codecs.charmap_decode <built-in function charmap_decode>
   input b'# -*- coding: utf-8 -*-\r\n# -----------------...r\n return 
   response.download(request, db)\r\n'
   self <encodings.cp1251.IncrementalDecoder object>
   self.errors 'strict'
   global decoding_table 
'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f
 
   !"#$%&\'()*+,-./...ПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя'
   

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/8fc6fabe-669e-428c-bdeb-c863ae85230d%40googlegroups.com.
  • [web2py] Debugger Константин Комков

Reply via email to