Commit graph

14 commits

Author SHA1 Message Date
Achilles Rasquinha
eef3491677 fix json loading str to bytes 2018-03-29 10:47:21 +05:30
Achilles Rasquinha
faf9f6c233 fix classType 2018-03-25 23:11:23 +05:30
Aditya Hase
4b163431c0 Use repr() instead of backticks 2017-08-11 17:18:25 +05:30
tundebabzy
6fbe20caaa Except and raise statement python 3 compatible style (#3216)
* changes exception and raise statements to python 3 style

* changes except statement to python 3 style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* adds six.reraise to fix python 3 style raise statements with traceback

* fixes indentation
2017-05-11 10:51:59 +05:30
Rushabh Mehta
ff003da663 [fix] bulk email indexing 2016-05-25 10:35:49 +05:30
Anand Doshi
9800ac2d0a [cleanup] simpler logging system that does not affect other loggers 2016-05-06 20:28:10 +05:30
Anand Doshi
a9a90893ac [fix] doctype name validation and test case 2016-02-19 11:47:03 +05:30
Anand Doshi
026d89aa99 [fix] don't use delete_doc to delete Error Snapshot 2016-02-19 11:24:06 +05:30
Maxwell
3930e543c0 Fix UnicodeDecodeError
```
19:38:09 web.1                | Traceback (innermost last):
19:38:09 web.1                |   File "/vagrant/frappe-bench/apps/frappe/frappe/utils/error.py", line 36, in make_error_snapshot
19:38:09 web.1                |     snapshot = get_snapshot(exception)
19:38:09 web.1                |   File "/vagrant/frappe-bench/apps/frappe/frappe/utils/error.py", line 67, in get_snapshot
19:38:09 web.1                |     'evalue': cstr(evalue),
19:38:09 web.1                |   File "/vagrant/frappe-bench/apps/frappe/frappe/utils/data.py", line 256, in cstr
19:38:09 web.1                |     return unicode(s)
19:38:09 web.1                |  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
```

Dont ask me why this silly change works, but it works!
2015-12-29 12:16:50 -02:00
Anand Doshi
5572f24c5d [fix] A percentage in file name caused 404 error in case of private file while checking permissions 2015-12-21 15:44:50 +05:30
Anand Doshi
d8f24822a9 [fix] cleanup, re-org and fixes to error snapshot 2015-12-16 19:39:56 +05:30
Maxwell Morais
a3aa7552a1 Hot fix for undefined context 2015-12-16 19:39:55 +05:30
Maxwell Morais
a191f92f7f Variable rename 2015-12-16 19:39:55 +05:30
Maxwell Morais
26278cae85 Error Snapshot Feature 2015-12-16 19:39:55 +05:30