Did I find the right examples for you? yes no

All Samples(415)  |  Call(255)  |  Derive(160)  |  Import(0)
Unicode decoding error.

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfgen/textobject.py   django-admin-report(Download)
                except UnicodeDecodeError,e:
                    i,j = e.args[2:4]
                    raise UnicodeDecodeError(*(e.args[:4]+('%s\n%s-->%s<--%s' % (e.args[4],text[max(i-10,0):i],text[i:j],text[j:j+10]),)))
 
            for f, t in pdfmetrics.unicode2T1(text,[font]+font.substitutionFonts):

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/renderPS.py   django-admin-report(Download)
            except UnicodeDecodeError,e:
                i,j = e.args[2:4]
                raise UnicodeDecodeError(*(e.args[:4]+('%s\n%s-->%s<--%s' % (e.args[4],s[i-10:i],s[i:j],s[j:j+10]),)))
 
        for f, t in unicode2T1(s,[fontObj]+fontObj.substitutionFonts):

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/renderPM.py   django-admin-report(Download)
                except UnicodeDecodeError,e:
                    i,j = e.args[2:4]
                    raise UnicodeDecodeError(*(e.args[:4]+('%s\n%s-->%s<--%s' % (e.args[4],text[i-10:i],text[i:j],text[j:j+10]),)))
 
            FT = unicode2T1(text,[font]+font.substitutionFonts)

src/h/u/hunch-sample-app-HEAD/django/utils/encoding.py   hunch-sample-app(Download)
class DjangoUnicodeDecodeError(UnicodeDecodeError):
    def __init__(self, obj, *args):
        self.obj = obj
        UnicodeDecodeError.__init__(self, *args)
 

src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/tempita/__init__.py   microblog(Download)
                if not self.default_encoding:
                    raise UnicodeDecodeError(
                        'Cannot decode bytes value %r into unicode '
                        '(no default_encoding provided)' % value)
                try:
                    value = value.decode(self.default_encoding)
                except UnicodeDecodeError, e:
                    raise UnicodeDecodeError(
                        e.encoding,

src/m/a/MapProxy-1.6.0/mapproxy/util/ext/tempita/__init__.py   MapProxy(Download)
                if not self.default_encoding:
                    raise UnicodeDecodeError(
                        'Cannot decode bytes value %r into unicode '
                        '(no default_encoding provided)' % value)
                try:
                    value = value.decode(self.default_encoding)
                except UnicodeDecodeError, e:
                    raise UnicodeDecodeError(
                        e.encoding,

src/b/a/balrog-HEAD/vendor/lib/python/tempita/__init__.py   balrog(Download)
                if not self.default_encoding:
                    raise UnicodeDecodeError(
                        'Cannot decode bytes value %r into unicode '
                        '(no default_encoding provided)' % value)
                try:
                    value = value.decode(self.default_encoding)
                except UnicodeDecodeError, e:
                    raise UnicodeDecodeError(
                        e.encoding,

src/b/i/biosqlweb-HEAD/app/lib/python/tempita/__init__.py   biosqlweb(Download)
                if not self.default_encoding:
                    raise UnicodeDecodeError(
                        'Cannot decode str value %r into unicode '
                        '(no default_encoding provided)' % value)
                try:
                    value = value.decode(self.default_encoding)
                except UnicodeDecodeError, e:
                    raise UnicodeDecodeError(
                        e.encoding,

src/m/a/mapproxy-HEAD/mapproxy/util/ext/tempita/__init__.py   mapproxy(Download)
                if not self.default_encoding:
                    raise UnicodeDecodeError(
                        'Cannot decode bytes value %r into unicode '
                        '(no default_encoding provided)' % value)
                try:
                    value = value.decode(self.default_encoding)
                except UnicodeDecodeError, e:
                    raise UnicodeDecodeError(
                        e.encoding,

src/v/i/virtstrap-HEAD/virtstrap-core/virtstrap/packages/tempita/__init__.py   virtstrap(Download)
                if not self.default_encoding:
                    raise UnicodeDecodeError(
                        'Cannot decode bytes value %r into unicode '
                        '(no default_encoding provided)' % value)
                try:
                    value = value.decode(self.default_encoding)
                except UnicodeDecodeError, e:
                    raise UnicodeDecodeError(
                        e.encoding,

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next