Does anyone here know what this error means?

Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.

Traceback (most recent call last):
  File "/home/www-data/web2py/gluon/restricted.py", line 212, in restricted
    exec ccode in environment
  File "/home/www-data/web2py/applications/omniavx/controllers/public.py" 
<https://omniavx.com/admin/edit/omniavx/controllers/public.py>, line 849, in 
<module>
  File "/home/www-data/web2py/gluon/globals.py", line 194, in <lambda>
    self._caller = lambda f: f()
  File "/home/www-data/web2py/applications/omniavx/controllers/public.py" 
<https://omniavx.com/admin/edit/omniavx/controllers/public.py>, line 611, in 
signup002
    op_rec = db(db.imdb_100.id > 0).select()
  File "/home/www-data/web2py/gluon/dal.py", line 9958, in select
    return adapter.select(self.query,fields,attributes)
  File "/home/www-data/web2py/gluon/dal.py", line 1704, in select
    return self._select_aux(sql,fields,attributes)
  File "/home/www-data/web2py/gluon/dal.py", line 1685, in _select_aux
    return processor(rows,fields,self._colnames,cacheable=cacheable)
  File "/home/www-data/web2py/gluon/dal.py", line 2055, in parse
    value = self.parse_value(value,ft,blob_decode)
  File "/home/www-data/web2py/gluon/dal.py", line 1903, in parse_value
    return self.parsemap[key](value,field_type)
  File "/home/www-data/web2py/gluon/dal.py", line 1958, in parse_blob
    return base64.b64decode(str(value))
  File "/usr/lib/python2.5/base64.py", line 76, in b64decode
    raise TypeError(msg)
TypeError: Incorrect padding



I am using PostgreSQL


Here is the model:


db.define_table("imdb_100",
    Field("color_image","upload",uploadfield="color_image_file"),
    Field("color_image_file","blob"),
    Field("option_01"),
    Field("option_02"),
    Field("option_03"),
    Field("option_04"),
    Field("rec_key"),
    )

Thanks!

-- 

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to