Can the taskutils be used to replace nssm with web2py?
On Wednesday, 27 January 2016 13:49:26 UTC+8, Massimo Di Pierro wrote:
>
> # a library to convert units and propagate errors in math
> https://github.com/mdipierro/buckingham
>
> # a library to automatically install modules when imported
>
*first attempt*
Traceback (most recent call last):
File "/Users/sugizo/learn/python/web2py/gluon/restricted.py", line 219, in
restricted
exec(ccode, environment)
File
"/Users/sugizo/learn/python/web2py/applications/mutualfunds/controllers/install_demo.py"
, line 630, in
File
face same error too on mac python3.7
*steps*
./web3py-start -p password.txt -a 0.0.0.0:8000 apps
cat << EOF >> apps/_scaffold/models.py
db.define_table('thing', Field('name') )
db.commit()
db.define_table('think', Field('name') )
db.commit()
EOF
open http://localhost:8000/_dashboard
error
In my production environment, new web2py apps are installed every day.
In fact, it is the same app that it is installed several times with a
different name.
Each installed application corresponds to a website that has its own domain.
In the root folder of web2py, I have a file called
Sorry to dig this thread up, but I had to take a look at this recently.
I think the most efficient way is to use pydal to make the sql query and
then have pandas do it. As an example say you want a dataframe which has
the user's id and their first_name
import pandas as pd
conn =
Hi All,
Finally gotten round to playing again on the latest Web3py.
On _scaffold app .. if I add new tables to model file and then reload from
the dashboard .. I get errors as follows:-
File "C:\Users\johhb\py3\lib\site-packages\pydal\base.py", line 581, in
define_table
raise
Not sure if it is a bug, feature or inconsistancy but ignore_common filters
not applied to left join table in query with left join.
I would expect that ignore is for all.
Not a big issue because you can set the commonfilter on the respected
tables to None just before query execution.
--
I am using the latest version of NSSM - the Non-Sucking Service Manager;
both 2.24 and the prelease build 2.2.4-101 .
Unfortunately for me, NSSM sucked big time and trying to get it working
with web2py was an utter waste of time.
Tried
-K; nothing and tried
-X; nothing anyways
Env:
Python3.7
8 matches
Mail list logo