> ----- Oryginalna wiadomość -----
>> Od: "Roberto De Ioris" <[email protected]>
>> Do: "uWSGI developers and users list" <[email protected]>
>> Wysłane: środa, 6 lipiec 2011 18:18:55
>> Temat: Re: [uWSGI] spooler
>>
>> Should be fixed in latest tip.
>>
>
> nothing change.
>
> except:
> with:
> uwsgi.send_to_spooler({b'action':action.encode()}, priority=priority,
> body=body)
>
> 2011-06-07 19:19:21 - ob_type bytes bytes
> 2011-06-07 19:19:21 - written 22 bytes to spool file
> /home/ddarko/projects/fl/testy-na-aplikacje-pl/data/spooler/uwsgi_spoolfile_on_ddlap_1480_1_0_1309972761_680804
>
> with:
> uwsgi.send_to_spooler(action=action.encode(), priority=priority,
> body=body)
> 2011-06-07 19:20:19 - ob_type str bytes
> ValueError: spooler callable dictionary must contains only strings
>
>
> But most importantly, I still do not see Body.
> As if it was not saved.


uwsgi.send_to_spooler({b'action':action.encode(), priority=priority,
 body=body})

and not

uwsgi.send_to_spooler({b'action':action.encode()}, priority=priority,
 body=body)



-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to