hello i have a scheduler set up and then in the console i wrote
python web2py.py -K myapp
no error so far but it does not do anything...
db.scheduler_worker is empty and i have it running for 3 days now...
Any ideas?
regards
António
--
Resources:
- http://web2py.com
- http://web2py.com/book
On my working machine (Debian 8 Testing (systemd), nginx)
I have installed with the script
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
but there was some problem or some missing code which I have found
somewhere here in user group.
I am not sure if las
And this is the third file:
-rw-r--r-- 1 root root /etc/systemd/system/emperor.uwsgi.service
[Unit]
Description = uWSGI Emperor
After = syslog.target
[Service]
ExecStart = /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
RuntimeDirectory = uwsgi
Restart = always
KillSignal = SIGQUIT
Type = notif
And here is the version of script that I have used (I hope so) to install
on my machine.
So if you decide use the installation script
setup-web2py-nginx-uwsgi-ubuntu.sh
maybe you could try the version from current trunk github.com/web2py/web2py
and as second one you can try this version:
#!/bin
One thing more
In my opinion the service is controlled without ".service" in name.
systemctl start emperor.uwsgi(if
/etc/systemd/system/emperor.uwsgi.service used)
systemctl start uwsgi(if the name is /etc/systemd/system/uwsgi.service
as (maybe) in your 'digitalocean' article)
The link is no longer working.
Here is the script. This version worked for me:
#!/bin/bash
echo 'setup-web2py-nginx-uwsgi-ubuntu-precise.sh'
echo 'Requires Ubuntu > 12.04 or Debian >= 8 and installs Nginx + uWSGI +
Web2py'
# Check if user has root privileges
if [[ $EUID -ne 0 ]]; then
echo "Yo
Have you scheduled any tasks? It always helps to show your code.
--
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
I've added these lines, and now the fields are hidden both on the signup
page and on the profile page.
How can I make the fields hidden only on the signup page?
I want the user to be able to add their name later on the profile page.
On Monday, January 30, 2012 at 8:14:09 AM UTC+7, Massimo Di P
Hello Mirek,
Your contribution is pretty much appreciate, but it would make more sens
that you submit your improvements as a PR over github and then point other
users over you fork or the PR pending acceptation our your commit once PR
accepted...
Thanks for your help
Richard
On Thu, Dec 8, 2016
i use opencv in web2py to process video frame. And then write video into
static/videos folder . It creates successfully .but i don't have any idea to
read video fom static/videos folder from html video src.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
Hello Mirek,
Can send a PR over github so we get a better idea what your improvements
are and can include them more easily.
Thanks
Richard
On Thu, Dec 8, 2016 at 7:31 AM, Mirek Zvolský wrote:
> The link is no longer working.
> Here is the script. This version worked for me:
>
> #!/bin/bash
>
Hi Richard.
I'm beginner with Linux (upgrade from Windows to Linux was one of best
steps in my professional life!).
However at this time it is for me not good idea to write bash scripts for
some complex product.
In fact I made PR in this case (when I have added something from other post
in thi
No problem...
You maybe could post diff of your change, it would greatly help to
understand what you change.
Maybe it get rejected because it was applying for Debian only?
Anyway thanks for your contribution, I just want to point you in the rigth
direction to improve chance your work didn't get
Can't by definition of DAL code? or by security..
Em quarta-feira, 7 de dezembro de 2016 16:56:20 UTC-3, Anthony escreveu:
>
> On Wednesday, December 7, 2016 at 9:33:16 AM UTC-5, Marlysson Silva wrote:
>>
>> You can use sessions..
>>
>> session.content = query_search
>>
>
> A Query object can't be
Im really looking just for some suggestions of particularly light weight
ones
--
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 messa
IT works now.
Thank you...
2016-12-08 12:42 GMT+00:00 Anthony :
> Have you scheduled any tasks? It always helps to show your code.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/w
Already the videos stay in static/videos folder .. try make this in your
html template file:
this it html syntax .. in web2py you just handle views and controller to
redirect template right.
Em quinta-feira, 8 de dezembro de 2016 12:11:28 UTC-3, J Boggy escreveu:
>
> i use opencv in web
With relation with expires in pythonanywhere you can renew your
application..
- Could be increase your layout
- The second link doesn't working.
To push your code to github your just have that :
- Create repository in github.
- git init in your folder.
- add remote ( repository's link ) ex. git
Massimo
Thank you.
On Friday, December 2, 2016 at 5:18:51 PM UTC-5, Massimo Di Pierro wrote:
>
> 1. I do not now. that is outside of web2py control. it is controlled by
> the browser
> 2. you can just use
>
> form = SQLFORM.factory(Field('myfile','upload')).process()
>
> and then if form.accepte
Thanks for replying
The correct address is
http://hypenews.pythonanywhere.com/init/default/hypenewsthehypenewsqq123
I created the repository but step two has me stumped. Can you elaborate?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/w
*Premise*
bootstrap tables with striped rows have the following classes:
- table
- table-striped
reference: http://getbootstrap.com/css/#tables
*Padding*
bootstrap .table class assigns a padding of 8px to th and td elements while
in stupid the th and td padding is 5px
So in order to assign a
i think you can use conditional if to check the url and then hide the fields
e.g.
if 'register' in request.args :
db.auth_user.first_name.readable = db.auth_user.first_name.writable = False
db.auth_user.last_name.readable = db.auth_user.last_name.writable = False
best regards,
stifan
--
Resourc
Thanks for replying
The correct address is
http://hypenews.pythonanywhere.com/init/default/hypenewsthehypenewsqq123
I created the repository but step two has me stumped. Can you elaborate?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/w
Hi,
How do I reach a certain SQLFORM help-block span from a controller ? / or
is it there to serve as js target ?
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Some components of web2py, such as menu.py and layout.html, stay the same
when updating to new version.
What is the list of components that are not automatically updated, but
require eventual modernization, such as layout.html?
thanks
Alex Glaros
--
Resources:
- http://web2py.com
- http://we
hi all,
I understand this might be too much in the realm of "please write my code
for me" with that in mind let me ask.
Is it possible to use -- is_in_set -- to create a list of check boxes
instead of a drop-down?
what I am doing is: two types of users. both have access to the same list.
user t
Hello friends,
I started a new web2py project on ubuntu 16.04 from scratch using
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
When trying to access the website I get 502 bad gateway errors, probably
related to an uwsgi issue.
This is the systemctl outp
Did you take the last version of the script the one available in trunk (or
github master)?
I not, try that version of the script first...
Here :
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
If you still experiment the same problem consider open an issue
I just posted an issue with uwsgi and setup-web2py-nginx-uwsgi-ubuntu.sh to
the mailing list (
https://groups.google.com/forum/#!topic/web2py/U_GTzcdXdKE )
This might possible be related..
On Thursday, 8 December 2016 05:53:58 UTC+1, J Boggy wrote:
>
> Web2py with ngix start work well.
> But whe
Rob,
I used this code to get a list with checkboxes.
form=SQLFORM.factory(
Field('hostnames',"list:string",
default=hostnames,widget=SQLFORM.widgets.checkboxes.widget,requires=[IS_IN_SET(hostnames,multiple=True),IS_NOT_EMPTY()]))
hostnames is a list containing strings.
--
Resource
Nothing in your application folder gets updated. Everything else does.
Anthony
--
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
so to stay current, whenever there is new web2py version we check for
differences/updates in the following?
- appconfig.ini
- menu.py
- db.py
- layout.html
- whole CSS, JS folders
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
It doesn't differ from reference fields. it is about automation distributed
transaction.
Table 'person' hasn't Field('alias_name' ) at db level, it's fake Field
with reverse reference declaration ( 'storedin alias_opt.alias_name' ) that
defines table.field that would be really involved in CRUD-
My web2py app will offer RSS feeds for many organizations. How will
consumers subscribe to the right one; is the following correct?
Create table:
db.define_table('rss_entry',
Field('organization_fk', 'integer'),
Field('title'),
Field('link'),
Hello Val K,
I am not sure I understand fully what your are talking about. On one hand,
I do understand that you would like a proper way to define SQL VIEW in
web2py and you propose to add a switch/flag/argument to define_table() to
do so, which would result in a select only table or something lik
Could you link issue here?
Richard
On Thu, Dec 8, 2016 at 5:03 PM, wrote:
> I just posted an issue with uwsgi and setup-web2py-nginx-uwsgi-ubuntu.sh to
> the mailing list ( https://groups.google.com/forum/#!topic/web2py/U_
> GTzcdXdKE )
> This might possible be related..
>
> On Thursday, 8 Dec
Yes .i have been try
On Thursday, December 8, 2016 at 5:38:18 PM UTC-5, Alex Glaros wrote:
>
> so to stay current, whenever there is new web2py version we check for
> differences/updates in the following?
>
>
>- appconfig.ini
>- menu.py
>- db.py
>- layout.html
>
> Generally, there should be no need
Hello,
As far as I can see auth.groups() return up-to-date user group(s)
membership... Maybe it would issue of auth.user_groups() which is only
updated at login???
http://web2py.readthedocs.io/en/latest/_modules/gluon/tools.html#Auth.groups
I think using it will help me reduce the number of hit
Thanks,
I wrote this code and seems to work well...from an ajax call.
Post is with or without id; depending on if its a new record or an update
def save_selected():
a={}
if request.vars["id"]:
for key, value in request.vars.items():
if key!="id":
a[key
I USE cv2.VideoCapture(os.path.join(reques.folder,'uploads','success.mp4') to
get video frame from file which work well in my pc. But when i tested on vps it
cannot read from path.how should intry
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web
can someone please help me with the highlighted dictionary syntax below?
def feed():
from gluon.serializers import rss
functionSuperObjectID = request.get_vars.functionSuperObjectID
parentTitle = db.SuperObject(functionSuperObjectID).object_display_name
parentLink = db.SuperObject(
Hi
I want to write a query in web2py. The purpose of this query is to return
all users that belong to a user group specified in the query. The
additional data I want with each user is his organization (if any),
managing_countries (if any), and shops (if any). Note that a user might
*either* own
43 matches
Mail list logo