Hi Massimo,

Silly mistake. 


Thanks for your help,

El martes, 29 de octubre de 2024 a las 9:22:24 UTC-5, Massimiliano escribió:

> Remove the comma at the end of the lines 
>
> Massimiliano
>
>
> Il giorno mar 29 ott 2024 alle 15:19 xgp.l...@gmail.com <
> xgp.l...@gmail.com> ha scritto:
>
>> Hi Massimo,
>>
>> print(guardado_id, ) 
>> 44
>> print( item["referencia_id"] )
>> 198
>>
>> print( linea )
>> {'pqrs_id': (44,), 'referencia_id': ('1',), 'talla': ('198',), 
>> 'color_id': ('AGG',), 'cantidad': ('1',), 'criterio_id': ('6',), 
>> 'estado_id': (1,)}
>>
>>
>> Regards,
>>
>> El martes, 29 de octubre de 2024 a las 9:01:46 UTC-5, Massimiliano 
>> escribió:
>>
>>> Try 
>>>
>>> print(guardado_id, )
>>>
>>> What you see? 
>>>
>>> Massimiliano
>>>
>>>
>>> Il giorno mar 29 ott 2024 alle 13:01 xgp.l...@gmail.com <
>>> xgp.l...@gmail.com> ha scritto:
>>>
>>>> Hi Massimo,
>>>>
>>>> Downloaded 2.27.1 yesterday 
>>>> Using python 3.9 and python 3.11
>>>>
>>>> Adding elementos to dict:
>>>>
>>>> linea[ "pqrs_id" ] = guardado_id,
>>>> linea[ "referencia_id" ] = item["referencia_id"],
>>>> linea[ "talla" ] = item["referencia_id"],
>>>> linea[ "color_id" ] = item["color_id"],
>>>> linea[ "cantidad" ] = item["cantidad"],
>>>> linea[ "criterio_id" ] = item["criterio_id"],
>>>> linea[ "estado_id" ] = 1,
>>>>
>>>> How the line is created:
>>>> print( linea )
>>>> {'pqrs_id': (43,), 'referencia_id': ('1',), 'talla': ('198',), 
>>>> 'color_id': ('AGG',), 'cantidad': ('1',), 'criterio_id': ('6',), 
>>>> 'estado_id': (1,)}
>>>>
>>>>
>>>> Seems like adding a list to each of the fields. 
>>>>
>>>>
>>>> Regards,
>>>> El viernes, 18 de octubre de 2024 a las 1:52:04 UTC-5, Massimo Di 
>>>> Pierro escribió:
>>>>
>>>>> Hello everybody.
>>>>>
>>>>> As announced some time ago web2py for python 2 will be frozen to 
>>>>> version 2.27.1.
>>>>>
>>>>> The latest master has been 100% ported to python3.11 and there is no 
>>>>> more python2 code. It uses the latest yatl, latest pydal, latest pymysql.
>>>>>
>>>>> Many bugs have been fixed in the process and some have been added. 
>>>>> soap is broken and scheduler is broken.
>>>>>
>>>>> My plan for the next few days:
>>>>> - fix scheduler
>>>>> - fix soap
>>>>> - port to latest rocket3
>>>>> - make pydal work on latest GAE
>>>>>
>>>>> When these issues are addressed a web2py 3.0 will be published. very 
>>>>> soon.
>>>>>
>>>>> I could very much use your help in testing that the latest master 
>>>>> works with your existing applications.
>>>>>
>>>>> I remain of the opinion that you are all better off moving from web2py 
>>>>> to py4web which is 10x faster, simpler, more stable, and uses same pydal 
>>>>> and templates. In any case the intention is to provide a way to continue 
>>>>> run legacy apps but moving on to Python 3.11.
>>>>>
>>>>>
>>>>> Massimo
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> --- 
>>>> 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+un...@googlegroups.com.
>>>> To view this discussion visit 
>>>> https://groups.google.com/d/msgid/web2py/6a6c873c-a2b3-499c-90ff-87355bdbbe31n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/web2py/6a6c873c-a2b3-499c-90ff-87355bdbbe31n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> 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+un...@googlegroups.com.
>>
> To view this discussion visit 
>> https://groups.google.com/d/msgid/web2py/6e8912ed-50f7-4bb4-80e7-6c1632d4a0c3n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/6e8912ed-50f7-4bb4-80e7-6c1632d4a0c3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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.
To view this discussion visit 
https://groups.google.com/d/msgid/web2py/188a53a3-6976-4bdc-afb8-0e2c037e6b13n%40googlegroups.com.

Reply via email to