To clarify; I am using 1.91.6 and using as a custom widget an XML
helper containing a
Hey all,
Anybody having trouble with setting values using jQuery? I am
using this jQuery widget called farbtastic (a color picker) as a
custom widget for one of my fields, and it displays just fine i.e. I
click on a color and the input field displays the corresponding value.
However, when I submit
Correction:
since what is returned by _TEST is html and not well-formed xml
-->
since what is returned to _TEST is html and not well-formed xml
On Jul 2, 2:02 pm, Kerem Eryılmaz wrote:
> Solved. It turns out the tests failed iff I included a specific xmlrpc
> function which stream
.headers['Content-Type'] = 'application/xml'
return __myfunction__()
and modified my tests to use the version which does not modify
headers. Just in case anybody else runs into the same problem.
Also, thanks for the effort Massimo.
On Jul 1, 7:12 pm, mdipierro wrote:
> Can you
Through the administrative interface of web2py. I click on the test
for all controllers i.e. http://localhost:8000/admin/default/test/app_name
On Jul 1, 3:06 pm, mdipierro wrote:
> How are you calling the tests?
>
> On 1 Lug, 03:49, Kerem Eryılmaz wrote:
>
>
>
> >
Hmm... This might be the problem then, the doctest results that do not
get loaded are returned as "Content-Type application/xml" whereas the
other tests are "Content-Type text/html; charset=utf-8". Since the
returned html isn't a well formed xml, I am getting this error. Do you
have an idea why the
e is the problem, ./gluon/compileapp.py, lines 55-56:
html = 'Testing controller "%s.py" ... done.\n' \
% request.controller
I think starting with as the root element is the cause.
So really, no one else?
On Jun 30, 9:26 pm, Kerem Eryılmaz wrote:
> Hi all,
> I wonder if a
Hi all,
I wonder if anyone encountered similar problems with doctests. I have
a couple of controllers (default.py and etc.py), and a single function
(__addTLI__) in etc.py that has a doctest. When I try to run the tests
through the admin app, default.py passes fine (since it has no tests),
but etc.
Hi,
First of all, thanks a lot for putting the effort for web2py. A huge,
newbie fan.
To the point; I have a
Traceback (most recent call last):
File "/home/anakha/web2py/gluon/main.py", line 380, in wsgibase
File "/home/anakha/web2py/gluon/globals.py", line 383, in
_try_store_on_disk
File
9 matches
Mail list logo