can you provide a minimal controller default.py so we can reproduce and fix
it?
On Sunday, 17 March 2019 20:55:59 UTC-7, Lovedie JC wrote:
>
> Python 3.
> I moved to python 3
> Regards
>
> On Mon, 18 Mar 2019, 05:49 Massimo Di Pierro
> wrote:
>
>> This says you are using python 3. Is your app
Python 3.
I moved to python 3
Regards
On Mon, 18 Mar 2019, 05:49 Massimo Di Pierro
wrote:
> This says you are using python 3. Is your app build for python 3 or python
> 2?
>
>
> On Sunday, 17 March 2019 08:01:07 UTC-7, Maurice Waka wrote:
>>
>> When clicking on the edit button for my app, I get
This says you are using python 3. Is your app build for python 3 or python
2?
On Sunday, 17 March 2019 08:01:07 UTC-7, Maurice Waka wrote:
>
> When clicking on the edit button for my app, I get this error:
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
> 14.
> 15.
> 16.
I think web3py should be something a little different, not just web2py for
python3.
On Sunday, 17 March 2019 05:42:16 UTC-7, Kevin Keller wrote:
>
> Hey,
>
> So I was wondering today what you guys would think about the idea to
> rename web2py to Web3py, once it reaches a level of maturity
:-)
On Saturday, 16 March 2019 13:02:03 UTC-7, Daniel Guilhermino wrote:
>
> Hi Massimo,
>
> I just checked and it's working perfectly now!
>
> Many thanks, long life and prosper to you and Web2py!
>
> Best regards.
>
> Daniel Guilhermino
>
> Em sexta-feira, 15 de março de 2019 00:50:38 UTC-3,
In 2019 I really do not feel recommending using Apache to anybody. nginx
has clearly won this battle.
On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote:
>
> apt-get install libapache2-mod-wsgi-py3
>
> laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika:
>>
>> This script
Fantastic. Will process this within the week and make it the new default.
On Friday, 15 March 2019 07:55:16 UTC-7, Nico Zanferrari wrote:
>
> Hi all,
>
> I've was successful in making the experimental Mac app, too, with python3.
> Grab it from https://github.com/nicozanf/web2py-pyinstaller ,
I do not understand. this:
row: pydal.objects.Row = table[rec_id]
is not a valid Python code. Also, as you say pydal is not imported.
Moreover Row is an internal class, you should not try redefine it.
Can you explain what you are trying to achieve? Maybe there is a better way.
On Friday, 8
can you provide steps to reproduce?
On Thursday, 14 March 2019 23:49:22 UTC-7, Константин Комков wrote:
>
> I think I saved error in my app and after that I have error in web2py.
> invalid syntax (, line 14)Версия
> web2py™ Version 2.18.4-stable+timestamp.2019.03.13.05.27.54
> Python Python
apt-get install libapache2-mod-wsgi-py3
laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika:
>
> This script works with python 3 but is under nginx:
>
>
> https://raw.githubusercontent.com/arisobel/web2py_scripts/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh
>
>
>
> Le samedi 16
Hi,
I have a form, when I click on submit button it is start processing and
saving data (events) in table tlogproceso:
Controller
def fprocess ():
form = SQLFORM.factory (Field ('filename', 'upload', uploadfolder =
os.path.join (request.folder, 'uploads'), label = 'DB file'))
if
This is my simple code when using to delete items from my database.
grid = SQLFORM.grid(db.answered.author == auth.user.id, editable=False,
searchable=False, details= False, fields=None, csv=None, links=None, create=
False, field_id=None, selectable=lambda ids:delete_them(ids))
return
You can set up a custom error handler and do the logging
there: http://web2py.com/books/default/chapter/29/04/the-core#Routes-on-error.
Anthony
On Sunday, March 17, 2019 at 12:59:18 PM UTC-4, João Matos wrote:
>
> Hello,
>
> Is it possible to log all errors (the same ones that go to the
See http://web2py.com/books/default/chapter/29/04/the-core#Logging. For the
logging.conf file format,
see
https://docs.python.org/2/library/logging.config.html#logging-config-fileformat.
You'll need to set up a handler for the "pyDAL" logger, which is what the
DAL uses for logging.
On
Hello,
If I use this code, everything works
=A(T('You have unread notifications'), _href=URL('default',
'index', user_signature=True)) if count else ''
However, if I divide it in 2 lines, using proper ( ), I get a syntax error
=(A(T('You have unread notifications'),
I'll check it out in the next days, thanks.
sexta-feira, 15 de Março de 2019 às 11:34:09 UTC, Leonel Câmara escreveu:
>
> Here's an example I made long ago, I would do things differently nowadays
> but it shows how it can be done.
>
> https://groups.google.com/forum/#!topic/web2py/z_lGYsO6LKE
>
Hello,
Is it possible to log all errors (the same ones that go to the app\errors
dir) to a log file using Python's logging?
Thanks,
JM
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I have a table of companies that offer variable services, what i want is to
enable my users to search for companies that offer a desired service *(which
i have been able to achieve)* and then from that very list of companies
displayed in that page be able to filter through them and search for
When clicking on the edit button for my app, I get this error:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
Traceback (most recent call last):
File "/home/mauricewaka/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File
Hey,
So I was wondering today what you guys would think about the idea to rename
web2py to Web3py, once it reaches a level of maturity that would be able to
justify the rename and a reboot.
That would also mean to update the web page and various resources.
The reason is simple :
It seems
My (soon to be production) code is in the application named init.
Obviously init is surrounded by the web2py installation itself.
We will want to preserve the working version of web2py in a git repo since
it's likely we will update web2py separately from the init app.
I assume the best practice
Thanks Anthony, I activated debug=True in DAL but I can't find any log file.
Do you have any idea where it is created?
domingo, 17 de Março de 2019 às 00:26:54 UTC, Anthony escreveu:
>
> Also, if you set DAL(..., debug=True), I believe all SQL commands will be
> logged to the "pyDAL" logger.
>
22 matches
Mail list logo