I am trying to include Tabulator JS in layout.html but i can not make it
work.
If I include the files in the head section of view it works OK.
But if I include them on the head section of layout.html and then in view i
use extend 'layout.html' it can not find it.
In sure is me, but i can not
Trying to start the cron with -Y option gives me an error:
" TypeError: argument of type 'NoneType' is not iterable "
Any ideas. Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Is possible to create a query in DAL to obtain this ?
SELECT * FROM table1 WHERE CONVERT(VARCHAR, field1) LIKE '%somestring%'
where field1 is an INT type field ?
Thanks in advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
I have a db table with a datetime field to save last update/creation date.
Field('fecha_update', 'datetime', default=request.now)
My question is : How i can save the update time of a record when i do it
through sqlform.grid ?
--
Resources:
- http://web2py.com
- http://web2py.com/book
Answer to myself:
Maybe solution to problem1 of this issue is the key :
https://github.com/web2py/web2py/issues/1696
El miércoles, 1 de noviembre de 2017, 9:17:45 (UTC-3), Omicron VT escribió:
>
> I have been using websocket_messaging.py without problems in version
> 2.14.6. After
I think you have problem1 of this issue:
https://github.com/web2py/web2py/issues/1696
El domingo, 25 de septiembre de 2016, 17:46:02 (UTC-3), José Borba escribió:
>
> Hello, there,
>
> I'm using web2py on Cloud9[1], and web2py works well. I'm working on an
> app that need websockets, following
El miércoles, 1 de noviembre de 2017, 9:17:45 (UTC-3), Omicron VT escribió:
>
> I have been using websocket_messaging.py without problems in version
> 2.14.6. After upgrading to 2.15.4 i can not start websocket_messaging
> anymore, iget this error :
> ImportError: No module na
I have been using websocket_messaging.py without problems in version
2.14.6. After upgrading to 2.15.4 i can not start websocket_messaging
anymore, iget this error :
ImportError: No module named gluon.utils
Any help ? Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book
Is it possible to use the split_multicell option to show a text field from
a template stored in the DB ? 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 (Report
Following the example in websocket_messaging.py i have this config:
A tv.html view that refresh its content when an event on client.html sends
a message to group1
All of this works fine if tv.html is opened only 1 time.
When i open tv.html more than one time when first message is sended,
I an trying to connect to MSSQL DB.
Cannot connect using this string :
DB1 = DAL('mssql://user:pass@server/schema')
so i have found this string to work:
DB1 = DAL('mssql://user:pass@server/schema?DRIVER={FreeTDS}')
but reading records from a table get me this error :
[FreeTDS][SQL
e grid parameters, but
> within a dictionary keyed for each table of the smartgrid. Nothing has
> changed.
>
> Anthony
>
> On Friday, June 3, 2016 at 3:33:36 PM UTC-4, omicron wrote:
>>
>> It's on smartgrid for my application
>>
>> Le vendredi 3 juin 201
It's on smartgrid for my application
Le vendredi 3 juin 2016 20:24:41 UTC+2, Niphlod a écrit :
>
> is this on grid or smartgrid ?
>
> On Friday, June 3, 2016 at 7:15:33 PM UTC+2, omicron wrote:
>>
>> I have just seen this modification for parameter 'exportclasses' in
I have just seen this modification for parameter 'exportclasses' in grids.
The manual say "If you pass a dict like
dict(xml=False, html=False)
you will disable the xml and html export formats", but with the last
version you must change you code to pass a dict like this
dict(tablename =
And with CentOS 6.3 and his Python 2.6, this problem doesn't exist !!!
Le jeudi 15 novembre 2012 12:24:16 UTC+1, omicron a écrit :
I use an Ubuntu 12.04LTS, python 2.7 and web2py 2.2.1
lpod is installed in /usr/local/lib/python2.7/dist-packages, and it's an
egg
import lpod.document
wrote:
Does it work if you simply do: import lpod.document ?
On Tuesday, 13 November 2012 04:37:43 UTC-6, omicron wrote:
With web2py 1.99.7 this import was Ok :
import lpod.document as oodoc
But with version 2.2.1, I have this error :
File /home/myhome/Applications/web2py/gluon
With web2py 1.99.7 this import was Ok :
import lpod.document as oodoc
But with version 2.2.1, I have this error :
File /home/myhome/Applications/web2py/gluon/custom_import.py, line 77,
in custom_importer
raise ImportError, 'Cannot import module %s' % str(e)
ImportError: Cannot import
With the last version, you can do this :
from gluon import current
dba = current.globalenv['db']
This library is small and easy to use:
http://www.hforge.org/itools/docs/workflow/
Why not jsonrpc ?
In web2py, i use decorator like this :
@service.jsonrpc
def insert(code, libelle, cours=1.0):
try:
id = dba.devise.insert(code=code, libelle=libelle)
except:
dba.rollback()
raise Exception(sys.exc_info()[1])
else:
dba.commit()
And if you change ip = '0.0.0.0' and comment the line 'interfaces' ?
On 20 oct, 08:36, toan75 toa...@gmail.com wrote:
Yes, i renamed options_std.py to options.py.
import socket
import os
ip = '192.168.0.1'
port = 80
will try to replace with JSON RPC.
Can you also list me advantages?
Thanks.
Phyo.
On 10/20/11, omicron jacques.bouss...@gmail.com wrote:
Why not jsonrpc ?
In web2py, i use decorator like this :
@service.jsonrpc
def insert(code, libelle, cours=1.0):
try:
id
Before, the encoder have :
Implementation of JSONEncoder
Modified by Massimo Di Pierro to handle datetime
and now it's not the case in the last stable version ?
response.json(...stuff to return...)
The datetime encoder is not in there anymore and it was causing me
trouble. This corrected the issue.
On May 6, 8:20 am, omicron jacques.bouss...@gmail.com wrote:
Before, the encoder have :
Implementation of JSONEncoder
Modified by Massimo Di Pierro
In 'models' folder, i create the file named '0.py' like this :
def _init_log():
import os, logging, logging.handlers
logger = logging.getLogger(request.application)
logger.setLevel(logging.DEBUG)
handler =
Two things to verifiy :
1/ Try this : s = jsonrpclib.ServerProxy(http://localhost:8000/
pledgedrives/default/call/jsonrpc,verbose=1)
2/ The call function is defined ?
def call():
session.forget()
return service()
On 8 déc, 19:58, johntynan jgty...@gmail.com wrote:
I am looking in the
With version 1.71.1 I have two problems:
* Rows object has no longer attribute response ? Before
Rows.response was what I want to send to QooxDoo to populate table
models. Now I must construct my list with iterator ?
* I have a pb with json_rpc : Example I call a function with
parameters, for
On 4 nov, 19:28, mdipierro mdipie...@cs.depaul.edu wrote:
On Nov 4, 12:22 pm, omicron jacques.bouss...@gmail.com wrote:
With version 1.71.1 I have two problems:
* Rows object has no longer attribute response ? Before
Rows.response was what I want to send to QooxDoo to populate table
I'm using QooxDoo / Web2Py with JSonRpc in several applications and
don't need special features in Web2py. If you want crossdomain feature
in QooxDoo you must set the crossDomain property to true:
var rpc = new qx.io.remote.Rpc(http://targetdomain.com/appname/
function/call/jsonrpc);
I think a bug was inserted in version with the DAL insert procedure.
With version 1.67 and a Postgresql database encoded in UTF8, i can
insert french characters with accents without any conversion. But with
version 1.68.1 and 1.68.2 it's not possible. But i can update records
with french accents
mdipie...@cs.depaul.edu wrote:
I am sure nothing changed in this respect. Are you using IS_UPPER,
IS_LOWER validators? Other validators?
What kind of errors do you get?
On Oct 22, 1:16 pm, omicron jacques.bouss...@gmail.com wrote:
I think a bug was inserted in version with the DAL insert
31 matches
Mail list logo