Hi all.
Excuse for some off topic.
I need to up a SOAP service so i think to use web2py.
I have wsdl file.
I use wsdl2interface for convert wsdl into Python clasesThis is my wsdl file:
http://oap/ser -
Pastebin.com
|
|
|
| ||
|
|
|
| |
http://oap/services/checkHold
Dear Nico.
Thank you for you answer.
I use a sqlform.smart grid for show records from database, i want to do a call
Restful for show especific record clicked using ajax
My problem is i not know how i implement onclick function on sqlform.smart grid
Regards
On Friday, March 24, 2017 6:20 AM,
Dear All.
How a i can call a javascript function from a link of sqlform.grid
My controller:
d=datetime.datetime.strptime(request.vars.desde, "%d/%m/%Y %H:%M:%S") \ if
request.vars.desde else
datetime.datetime.strptime(datetime.datetime.strftime(datetime.datetime.now(),'%Y-%m-%d
00:00:00'),
Dear Massimo.I did tested opentok great tip!!!
Regards
On Saturday, August 6, 2016 4:43 AM, Massimo Di Pierro
wrote:
I would use opentok
On Tuesday, 2 August 2016 19:46:07 UTC-5, Ron Chatterjee wrote:
This may help. Its a django app. Someone needs to take a stab at this to
convert in
Thank you Antonio
Enviado desde mi iPhone
> El 04-08-2016, a las 4:51, António Ramos escribió:
>
> https://www.youtube.com/watch?v=MUWy-NSrvNQ
>
> 2016-08-03 19:26 GMT+01:00 'Fernando Villarroel' via web2py-users
> :
>> Dear.
>>
>> I think th
Dear.
I think the deploy coments use a server like Asterisk or FreeSWITCH.
So the deploy from Django surely use some library JavaScript for comunícate
browsers like sip.js or another with websocket server (Asterisk or FreeSWITCH ).
Regarding about webrtc i deploy a server webrtc using FreeSWITC
Ok Richard
Thank you for you answer.
Enviado desde mi iPhone
> El 21-06-2016, a las 11:25, Richard Vézina
> escribió:
>
> You will need websocket_messaging/tornado for doing such a thing...
>
> Richard
>
>> On Tue, Jun 21, 2016 at 12:21 AM, 'FERNANDO VILLARR
Dear All.
I hope you could me explain how i can do the follow idea:
If a have a user registered like username in my web2py site.
I have another application like asterisk (IP PBX) so when asterisk received a
inbound a call for user i need that the browser of user (only browser
of t
Hi.
I need you help, any idea how i can solve my problem.
Regards
On Monday, May 25, 2015 11:03 PM, 'FERNANDO VILLARROEL' via web2py-users
wrote:
Dear All
I have problem when i click on pagination of sqlform.smartgrid because my
custom date field change to today and i
Dear All
I have problem when i click on pagination of sqlform.smartgrid because my
custom date field change to today and i lost data
def index():
d=datetime.datetime.strptime(request.vars.desde, "%d/%m/%Y %H:%M:%S") \
if request.vars.desde else
datetime.datetime.strptime(datetime.d
"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
Dear All.
I have my app in my home folder ~/web2py/application/foo
I do not understand how i can deploy on Heroku
Anyone can explain how i can do
I am trying to follow the book guide but i do not understand.
I am using git bitbucket on
+1
Enviado desde mi iPhone
> El 03-01-2015, a las 23:32, Massimo Di Pierro
> escribió:
>
> I came across this:
>
> https://github.com/cassiobotaro/my_environment
>
> Useful!
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2
pyDAL +10
I wish you merry christmas and happy new year Massimo and everybody of this
community.
Fernando
On Wednesday, December 24, 2014 12:48 PM, DJ
wrote:
Congrats Massimo and happy holidays!
On Wednesday, December 24, 2014 8:48:18 AM UTC-5, Massimo Di Pierro wrote:
I wish a ha
Dear All.
Some customer need a application like a Desktop application (visual basic,
wxPython, etc.) and reports.
I think to use web2py, but i need to do rich windows (widgets or RIA). I am
searching how i can do so i found qooxdoo.For reports i think to use Reportlab.
My web development experien
Hi.
The follow script it works;
Your browser does not support the audio element.
And this works in Firefox but not in Chrome, why?. I am use latest version of
firefox and Chrome.
But my problem is that the wav file is a variable,so i try to use:
f='{{=filename}}'
But i received a except
Dear all.
I need to play a sound file (.wav)
I am trying like this:
controler:
def play():
filename='2014-11-04-19-20-19_994491803_448908901.wav'
ff=XML(''
% filename)
return dict(ff=ff)
view:
play.html
{{extend 'layout.html'}}
{{=ff
Dear All.
I need to add new features to my application like a modules; something like
purchases module, sales module, etc.
The idea is that each new module installed enable the respective option menu.
My idea is to create folders within the folder modules such as sales folder;
inside are the
Dear All.
For some reason i do not know, the login password on my web2py site changed.
Is possible that someone is attack my website?, how i can prevent or solve this
issue?
For reseted the password i must updated auth_user like:
update auth_user set password=md('foo');
What do you think?
I
Dear All.
Does anyone use Geraldo Report?
I am trying to use i follow the how to about web2py and Geraldo
http://www.geraldoreports.org/docs/tutorial-2.html
But i received a empty pdf.
My code:
controllers/callscltes_pdf.py
def callcltes_pdf():
from reports import ReportPurchase
Dear,
i changed datetime with 'datetime' and now it's works
Thank You
On Thursday, September 4, 2014 8:15 AM, Niphlod wrote:
tat's probabl why replace datetime with 'datetime' (notice the '')
On Thursday, September 4, 2014 1:37:51 PM UTC+2, visuallinux wrote:
Hi.
>
>
>The database def
Hi.
The database definition ;
db.define_table('cdr',
Field('caller_id_name',length=30),
Field('caller_id_number',length=30),
Field('destination_number',length=30),
Field('context',length=20),
Field('start_stamp', datetime),
Field('answer_stamp', da
Hi All.
I am trying to use SQLFORM.smartgrid:
query=(db.cdr.accountcode==form.vars.nombre[0])
grid=SQLFORM.smartgrid(db.cdr,constraints=dict(cdr=query),details=False,create=False,editable=False,deletable=False,csv=False)
But i received the follow exception:
'module' object has no attribute 'sp
Dear All.
I am try to use Geraldo Reports with web2py and i am following this howto:
http://www.geraldoreports.org/docs/tutorial-web2py.html
But i received a error with this import
>>> from reports import ReportPurchase
Traceback (most recent call last):
File "", line 1, in
ImportError: No
Dear all.
I see the post; https://groups.google.com/forum/#!topic/web2py/IIYWWB0D7e4
I am think to do a reservation site, basically i need to input a date range :
fromfate
todate
My probem is how i can show a calendar with days in green colors for available
days and red colors for reservate
pip install PIL
Enviado desde mi iPhone
El 25-05-2013, a las 0:35, Alex Glaros escribió:
> I'll try to install it but can you please tell where and how? I can't find
> where Python is in the web2py folders.
>
> thanks,
>
> Alex
>
> On Friday, May 24, 2013 9:31:02 PM UTC-7, Anthony wrote
Dear.
I am trying to make a graph temperature vs time with NVD3.js
But it's my first experience with D3 and JsON and i think i am wrong because i
can't show graphic.
I am getting data from a database:
My controller:
def grafico_temp():
rows=db(db.temperaturas).select(db.temperaturas.f
Ok but how i can solve?
--- On Tue, 1/22/13, Bruno Rocha wrote:
From: Bruno Rocha
Subject: Re: [web2py] Help Query speed
To: web2py@googlegroups.com
Date: Tuesday, January 22, 2013, 10:10 PM
maybe the virtual fields?
--
--
utas.nombre']
table=powerTable.create()
return dict(table=table)
Any idea?
Regards
--- On Tue, 1/22/13, FERNANDO VILLARROEL wrote:
> From: FERNANDO VILLARROEL
> Subject: [web2py] Help Query speed
> To: web2py@googlegroups.com
> Date: Tuesday, January 22, 201
Dear.
I have the follow problem.
If i run the follows query in PgAdminIII is very fast:
select rutas.id,rutas.nombre,ratecltes.rate from ratecltes
joinrutas on rutas.id = ratecltes.id_rutas
where ratecltes.id_clte=26
order by rutas.nombre
But when i run the query on Web2py is very slow
I think you could use clicktocall
Enviado desde mi iPhone
El 11-01-2013, a las 19:44, webpypy escribió:
> Hi ,
>
> Using web2py app in mobile, How to make a call?
>
> Regards,
>
> Ashraf
> --
>
>
>
--
Yes psycopg2 is installed.
But i test the same aplication with another postgresql version (8.4)now my
application running fine.
http://comments.gmane.org/gmane.comp.python.web2py/42824
I think the problem is the postgresql version 8.1. So i migrated my database to
PostgreSQL 8.4 for solved my
Dear All.
I am trying to migrate my web2py applications to the new version 2.3.2 and
deploy with nginx + uwsgi but i am received the following error:
DEBUG: connect attempt 4, connection error:
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/dal.py", line 6771, in __init_
:// ??
On Fri, Dec 28, 2012 at 1:43 AM, FERNANDO VILLARROEL
wrote:
Dear All.
I am trying to migrated my web2py applications from apache to nginx + uwsgi.
So i did configured a Ubuntu Server, i follow the script :
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi
Dear All.
I am trying to migrated my web2py applications from apache to nginx + uwsgi.
So i did configured a Ubuntu Server, i follow the script :
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
My problem is i can't deploy mi domain: administrator.midoma
Dear.
I have a controller that basically runs a SQL shown in their respective views.
Need is that while the user STAY in this view, the controller automatically
running every 5 seconds, and so the result of the SQL refresh the view.
I could use a Refresh button, but I want it to be automatic.
Dear.
I need refresh my index every 5 seconds.
I think to use cron, so how i can call a controller (controller/myfunction)
every 5 seconds?
Regards.
Fernando.
--
('Information:')) def
virtualtooltip(self): return T('This is a virtual
tooltip for record %s' % self.pagos.id)
Now powerTable works, anyone could me explain why?
Regards.
--- On Mon, 12/17/12, FERNANDO VILLARROEL wrote:
From: FERNANDO VIL
27;] =
'full_numbers'#request.vars.get('pager','full_numbers') # two_button scrolling
powerTable.columns =
['pagos.id','pagos.fecha','pagos.monto','pagos.comments']
#powerTable.extra = dict(autoresize={})
Dear Bruno.
Yes works fine without powerTable
The problem occur when i use powerTable.
Regards
--- On Mon, 12/17/12, Bruno Rocha wrote:
From: Bruno Rocha
Subject: Re: [web2py] 'Row' object has no attribute powerTable
To: web2py@googlegroups.com
Date: Monday, December 17, 2012, 1:04 AM
what hap
Dear All.
I am trying to use powerTable plugin, but i am receiving the following error:
return ogetattr(self, key)
AttributeError: 'Row' object has no attribute 'pagos'
My code:
@auth.requires_login()
def pagos():
reg=db(db.pagos.id_clientes==session.cliente_id).select(db.pagos.id,d
Dear Bruno
Any update about powerTable + Web2py 2.0.9
--- On Mon, 10/1/12, Bruno Rocha wrote:
From: Bruno Rocha
Subject: Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no
attribute 'virtual'
To: web2py@googlegroups.com
Date: Monday, October 1, 2012, 1:04 AM
Are you running new v
Dear Bruno.
Yes effectively i am using the new version of web2py 2.0.8
--- On Mon, 10/1/12, Bruno Rocha wrote:
From: Bruno Rocha
Subject: Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no
attribute 'virtual'
To: web2py@googlegroups.com
Date: Monday, October 1, 2012, 1:04 AM
Are
Dear Massimo.
My code is the following:
@auth.requires_membership('Administrador')def clientes():
class Virtual(object):
@virtualsettings(label=T('Editar')) def edit(self):
link_editar= URL(r =request,f='editablefunction',
args
Dear All.
I am trying to use PowerTable, but i am receiving the follow error:
Traceback (most recent call last):
File "/home/fvillarroel/www/web2py/gluon/restricted.py", line 209, in
restricted
exec ccode in environment
File
"/home/fvillarroel/www/web2py/applications/administrador/contr
Dear All.
Every day i did received a email (gmail) with a file attached (text) as rar.
My question is how i can read this file attached from web2py?
Or how i can download this file to /tmp folder?
Any idea.
Regards
--
Dear.
I am new in web developing and always i used sample apache config. But i see
many post about my subject, so I would like use it.
Also I would like to integrate git to development environment, now i do using
trac + svn for my standalone projects.
I am following the follow howto:
http://
Thank you everyone for you help.
Where i can see some how to for i can use d3 visualizations fed from web2py or
Charts?
Regards.
--- On Wed, 8/15/12, Andrew wrote:
From: Andrew
Subject: Re: [web2py] Grahs
To: web2py@googlegroups.com
Date: Wednesday, August 15, 2012, 6:47 AM
You may also want
Dear All.
I am looking how i can doing some humedity graph from my database like:
http://www.google.cl/imgres?imgurl=http://bfinet.es/objects/300_19_1511558087/grafico-humedad.jpg&imgrefurl=http://bfinet.es/Sonda%2BTemperatura%2By%2BHumedad-300.htm?sid%3D86888e016e7af58b05e6bd8071640e45&h=395&w=6
Dear All.
I have the followings on models:
db.define_table('province',
SQLField('name', 'string', length=50, required=True, default=None))
db.define_table('cities',
SQLField('name', 'string', length=50, required=True),
SQLField('id_province',db.province, require
Dear All.
I am trying the following query:
fields=[db.llamados.id,db.accountcode.ani,db.llamados.destino,db.rutas.nombre,db.llamados.answeredtime,db.llamados.inicio,db.llamados.valor,db.l
lamados.billing]
left =
([db.accountcode.on(db.llamados.id_accountcode==db.accountcode.id),db.rutaprov
Hi
Change
dbpg = DAL('postgres://dlawrence_test1:@localhost/dlawrence_test1')
to:
dbpg = SQLDB('postgres://dlawrence_test1:@localhost:5432/dlawrence_test1')
Regards.
--- On Sat, 4/16/11, Dave wrote:
> From: Dave
> Subject: [web2py] Unable to create DAL connection to PostgreSQL on
Dear All.
How i can pass parameters between forms with POST or GET?
Regards.
Hello All.
Regarding of pagination.
Anyone could me explain how i can use Datatables; i am trying but not works.
Or if anyone could send to me a example how i can use it.
Regards.
Fernando
--- On Wed, 11/4/09, mdipierro wrote:
> From: mdipierro
> Subject: [web2py:34574] Re: web2py paginati
Dear All.
I am trying of doing a query for get some records from a database and show
results on a Data Tables (Jquery), i am new in Web development (Ajax and
Jquery, Json, etc.) and i want know how doing.
The idea is get all records that fecha >= to var "desde" and show in a Data
Tables
Con
Dear All.
I am trying get records from a form like this:
controller:
def llamados():
import time
hoy=time.time()
desde=time.strftime('%Y-%m-%d 00:00:00',time.localtime(hoy))
hasta=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(hoy))
lineas=db(db.
I like option A
Fernando
--- On Thu, 8/13/09, Massimo Di Pierro wrote:
> From: Massimo Di Pierro
> Subject: [web2py:28520] logo
> To: web2py@googlegroups.com
> Date: Thursday, August 13, 2009, 1:29 PM
> Two logos have been proposed for
> web2py. I love them both and I would
> like your opin
gt; rows = db(query).select
> (a.destino,a.answeredtime,a.inicio,a.fin,a.valor,left=left,orderby=~a.inicio)
>
>
>
>
> On Aug 11, 4:54 pm, FERNANDO VILLARROEL
> wrote:
> > Dear all.
> >
> > How i can doing the following query for web2py:
> >
> > select
Dear all.
How i can doing the following query for web2py:
select
a.destino,a.answeredtime,a.inicio,a.fin,a.valor from llamados as a
join
accountcode as b on a.id_accountcode=b.id
join
clientes as c on b.id_clientes=c.id
where id_clientes = clte and a.dialstatus=
Regarding of the calendar.
How i can use calendar with today in format day-month-year?
hoy=time.time()
desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(hoy))
INPUT(_type="datetime",_name="desde",_value=hoy,_class='datetime',_id="datetlimite",
requires=IS_DATETIME()))
if i use this form
Thank you Jonathan, now works fine.
--- On Mon, 8/10/09, Jonathan Lundell wrote:
> From: Jonathan Lundell
> Subject: [web2py:28322] Re: Calendar
> To: web2py@googlegroups.com
> Date: Monday, August 10, 2009, 8:56 PM
>
> On Aug 10, 2009, at 4:48 PM, FERNANDO VILLARROEL wrot
Dear all,
I am trying use calendar on a simple form as below:
def llamados():
hoy=time.time()
desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(desde))
hasta=time.strftime('%d-%m-%Y %H:%M:%S',time.localtime(hoy))
lineas=db(db.accountcode.id_clientes==session.cliente_id).select(d
Hello.
I am trying to implementing the example pagination:
http://www.web2py.com/AlterEgo/default/show/95
How i use backward and forward in the view:
{{extend 'layout.html'}}
Pagos Cliente
{{for row in rows:}}
..
.
Hello All.
If i have a query as the follow:
rows=db(db.pagos.id_clientes==session.cliente_id).select(db.pagos.id,db.pagos.fecha,db.pagos.monto,db.pagos.comments,orderby=db.pagos.id)
How i can know the total of records of the object rows?
Fernando.
--~--~-~--~~---
e database
> was
> corrupted. Now everything should work. Let me know if not.
>
> Massimo
>
> On Jul 16, 11:13 pm, FERNANDO VILLARROEL
> wrote:
> > > I suspect we have a major problem here:
> >
> > > "role" is a keyword in postgresql and I d
ind a
> solution.
>
> Massimo
>
>
> On Jul 16, 9:49 pm, FERNANDO VILLARROEL
> wrote:
> > Hello,
> >
> > I am using a database Postgres.
> >
> > > Can you show the entire traceback?
> >
> > Traceback (most recent call last):
> &
rsor.execute(*a, **b)
ProgrammingError: no existe la relación «auth_group»
> Do you get error even if
> auth.settings.create_user_groups=True?
yes
> If you use appadmin, do you see the auth_group?
No
appadmin is the front end for administrator?
>
>
>
> On Jul 16, 4
Dear all.
I am trying to use authentication:
http://www.web2py.com/examples/default/tools
I have the following code on my db.py:
from gluon.tools import *
auth=Auth(globals(),db)# authentication/authorization
# define custom tables (table_user_name is 'auth_user')
auth.settings.
Hi,
Tha table exist there and the table have a unique auto-increment "id" field
also.
The schema of table calls is the following
id | integer | not null default
nextval('calls_id_seq'::regclass)
account_id | integer | not null
uuid
Hello Alvaro thank you for your answer and help
Fernando
--- On Fri, 5/8/09, Álvaro Justen [Turicas] wrote:
> From: Álvaro Justen [Turicas]
> Subject: [web2py:21499] Re: Mapping databse
> To: web2py@googlegroups.com
> Date: Friday, May 8, 2009, 2:43 PM
>
> On Fri, May 8, 2009 at 2:27 PM, Yar
69 matches
Mail list logo