more questions indicating that I need basic concepts explained:
Am I supposed to open the view page with a news reader? When pointing to my
desktop (http://127.0.0.1:8000/ES3/default/feed), rss reader says: This
address does not point to an RSS feed or a website with an RSS feed.
--
Resources
If you want, pack your app or a example with same behavior using the admin
interface as a w2p file and send it to the list.
No promises...
Nico
Op di 22 nov. 2016 om 12:47 schreef Vid Ogris
There is no errors, the file is read etc. The task's status is always
TIMEOUT, although the first time
Hello guys. Can somebody please help me with this. I am out of ideas and i
need to sort this out. Thank you
2016-11-22 19:47 GMT+08:00 Vid Ogris :
> There is no errors, the file is read etc. The task's status is always
> TIMEOUT, although the first time I call it is executed correctly.
>
> Then I
Hi,
I dynamically generate queries from my search form fields/filters.
and then map reduce the query list...
But if no filter is selected, I get empty list...
So I try to add dummy query to the beginning:
Query(db, db._adapter.EQ, 1, 1)
but I get
AttributeError: 'SQLite' obj
On Wednesday, November 23, 2016 at 8:20:48 AM UTC-5, Marvix wrote:
>
> so, is there a way to disable the password validator in the login form
> without modify web2py core files?
>
Yes, that is exactly my solution. The user() function in the default.py
controller of the scaffolding app is not par
1. A little confusing, but looking at my post to this group, Google
auto-creates a hyper-link where I said there was none, but in actuality,
there is no tag in source code
2. how to remove the developer buttons at bottom? If I put html or rss
extension on URL, the display disappears and leaves
my problem changed so need to restructure the question: How can I make the
user view look right?
I copy controller example from book, which produces feed.rss:
def feed():
return dict(title="my feed",
link="http://feed.example.com";,
description="my first feed
Still the same response - "No journal files were found."
A couple of further questions:
1. Out of interest - should the /tmp/web2py.sock file be installed during
installation, or each time uwsgi runs?
2. Am I correct in just pointing my PC browser at the IP address of my
Raspberry Pi (htpps://1
BTW: you could be facign this issue that was resolved on master
https://github.com/web2py/web2py/issues/1485
On Wednesday, November 23, 2016 at 6:58:03 PM UTC+1, Niphlod wrote:
>
> it's very simple then: if it's failed , the traceback is stored in the
> corresponding scheduler_run table !
>
>
okay, now we have a deal ^_^ ...
what about
journalctl -u emperor.uwsgi.service
?
On Wednesday, November 23, 2016 at 2:27:20 PM UTC+1, Richard Brown wrote:
>
> Hi, there are no files in '/var/log/uwsgi' and "journalctl
> /usr/local/bin/uwsgi" reports "No journal files were found."
>
>
> On
if you add "w2p_component_stop" as a class to the element, the cycle will
be interrupted.
On Wednesday, November 23, 2016 at 4:50:47 PM UTC+1, Richard wrote:
>
> Did you try ajax_trap=False
>
> Or you can redirect by specifying the extension='html' if it does work, so
> you can redirect once for
it's very simple then: if it's failed , the traceback is stored in the
corresponding scheduler_run table !
On Wednesday, November 23, 2016 at 3:44:03 PM UTC+1, Ramos wrote:
>
> The task itself is set as failed!
>
>
>
> Enviado a partir do meu smartphone Samsung Galaxy.
>
> Mensagem origi
Did you try ajax_trap=False
Or you can redirect by specifying the extension='html' if it does work, so
you can redirect once form is accepted.
Richard
On Wed, Nov 23, 2016 at 9:50 AM, Pierre wrote:
> Hi,
>
> i wrote this in a view :
>
>
> {{=LOAD('default','ustat.load', args=[k], tar
Hi,
i wrote this in a view :
{{=LOAD('default','ustat.load', args=[k], target='pcustat',
ajax=True,times=10, timeout=5000, content=T('loading...'))}}
I want to quit the LOAD loop when *ustat *returns 'OK'
response.js = "jQuery('#pcustat').remove();"
generates a w
The task itself is set as failed!
Enviado a partir do meu smartphone Samsung Galaxy.
Mensagem original De: Niphlod Data:
23/11/16 13:08 (GMT+00:00) Para: web2py-users
Assunto: [web2py] Re: Scheduler error
when you say "fail" you mean the status of the task itelf is set as
Hi, there are no files in '/var/log/uwsgi' and "journalctl
/usr/local/bin/uwsgi" reports "No journal files were found."
On Wednesday, November 23, 2016 at 1:14:00 PM UTC, Niphlod wrote:
> okay, you can see in the first line that /tmp/web2py.socket is mentioned.
>
> if uwsgi is running, need to
so, is there a way to disable the password validator in the login form
without modify web2py core files?
2016-11-22 14:36 GMT+01:00 Anthony :
> def user():
> if request.args(0) == 'login':
> custom_auth_table.password.requires.pop(0)
> return dict(form=auth())
>
> The default pas
okay, you can see in the first line that /tmp/web2py.socket is mentioned.
if uwsgi is running, need to check the log to see if any errors comes up
check in /var/log/uwsgi and/or see if systemd logging reports something
with "journalctl /usr/local/bin/uwsgi"
On Wednesday, November 23, 2016 at 1:
when you say "fail" you mean the status of the task itelf is set as FAILED
or that your db.emails.status is 'failed' ?
On Wednesday, November 23, 2016 at 1:13:10 PM UTC+1, Ramos wrote:
>
> web2py 2.14.3
>
> 2016-11-23 12:07 GMT+00:00 António Ramos
> >:
>
>> i think the problem is in response.ren
try to run ti inside a scheduler task
On Wednesday, November 23, 2016 at 1:55:01 PM UTC+1, Si wrote:
>
> Thanks for the reply.
> I understand that they are different things. I was wondering if you could
> point me in the right direction to somehow be able to speed this up? Or at
> least find out
Thanks for the reply.
I understand that they are different things. I was wondering if you could
point me in the right direction to somehow be able to speed this up? Or at
least find out where the time is being spent. Web2py adding ~20 seconds is
quite a lot of time.
In the future I will be using
Thanks, the answer is 'yes' to all of these checks - web2py.ini file
attached. I did find out how to see if the uwsgi process is running and it
does appear to be:
$ ps aux | grep "uwsgi"
richard 1044 0.0 0.1 4276 1824 pts/0S+ 10:54 0:00 grep
--color=auto uwsgi
On Wednesday, N
web2py 2.14.3
2016-11-23 12:07 GMT+00:00 António Ramos :
> i think the problem is in response.render... because i change it to a
> simple email with no template rendering and it works..
>
> 2016-11-23 11:51 GMT+00:00 António Ramos :
>
>> what can be wrong with the code in my scheduler.py ?
>> *mo
i think the problem is in response.render... because i change it to a
simple email with no template rendering and it works..
2016-11-23 11:51 GMT+00:00 António Ramos :
> what can be wrong with the code in my scheduler.py ?
> *montlyreport* is called by a task with the same name
> I have 2 users i
ok, let's break it down.
The script basically does:
- install and configure nginx
- install and configure uwsgi
uwsgi is the process that takes care of executing any python code (meaning,
your webapp) .
nginx is the process that takes care of receiving an http request, passing
it down to uwsgi,
what can be wrong with the code in my scheduler.py ?
*montlyreport* is called by a task with the same name
I have 2 users in auth_user table
I see 2 emails generated in table "emails"
then 2 tasks generated in scheduler_task
But these 2 tasks fail and no info about what failed...
Regards
[image: Im
Try use a query in url defining the type of auth , ex: ?auth=facebook or
?auth=gmail or ?auth=...
and in your models verify this argument :
if request.vars['auth'] == 'facebook':
//auth.settings.login_form=facebookAccount()
elif request.vars['auth'] == ''google":
// use your googleAccount()
Em
Not such an easy check - how do I do that? Also, what is the 'uswgi daemon'?
Perhaps I'm asking the wrong question. I've developed a Web2py application
for Home Heating Control and a suite of radio linked hardware to make it
work. I'm a hardware/embedded software engineer by profession with no
It's more than just the javascript, because even printing value from within
my widget prints None, and that's before the form is rendered on the page.
I think I figured out what's going on. There are two ways of setting a
default on the fly
(https://groups.google.com/d/msg/web2py/Bri0SBe9_pg/E
see
https://github.com/web2py/web2py/blob/master/applications/welcome/views/generic.rss
On Wednesday, November 23, 2016 at 8:20:20 AM UTC+1, Alex Glaros wrote:
>
> I have a web2py table, db.meeting, whose records are to be consumed by
> outside parties as an RSS feed.
>
> In other words, people
one step deployment imho is not "assured to be working" on raspberry.
easy check: do you have an uwsgi process running ?
On Tuesday, November 22, 2016 at 11:19:32 PM UTC+1, Richard Brown wrote:
>
> Thanks for the reply. The key word here is obviously 'should' - but is it
> something that should
31 matches
Mail list logo