2.18.5 under python 2:
File "C:\Python27\lib\pickle.py", line 892, in load_proto
raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 3
2.18.5 under python 3:
*import_from_csv_file error*
'charmap' codec can't decode byte 0x81 in position
Hi,
I am having the same error (Failure to connect).
I checked the connection to mysql using python command line
1
2
>>> import mysql.connector
>>> mysql.connector.connect(host='localhost',database='mysql',user='root',
password='')
and it is success.
What could be the reason of that error?
Than
for me:
*export_to_csv_file*
under python2 , no problem
under python3 , the following problem
File
"C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py",
line 2619, in export_to_csv_file
writer.writerow(unquote_colnames(colnames))
TypeError:
*export_to_csv_file*
under python2 , no problem
under python3 , the following problem
File
"C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py",
line 2619, in export_to_csv_file
writer.writerow(unquote_colnames(colnames))
TypeError: a bytes
If you are asking me, I am sorry, i don't know how to make a patch.
--
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 yo
for web2py version 2.17.2
On Sunday, November 25, 2018 at 8:17:08 PM UTC+3, Web2_3py wrote:
>
>
> *export_to_csv_file*
>
>
> under python2 , no problem
>
> under python3 , the following problem
>
> File
> "C:\Users\assus\Desktop\Flash\python3\web2py_2_17
*export_to_csv_file*
under python2 , no problem
under python3 , the following problem
File
"C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py",
line 2619, in export_to_csv_file
writer.writerow(unquote_colnames(colnames))
TypeError: a byte
Hi,
For strings in tables:
===
We all like table versioning.
Can we have something similar for translation of the field?
Field can be translatable (default not).
The original field has details records ( translation of the field for each
language).
Google translate api can fill them, a
8 matches
Mail list logo