[web2py] Re: Fields, jQuery and farbtastic

2011-02-22 Thread Kerem Eryılmaz
To clarify; I am using 1.91.6 and using as a custom widget an XML helper containing a

[web2py] Fields, jQuery and farbtastic

2011-02-22 Thread Kerem Eryılmaz
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

[web2py] Re: Doctests keep getting stuck

2010-07-02 Thread Kerem Eryılmaz
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

[web2py] Re: Doctests keep getting stuck

2010-07-02 Thread Kerem Eryılmaz
.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

[web2py] Re: Doctests keep getting stuck

2010-07-01 Thread Kerem Eryılmaz
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: > > > > >

[web2py] Re: Doctests keep getting stuck

2010-07-01 Thread Kerem Eryılmaz
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

[web2py] Re: Doctests keep getting stuck

2010-06-30 Thread Kerem Eryılmaz
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

[web2py] Doctests keep getting stuck

2010-06-30 Thread Kerem Eryılmaz
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.

[web2py:26312] Bug in pickle_SQLDB()

2009-07-11 Thread Kerem Eryılmaz
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