W dniu sobota, 17 grudnia 2016 16:07:53 UTC+1 użytkownik Zbigniew
Pomianowski napisał:
>
> I totally agree that debuging such things can be difficult. I just wonder
> if there are some mechanisms that can kill tasks before they are finished.
> 100h process let be honest - it is not a common case
Created an account just for this last night, need to start working towards
that 150 reputation.
--
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 recei
On Tuesday, February 28, 2017 at 8:13:57 AM UTC-5, Leonel Câmara wrote:
>
> Created an account just for this last night, need to start working towards
> that 150 reputation.
>
I just gave you 10. :-)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
Another 10!
:)
Richard
On Tue, Feb 28, 2017 at 9:22 AM, Anthony wrote:
> On Tuesday, February 28, 2017 at 8:13:57 AM UTC-5, Leonel Câmara wrote:
>>
>> Created an account just for this last night, need to start working
>> towards that 150 reputation.
>>
>
> I just gave you 10. :-)
>
> --
> Reso
On Monday, February 27, 2017 at 5:13:51 PM UTC-5, klas.eq...@gmail.com
wrote:
>
> Thank you for your answers.
>
> But still: What about the second point? Running the shell to start the
> background script is a process that never ends, thus systemd stays in
> "activating" state, because the actio
I just found the solution: just create another systemd service for the
background task. Before I was using ExecStartPost= in the web2py-service,
which created timeouts. Now it works perfectly.
Anyway, thank you for your effort
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
Thank you, I don't have a blog or similar so I wouldn't know where to post
this hehe I have seen web2py slices but I think it is abandoned now
El lunes, 27 de febrero de 2017, 22:03:02 (UTC-5), Marlysson Silva escribió:
>
> Awesome , You could to write a post explain this :D .
>
> Em sexta-feira,
On Tuesday, February 28, 2017 at 11:00:46 AM UTC-8, Bernardo Leon wrote:
>
> Thank you, I don't have a blog or similar so I wouldn't know where to post
> this hehe I have seen web2py slices but I think it is abandoned now
>
>
Not abandoned, but fragile and needing care.
If you do stackoverflow, t
I have this code in a view (from a select funcion javascript)
$.get('{{=URL('default','nuovo_evento')}}',{risorsa:eventData.resourceId,titolo:eventData.title,start:start,end:end});
this code call a controller
def nuovo_evento():
form=crud.create(db.evento)
return locals
I want to pass data to a controller, this controller insert these data to a
database, and after returning to fullcalendar view...
Il giorno martedì 28 febbraio 2017 21:37:51 UTC+1, Andrea Fae' ha scritto:
>
> I have this code in a view (from a select funcion javascript)
>
>
> $.get('{{=URL('defau
Hello im trying to add a line chart using this example but in the view i
see the json output instead of a graph.
Any help?
VIEW
{{extend 'layout.html'}}
https://code.highcharts.com/stock/highstock.js";>
https://code.highcharts.com/stock/modules/exporting.js";>
$.getJSON('[web2py] Re: $.get jquery and controller
On Tuesday, February 28, 2017 at 12:37:51 PM UTC-8, Andrea Fae' wrote:
>
> I have this code in a view (from a select funcion javascript)
>
>
> $.get('{{=URL('default','nuovo_evento')}}',{risorsa:eventData.resourceId,titolo:eventData.title,start:start,end:end});
>
>
> this code cal
Oasis create a new post and reference them here that I would like help you.
This answer already was answered.
Em terça-feira, 28 de fevereiro de 2017 18:57:17 UTC-3, Oasis Agano
escreveu:
>
> Hello im trying to add a line chart using this example but in the view i
> see the json output instead
Oasis create a new post and reference it here that I would like help you.
This answer already aswered.
Em terça-feira, 28 de fevereiro de 2017 18:57:17 UTC-3, Oasis Agano
escreveu:
>
> Hello im trying to add a line chart using this example but in the view i
> see the json output instead of a gra
But analysing your code I see that you don't using the json.dumps converter
in your data came from controller.
Try use this line , importing from gluon.contrib.simplejson:
return gluon.contrib.simplejson.dumps( [ [r.created_on , r.qty] for r in
rows] )
Em terça-feira, 28 de fevereiro de 2017 1
But analysing your code I see that you don't using the json.dumps converter
in your data came from controller.
Try use this line , importing from gluon.contrib.simplejson:
return gluon.contrib.simplejson.dumps( [ [r.created_on , r.qty] for r in
rows] )
Em terça-feira, 28 de fevereiro de 2017
Greetings,
Im using web2py to store data in an IOT project, saving data works
perfectly but i want to create some graphs to show stats or summary using
highcharts/highstock
*line chart.*
Thats the code and the output
CONTROLLER
@auth.requires_login()
@service.json
def mystats():
ownstats
I posted it as another question; but when i do gluon.contrib.simplejson.
dumps i get the serialization error
On Wednesday, March 1, 2017 at 12:52:10 AM UTC+2, Marlysson Silva wrote:
>
> But analysing your code I see that you don't using the json.dumps
> converter in your data came from controller
In your controller try to use the simplejson from gluon intead json dumps
from python and return the lists formatted to your chart.
Em terça-feira, 28 de fevereiro de 2017 20:01:57 UTC-3, Oasis Agano
escreveu:
>
> Greetings,
>
> Im using web2py to store data in an IOT project, saving data works
i think you can put a query or rows in controllers, and then do it on the
views side :
e.g.
*views/default/test.html*
{{
rows_stock = db(query_nav).select(distinct = True, groupby =
db.nav.nav_date,
cache = cache_db, cacheable = True)
}}
$(function ()
Hi Donald, yes I have , and I have been meaning to some changes (to minimise
the overlap in names).Sorry, been busy lately, I'll get on to updating
Welcome. My plan is to leave the existing graph code as is until everyone is
ok with it. Thanks for following up.
--
Resources:
- http://we
21 matches
Mail list logo