Re: [web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread Massimiliano
Try print(guardado_id, ) What you see? Massimiliano Il giorno mar 29 ott 2024 alle 13:01 xgp.l...@gmail.com < xgp.lat...@gmail.com> ha scritto: > Hi Massimo, > > Downloaded 2.27.1 yesterday > Using python 3.9 and python 3.11 > > Adding elementos to dict: > > li

Re: [web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread Massimiliano
Remove the comma at the end of the lines Massimiliano Il giorno mar 29 ott 2024 alle 15:19 xgp.l...@gmail.com < xgp.lat...@gmail.com> ha scritto: > Hi Massimo, > > print(guardado_id, ) > 44 > print( item["referencia_id"] ) > 198 > > print( linea ) &

Re: [web2py] shell.py, unqualified exec is not allowed

2024-02-06 Thread Massimiliano
bscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/575fdca2-1b6d-4107-8b99-9c5e5a30n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/575fdca2-1b6d-4107-8b99-9c5e5a30n%40googlegroups.com?utm_medium=email

Re: [web2py] How to insert rows in a database from a html page in web2py?

2023-07-06 Thread Massimiliano
t.next_node 1,test1,test2 2,test1,test2 Il giorno gio 6 lug 2023 alle ore 16:07 Rick ha scritto: > That unfortunately gives a ticket with this information: > sqlite3.IntegrityError: FOREIGN KEY constraint failed > On Thursday, 6 July 2023 at 15:02:05 UTC+2 Massimiliano wrote: > >> try t

Re: [web2py] How to insert rows in a database from a html page in web2py?

2023-07-06 Thread Massimiliano
bscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/ac174d5a-8245-44e5-b708-08258a60f70fn%40googlegroups.com > <https://groups.google.com/

Re: [web2py] is it possible to do something like SELECT column1, column2 is null FROM table.. in DAL?

2023-06-21 Thread Massimiliano
oup and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/b5d1573f-a5dc-4aad-8394-c2de75640cffn%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/b5d1573f

Re: [web2py] Scheduler error on last stable web2py version 2.24.1

2023-06-21 Thread Massimiliano
m regards, > Lisandro > > -- > 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

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-30 Thread Massimiliano
ting the requests module. > A segunda-feira, 29 de maio de 2023 à(s) 16:57:46 UTC+1, > saifuddin...@gmail.com escreveu: > >> I had the same issue recently, but on windows. I did a workaround by >> importing requests before importing gluon in web2py.py. Looks like >&

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-29 Thread Massimiliano
78, in custom_importer result = sys.modules[modules_prefix] KeyError: 'applications.welcome.modules.requests' It seems that pipenv introduces some oddity that broke the custom_import in web2py. Il giorno lun 29 mag 2023 alle ore 15:29 Massimiliano ha scritto: > Tried right now.

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-29 Thread Massimiliano
o "..." > else > echo "File does not exist. Copying from welcome app..." > mkdir web2py/applications/init/private > cp web2py/applications/welcome/private/appconfig.ini > web2py/applications/init/private > sleep 2 > fi > if [ -f "$CONFIGFILE" ];

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-28 Thread Massimiliano
Sorry it's not clear that only the apt stuffs are done as root. Installing pyenv curl https://pyenv.run | bash and from: pyenv install 3.7.16 is all done as normal user. Il giorno dom 28 mag 2023 alle ore 09:55 Massimiliano ha scritto: > What I can say i that with pyenv and vi

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-28 Thread Massimiliano
e/popos/.pyenv/versions/3.7.12/lib/python37.zip', > '/home/popos/.pyenv/versions/3.7.12/lib/python3.7', > '/home/popos/.pyenv/versions/3.7.12/lib/python3.7/lib-dynload', > '/home/popos/.local/share/virtualenvs/t2d-ueLDNtkj/lib/python3.7/site-packages'] >

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-27 Thread Massimiliano
? > > Regards, > Tom. > > > > On Saturday, May 27, 2023 at 2:38:28 PM UTC+2 Massimiliano wrote: > >> I'm also using pyenv and having the same paths order, ma importing >> requests is working with no problem, on macos and on linux. >> >> Have yo

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-27 Thread Massimiliano
web2py/site-packages', > '/home/tclerckx/temp/test/web2py', > '/home/tclerckx/temp/test/web2py/gluon/packages/yatl', > '/home/tclerckx/temp/test/web2py/gluon/packages/dal', > '/home/tclerckx/.pyenv/versions/3.10.6/lib/python310.zip', >

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-27 Thread Massimiliano
eb visit > https://groups.google.com/d/msgid/web2py/83b8a4ab-120a-4106-83f2-d37652c23093n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/83b8a4ab-120a-4106-83f2-d37652c23093n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- Resources

Re: [web2py] Forbid uploaded image file names that have spaces in them

2023-02-26 Thread Massimiliano
d/msgid/web2py/c4419907-4957-4326-9323-6772284266aen%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issue

Re: [web2py] Re: Help on macos

2022-12-23 Thread Massimiliano
Sorry I didn't notice that you use apache. Can I ask you why? In my dev machine I use the web2py internal server for simplicity. Anyway have you setup uwsgi to use the right python? Il giorno ven 23 dic 2022 alle ore 09:22 Massimiliano ha scritto: > How do you start web2py? > >

Re: [web2py] Re: Help on macos

2022-12-23 Thread Massimiliano
) > --- > 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 on the we

Re: [web2py] Re: how to point web2py to python3.9 not python3.8?

2022-11-30 Thread Massimiliano
com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/9fd566c0-93e5-4715-baae-772d41e44aa6n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/9fd566c0-93e5-4715-baae-772d41e44aa6n%40googlegroups.com?utm_medium=email&utm_

Re: [web2py] Re: Issue with admin acess web2py after deploying on a live server

2022-11-07 Thread Massimiliano
py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/5ee891d2-e9f1-465c-88bb-c3a939817374n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/5ee891d2-e9f1-465c-88bb-c3a939817374n%40googlegroups.com?utm_medium=email

Re: [web2py] DAL join field access

2022-09-10 Thread Massimiliano
/groups.google.com/d/msgid/web2py/cfb499ac-7e22-4bfa-b702-99ac5d8924d5n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/cfb499ac-7e22-4bfa-b702-99ac5d8924d5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- Resources: - http://web2py

Re: [web2py] RuntimeError: No driver of supported ones ('psycopg2',) is available

2022-08-01 Thread Massimiliano
ge 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 on the web visit > https://groups.google.com/d/m

Re: [web2py] having to use migrate=false after migrating the database

2022-07-18 Thread Massimiliano
oblems start: migrate=True > attempts to recreate the existing tables; migrate=False works perfectly > fine (and fake_migrate worked by itself, but didn't help to fix the > issue...) > > > > On Sun, Jul 17, 2022 at 11:31 AM Massimiliano wrote: > >> Should be >

Re: [web2py] having to use migrate=false after migrating the database

2022-07-17 Thread Massimiliano
check your databases folder permissions. Web2py needs to be able to write into. Il giorno dom 17 lug 2022 alle ore 17:17 Vlad ha scritto: > Massimiliano, thank you for the suggestion. > > I tried fake_migrate=True - it works fine, but then I switched it back to > migrate=True , and it c

Re: [web2py] having to use migrate=false after migrating the database

2022-07-17 Thread Massimiliano
<https://groups.google.com/d/msgid/web2py/abcae64b-e9b3-4d30-9ae7-98ff01cb51ban%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - h

Re: [web2py] Web2Py reset_password 303

2022-06-03 Thread Massimiliano
ng emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/a4463a7a-8d1e-4894-ab68-3ba2c6a03121n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/a4463a7a-8d1e-4894-ab68-3ba2c6a03121n%

Re: [web2py] Scheduler stopping for some reason

2022-04-29 Thread Massimiliano
oups.google.com/d/msgid/web2py/CAEM0BxNdqVXFy1v86qZrntNd3r92ofgYHbzyB4we578sBPJ0Fw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.g

Re: [web2py] Re: Do we have Plugin solid form upgraded code for python 3 ?

2022-03-24 Thread Massimiliano
table_name = attributes.get('table_name', 'no_table') >> if 'table_name' in attributes: >> del attributes['table_name'] >> >> flat_fields = [] >> structured_fields = [] >> for

Re: [web2py] Re: Displaying database information without repeating details

2021-10-28 Thread Massimiliano
You need to create an alias for your field. Look here: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=count%28%29#sum-avg-min-max-and-len Massimiliano Il 28 ott 2021, 11:15:48, mostwanted ha scritto: > I am able to group them up using *(groupby) *

Re: [web2py] date and datetime form field SQLFORM() and SQLFORM.grid() format

2021-09-29 Thread Massimiliano
To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/18b4ebe6-5a23-4302-af43-355fe56caf65n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/18b4ebe6-5a23-4302-af43-355fe56caf65n%40googlegroups.com?utm_medium=email&utm_source=footer> > . >

Re: [web2py] Web2py and database integration

2021-05-17 Thread Massimiliano
wrong. >>> >>> What is the best way to debug this issue? >>> >>> >>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >

Re: [web2py] Timeout for data entry screens: Help!

2021-01-29 Thread Massimiliano
Reading better you message, I'm not sure that auth.settings.expiration is what you need. Sorry Il giorno ven 29 gen 2021 alle ore 16:10 Massimiliano ha scritto: > You can set: > > auth.settings.expiration > > Value are in seconds. So 86400 is one day, > > > > Il

Re: [web2py] Timeout for data entry screens: Help!

2021-01-29 Thread Massimiliano
this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/c389ecc4-0693-438d-ae89-ef01660dfb34n%40googlegroups.com > <https://groups.google.com/d/msgid/web

Re: [web2py] Title or capitalize names

2021-01-28 Thread Massimiliano
scussion on the web visit > https://groups.google.com/d/msgid/web2py/2d456e41-65b8-46d2-bcba-29f72be606aan%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/2d456e41-65b8-46d2-bcba-29f72be606aan%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimili

Re: [web2py] Off topic : new js alternative to vue and react

2020-05-11 Thread Massimiliano
"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 on the web visit > https://groups.google.com/d/msgid/web2py/31a7af75-9c64-4fd4-9ed9-870e27291e85%40goo

Re: [web2py] Off topic : new js alternative to vue and react

2020-05-09 Thread Massimiliano
kAfUnW1qfSf60ZdDfoBg53g%40mail.gmail.com > <https://groups.google.com/d/msgid/web2py/CAEM0BxNsahJy0OpiZro6GN3aM8BkAfUnW1qfSf60ZdDfoBg53g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] Re: Virtual Fields using PyDAL outside of web2py

2020-04-23 Thread Massimiliano
Maybe you miss fieldname: db.workorder.children = Field.Virtual(*fieldname*, lambda row: db(db. workorder.parent_workorder == row.id).select()) On Thursday, April 23, 2020 at 4:41:23 PM UTC+2, Jim S wrote: > > Given the following: > > from pydal import DAL > from pydal.objects import Field, Fie

Re: [web2py] Re: New-py4web-group

2020-03-28 Thread Massimiliano
-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 on the web visit > https://groups.google.com/d/msgid/web2py/31f0434b-a4a7-4828-84c8-a81f8b249e1a%40googlegroups.com >

Re: [web2py] Migration from sqlite to mysql - different field-order

2020-03-04 Thread Massimiliano
eated_on >13. created_by >14. modified_on >15. modified_by > > -- > 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 Is

Re: [web2py] Web2py sessions in scheduler

2020-02-17 Thread Massimiliano
he web visit > https://groups.google.com/d/msgid/web2py/55773be3-9155-465d-a90a-70eb25df520c%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/55773be3-9155-465d-a90a-70eb25df520c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- R

Re: [web2py] How i remove the export label in the SQLFORM.grid after removing the exportclasses?

2020-02-17 Thread Massimiliano
80304b1e-1109-4f4b-8ed0-258f1099521c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Massimiliano -- 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) -

Re: [web2py] Raspberry pi cannot connect to postgreSQL

2020-02-06 Thread Massimiliano
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 discuss

Re: [web2py] confirm on form submit

2019-12-03 Thread Massimiliano
t; "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 on the web visit > https://groups.google.com/d/msgid/web2py/6895f84c-43ca-4452-9a79-faa3c17f2837%40googlegro

Re: [web2py] How to filter a referenced field in a for

2019-11-06 Thread Massimiliano
ues/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 vie

Re: [web2py] multi tables count

2019-10-15 Thread Massimiliano
s.COD_REFE, but im > unable to count by itemspedidos.COD_REFE per month and per unique > itemspedidos.COD_REFE. > > Some advice would be nice, > > > Thanks in advance > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) >

Re: [web2py] Create name for additional column in query

2019-10-15 Thread Massimiliano
IR.with_alias('chair'), sumAuditorHours.with_alias('auditor_hours'), ] subjects = db((db.a_groups.id == group) & (db.a_wlp2_distrib.MODULE == module) & (db.a_wlp2.PARENT_ITEM != None)).select(*fields, ... On Tue, Oct 15, 2019 at 3:00 PM Massimiliano wrote

Re: [web2py] Create name for additional column in query

2019-10-15 Thread Massimiliano
.@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/871e5991-8ddb-4c85-a1a9-72accc1c5aba%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/871e5991-8ddb-4c85-a1a9-72accc1c5aba%40googlegroups.com?utm_medium=

Re: [web2py] When the user gets a ticket error how to trigger some function ?

2019-10-09 Thread Massimiliano
cussion on the web visit > https://groups.google.com/d/msgid/web2py/CAEM0BxNxNRTqgWH3_669xRJwP_FDeJnR8Z5_WrrqTsYyC3giUA%40mail.gmail.com > <https://groups.google.com/d/msgid/web2py/CAEM0BxNxNRTqgWH3_669xRJwP_FDeJnR8Z5_WrrqTsYyC3giUA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > --

Re: [web2py] specifying an id of an ajax component (LOAD)

2019-07-01 Thread Massimiliano
4-b760-2643d44b13c2%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/4a07a293-6296-4aa4-b760-2643d44b13c2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - h

Re: [web2py] Re: I broke something

2019-06-18 Thread Massimiliano
> --- > 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 on the web visit > http

Re: [web2py] A none responsive If statement in the view

2019-06-11 Thread Massimiliano
gt; email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/34db1df5-9f8d-4413-a10d-52c4958f410c%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/34db1df5-9f8d-4413-a10d-52c4958f410c%40googlegroups

Re: [web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-18 Thread Massimiliano
y 2019 10:02:24 UTC-7, John Bannister wrote: >> >> As you are da man I would suggest DaQL .. DALQL is a bit of a mouth full >> J >> >> >> >> *From:* web...@googlegroups.com [mailto: >> web...@googlegroups.com ] *On Behalf Of *Massimiliano >> *

Re: [web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-17 Thread Massimiliano
eb visit > https://groups.google.com/d/msgid/web2py/059b32ee-e5f0-45d4-800f-cfee8d353202%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/059b32ee-e5f0-45d4-800f-cfee8d353202%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit htt

Re: [web2py] Re: custom search

2019-04-26 Thread Massimiliano
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. > For more opt

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
L > without problems. Would this mean it is using the pg8000 driver? Would > psycopg2 be available to web2py once I reinstall it (restarting uwsgi)? > > > > El miércoles, 23 de enero de 2019, 7:54:37 (UTC-3), Massimiliano escribió: >> >> Try to uninstall psycopg2-* and r

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
Try to uninstall psycopg2-* and reinstall only psycopg2-binary On Wed, Jan 23, 2019 at 11:52 AM Massimiliano wrote: > Could be. > > When you strart web2py it show database driver available: > Mine: > Database drivers available: psycopg2, pymysql, imaplib, sqlite3, pg8000, &g

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
Could be. When you strart web2py it show database driver available: Mine: Database drivers available: psycopg2, pymysql, imaplib, sqlite3, pg8000, pyodbc, pymongo On Wed, Jan 23, 2019 at 10:59 AM Lisandro wrote: > Thanks Massimiliano. > > Apparently psycopg2 is already installed (

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread Massimiliano
bscribed 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/d/optout. > -- Massimiliano -- Resources: -

Re: [web2py] Re: How to serve same view for multiple urls

2018-03-15 Thread Massimiliano
l to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (

Re: [web2py] .represent

2018-01-26 Thread Massimiliano
urce 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 > e

Re: [web2py] Fetch data from database

2018-01-03 Thread Massimiliano
ed 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/d/optout. > -- Massimiliano -- Res

Re: [web2py] request.args(0) vs request.args[0]

2017-11-29 Thread Massimiliano
> 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/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Docume

Re: [web2py] How long can an id field go ?

2017-06-16 Thread Massimiliano
om/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. > Fo

Re: [web2py] Re: In SQLFORM.grid, setting a session var when the user click on search or reset

2017-05-04 Thread Massimiliano
ot;? >>>> >>>> Someone knows where they are? >>>> >>>> Thanks. >>>> >>> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://c

Re: [web2py] btw: great job

2017-04-26 Thread Massimiliano
to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- 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 I

Re: [web2py] Custom filename export from sqlform.grid

2017-03-16 Thread Massimiliano
sues/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. > For more

Re: [web2py] change the default applicaton of web2py

2016-09-12 Thread Massimiliano
it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com

Re: [web2py] need code to update db from view to controller.

2016-08-11 Thread Massimiliano
@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list

Re: [web2py] Hide flash message after some elapsed time instead of on click

2016-07-11 Thread Massimiliano
ource 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 web2

Re: [web2py] fieldname variable in DAL expression

2016-06-22 Thread Massimiliano
an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] custom postgres adapter

2016-06-22 Thread Massimiliano
Hi, I'm working on legacy databases where boolean are defined as smallint. The following adapter doesn't work anymore. Could you give me some hint on how can I write a new one for the "new" pydal. Thank you The adapter that was working till now: # -*- coding: utf-8 -*- from pydal.adapters im

Re: [web2py] Why is this simple join not rendering?

2016-06-17 Thread Massimiliano
n > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

Re: [web2py] I am trying to change the background image every 5 seconds like this but this doesn't seem to work?

2016-06-13 Thread Massimiliano
quot;{{=getimage}}"); > }, 500); > > > > > Still doesn't work! > > On Monday, June 13, 2016 at 3:17:15 PM UTC+5:30, Massimiliano wrote: >> >> In *k* you have strings like “URL(‘static’,’images/1.jpg’)” not the URL >> func result. >> >>

Re: [web2py] I am trying to change the background image every 5 seconds like this but this doesn't seem to work?

2016-06-13 Thread Massimiliano
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/d/optout. > -- Massimiliano --

Re: [web2py] SQL query to web2py code

2016-06-09 Thread Massimiliano
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/d/optout. > -- Massimil

Re: [web2py] auth on cas and consume data from some apps

2016-05-17 Thread Massimiliano
Another timeline that clarify the situation. with @auth.requires_login() 1. User login on app A 2. User follow the link on app B/function_decorated 3. App A try to get data from app B all is working well Thank you On Tue, May 17, 2016 at 11:34 AM, Massimiliano wrote: > Hello, > &g

[web2py] auth on cas and consume data from some apps

2016-05-17 Thread Massimiliano
Hello, I've a system composed of some apps sharing auth on *cas*. I would like that app A could get json data from app B but it seems not possibile if the user doesn't login in each app before. Jus to to clarify. Timeline. 1. User login on app A 2. App A try to get data from app B but He got

Re: [web2py] Re: cas broken in 2.14.3?

2016-04-07 Thread Massimiliano
is url gives "not authorized". >>> >>> Kind regards, Martin >>> >>> >>> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/

Re: [web2py] Create links in smartgrid for the child

2016-03-31 Thread Massimiliano
There is a simple way :-) from the code: https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2914 links(dict): like `{'tablename':[lambda row: A(), ...]}` that will add buttons when table tablename is displayed On Thu, Mar 31, 2016 at 12:18 PM, Massimiliano wrote:

Re: [web2py] Create links in smartgrid for the child

2016-03-31 Thread Massimiliano
Sorry is a little more complex to get the table name involved. It should be in request.args(1) table = request.args(1).rpartition('.')[0] On Thu, Mar 31, 2016 at 12:10 PM, Massimiliano wrote: > Maybe you can check the table involved and set links option accordingly. >

Re: [web2py] Create links in smartgrid for the child

2016-03-31 Thread Massimiliano
ge 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/d/optout. > -- Massimiliano

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread Massimiliano
Just copy appconfic.ini from welcome/private to starter/private On Wednesday, March 23, 2016 at 11:19:23 AM UTC+1, Ramos wrote: > > Nice but i get an error installing it as "starter" application > any help ? > > [image: Imagem inline 1] > > 2016-03-23 9:40 GMT+

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread Massimiliano
u 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/d/opto

Re: [web2py] Re: How to insert different grid elements in tab panels?

2016-03-18 Thread Massimiliano
;>> >>>>> My Projects >>>>> My Payments >>>>> My Contacts >>>>> >>>>> >>>>> >>>>> {{=grid1}} >>>>> >>>>> >>>>

Re: [web2py] Re: Spreadsheet.py documentation and status

2016-02-09 Thread Massimiliano
d an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/

Re: [web2py] Re: Support for BIT(1) as boolean?

2016-01-11 Thread Massimiliano
s" 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/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Docu

Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Massimiliano
, Massimiliano wrote: > pip search inno > > return a couple of suitable entries > > On Fri, Dec 11, 2015 at 2:08 PM, Jitun John wrote: > >> Hi, >> >> I am using Web2pyPackagingApp to build a binary distribution of the app. >> I have searched for the"i

Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Massimiliano
ecause 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/d/optout. > -- Massimil

Re: [web2py] db.define_table Advanced Field

2015-12-10 Thread Massimiliano
; - 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. &g

Re: [web2py] web2py.com seams down

2015-12-09 Thread Massimiliano
ving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

Re: [web2py] Impostare un gruppo d'appartenenza di DEFAULT per la registrazione

2015-12-04 Thread Massimiliano
s" 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/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - ht

Re: [web2py] String to query

2015-11-20 Thread Massimiliano
… but if you really want to use a string you can do: query = eval(“db.memos.construction_site == 1") On Fri, Nov 20, 2015 at 11:53 AM, Massimiliano wrote: > If I’m not missing something you can you do: > > table = ‘memos’ > field = ‘construction_site’ > param1 = 1 > par

Re: [web2py] String to query

2015-11-20 Thread Massimiliano
) > --- > 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

Re: [web2py] Way to query from a select object

2015-11-03 Thread Massimiliano
ion-layer?search=virtual+fields#Query--Set--Rows> On Tue, Nov 3, 2015 at 3:14 PM, Massimiliano wrote: > What about? > > foo = db((db.xxx.id==x.id) & (db.xxx.primary_residence == True)).select() > > On Tue, Nov 3, 2015 at 2:53 PM, Mark Billion > wrote: > >> T

Re: [web2py] Way to query from a select object

2015-11-03 Thread Massimiliano
roup and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (S

Re: [web2py] How to get my pdf-file to display from webserver

2015-11-03 Thread Massimiliano
I think web2py is a cool product. > Hope someone can help. > > -- > 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) > --- >

Re: [web2py] format double data type

2015-10-28 Thread Massimiliano
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/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

Re: [web2py] Re: Replace 'Log in' text in auth.navbar by 'User'

2015-10-20 Thread Massimiliano
tp://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 f

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-13 Thread Massimiliano
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/d/

Re: [web2py] Dynamic Query SQLFOR.GRID

2015-09-29 Thread Massimiliano
b2py-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/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book

  1   2   3   >