On 7 November 2012 12:16, Johann Spies <[email protected]> wrote:

> The result:
>
> {'ui': '0002851186', 'py': '2010', 'vl': '24', 'ris': '4', 'pd': 'NOV'}
> Traceback (most recent call last):
>   File "/home/js/web2py/gluon/shell.py", line 223, in run
>     execfile(startfile, _env)
>   File "/home/js/dokumente/werk/senwet/isi-data/data/lees_isi.py", line
> 412, in <module>
>     hanteer_data(data)
>   File "/home/js/dokumente/werk/senwet/isi-data/data/lees_isi.py", line
> 368, in hanteer_data
>     hanteer_joernaal(data)
>   File "/home/js/dokumente/werk/senwet/isi-data/data/lees_isi.py", line
> 361, in hanteer_joernaal
>     skryf_joernaaldata(joernaal, publisher, uitgawe)
>   File "/home/js/dokumente/werk/senwet/isi-data/data/lees_isi.py", line
> 322, in skryf_joernaaldata
>     rpub_id = db.rjoern_uitgawe.insert(**uitg)
>   File "/home/js/web2py/gluon/dal.py", line 7867, in insert
>     self._attempt_upload(fields)
>   File "/home/js/web2py/gluon/dal.py", line 7852, in _attempt_upload
>     if field.type=='upload' and field.name in fields:
> AttributeError: 'str' object has no attribute 'type'
>
>
>
> What is going on here?
>
>
I found the problem:  'rj_id' was  missing from the dict.  How does the
error message relate to that?

Regards

Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 



Reply via email to