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

2022-03-25 Thread Rahul
yes I used some things like *trunc *or *ceil *to fix it however the error 
persists on the same line. Pretty weird. Also used what was suggested like 
// 
but did not work for me. I want to get this fixed soon. However, 
 If its not possible to fix it "quickly" perhaps someone can suggest me 
some plugin to manage fields in the layout for proper UI orientation. 

All suggestions are welcome

Regards,
*Rahul*

On Thursday, March 24, 2022 at 4:51:46 PM UTC+5:30 snide...@gmail.com wrote:

> On Thursday, March 24, 2022 at 3:21:01 AM UTC-7 Massimiliano wrote:
>
>> This could be one problem:
>>
>> for i in range((max_row_lines - extra_colspan) / colspan):
>>
>> there are many of this. 
>>
>> *range* take an integer, but a division in python3 return a float...
>>
>>
> Interesting, but why doesn't the exception occur in the quoted line with 
> the range statement?
>
> The stack trace suggests it occurs after the for loop completes.
>
> (I' also dizzy from the number of places where self.structured fields get 
> redone by enumerating itself)
>
> /dps
>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/web2py/2e802ab4-233d-45e9-ad27-fdc1bc46157cn%40googlegroups.com.


[web2py] Web2py on MySQL 8.0

2022-03-25 Thread Fabio Ceccarani
Hi, 
I updated Linux Mint to last versione and MySQL was updated from version 
5.7 to version 8.0.
Now my application return this error:
 (1043, u'Bad handshake')

I tried several possible solutions, install and reinstall pymysql, etc, 
etc... but nothing!

I tried to install mysq 5.7 but now it's hard to go back!

Someone encountered the same problem??!

Thanks!
Fabio

-- 
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 on the web visit 
https://groups.google.com/d/msgid/web2py/4f7632f7-7c56-4ccb-bd34-d3151a506239n%40googlegroups.com.


Re: [web2py] Exporting html table as csv

2022-03-25 Thread Murat KAŞIKÇIOĞLU
Hi,

You can use the javascript on HTML file like this:
https://yourblogcoach.com/export-html-table-to-csv-using-javascript/
https://stackoverflow.com/questions/15547198/export-html-table-to-csv-using-vanilla-javascript

If you want to read CSV and insert to db, you can check the codes in
appadmin.py file on admin app.

Regards,
Murat.



mostwanted , 25 Mar 2022 Cum, 11:11 tarihinde şunu
yazdı:

> Is there a way to download data in my html table as csv?
>
> I have information in an html table that comes from 4 different database
> tables but i want to have it downloaded to be used further in excel. Can i
> download this html table that i have combined all this information in as a
> single csv file with all this information?
>
> Regards;
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/web2py/05b0e270-acc0-4856-a9af-bb2acdf9fe48n%40googlegroups.com
> 
> .
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/web2py/CAC5t_JwgYvTKwKfcom4Src%3D-0mPbig7Qm0J%3DoK65id9v_uvBfQ%40mail.gmail.com.


[web2py] Exporting html table as csv

2022-03-25 Thread mostwanted
Is there a way to download data in my html table as csv? 

I have information in an html table that comes from 4 different database 
tables but i want to have it downloaded to be used further in excel. Can i 
download this html table that i have combined all this information in as a 
single csv file with all this information?

Regards;

-- 
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 on the web visit 
https://groups.google.com/d/msgid/web2py/05b0e270-acc0-4856-a9af-bb2acdf9fe48n%40googlegroups.com.