On Thu, 2009-12-17 at 18:10 +0100, Jens Hoffrichter wrote:
> > import simplejson
> > json_obj = {'foo', 'bar'}
> > return simplejson.dumps(json_obj)
> > etc...
>
> Or even simpler (at least in 0.9.6.2 - not sure if this still stands
> with newer versions)
>
> from pylons.decoraters import jsonify
Browsing around,
It seems that REHL5 supports only Python 2.4. On the other hand, Fedora 11
have included Python 2.6 since June.
See:
http://www.geekymedia.com/tech-articles/rhel5-centos5-rpms-for-python-2-5-and-2-6/
http://fedoraproject.org/wiki/Features/Python_2.6
http://fedoraproject.org/wiki/
On Thu, Dec 17, 2009 at 7:12 PM, Mario Romero wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA224
>
> it seems your upgrade to python 2.6 broke yum.
> Personally, I suggest you get rid of RH and stick to Ubuntu.
> Otherwise you need to fix yum (by rolling back to 2.4 perhaps) and
> after th
On Thu, Dec 17, 2009 at 4:12 PM, Mario Romero wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA224
>
> it seems your upgrade to python 2.6 broke yum.
> Personally, I suggest you get rid of RH and stick to Ubuntu.
> Otherwise you need to fix yum (by rolling back to 2.4 perhaps) and
> after th
On Thu, Dec 17, 2009 at 3:49 PM, sharath maddineni
wrote:
> if I try installing by "yum install zlib"
> it gives me following error
>
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>
> No module named yum
It sounds like y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA224
it seems your upgrade to python 2.6 broke yum.
Personally, I suggest you get rid of RH and stick to Ubuntu.
Otherwise you need to fix yum (by rolling back to 2.4 perhaps) and
after that make sure zlib is installed as well as its development
heade
if I try installing by "yum install zlib"
it gives me following error
*There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is inst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA224
did you try: yum install zlib/zlib-devel?
On Dec 17, 2009, at 4:54 PM, sharath maddineni wrote:
> I am new to Pylons
> I succeded in installing pylon on ubuntu.but i am
> I am trying to install pylons on red hat linux. I install python 2.6
> over
I am new to Pylons
I succeded in installing pylon on ubuntu.but i am
I am trying to install pylons on red hat linux. I install python 2.6 over
python 2.4 recently.
and I am getting a strange error like
python go-pylons.py mydevenv
Traceback (most recent call last):
File "go-pylons.py", line 1094
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17 Dec 2009, at 21:20, Marius Gedminas wrote:
> I recall some fun times being had by all when the json dumper
> generated
>
> {title: "something irrelevant", date: 2004-01-17}
>
> which the browser nicely and silently evaluated to
>
> {title:
On Thu, Dec 17, 2009 at 05:57:23PM +, Graham Higgins wrote:
> Watch out for datetime objects, they can't be directly serialised by
> simplejson's dumps().
I recall some fun times being had by all when the json dumper generated
{title: "something irrelevant", date: 2004-01-17}
which the b
On Thu, Dec 17, 2009 at 12:57 PM, Graham Higgins wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> On 17 Dec 2009, at 12:18, Krishnakant wrote:
>
> > Hello all,
> > I have been searching for some good json example for pylons
> > application.
>
>
> Mariano's tightly-focused pointer sho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17 Dec 2009, at 12:18, Krishnakant wrote:
> Hello all,
> I have been searching for some good json example for pylons
> application.
Mariano's tightly-focused pointer should have landed you in the right
place in that chapter of the Pylons boo
> import simplejson
> json_obj = {'foo', 'bar'}
> return simplejson.dumps(json_obj)
> etc...
Or even simpler (at least in 0.9.6.2 - not sure if this still stands
with newer versions)
from pylons.decoraters import jsonify
class TestController(BaseController):
@jsonify
def testaction(self):
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA224
import simplejson
json_obj = {'foo', 'bar'}
return simplejson.dumps(json_obj)
etc...
On Dec 17, 2009, at 6:18 AM, Krishnakant wrote:
> Hello all,
> I have been searching for some good json example for pylons
> application.
>
> My case is that i h
Excerpts from Krishnakant's message of Thu Dec 17 09:18:29 -0300 2009:
> Hello all,
> I have been searching for some good json example for pylons application.
>
> My case is that i have a list of accounts in a book keeping software and
> when the user chooses one account, the opening balance has t
Hello all,
I have been searching for some good json example for pylons application.
My case is that i have a list of accounts in a book keeping software and
when the user chooses one account, the opening balance has to be
displayed in a text field.
So i plan to right an onclick event for the list
Ross Vandegrift a écrit :
> On Wed, Dec 16, 2009 at 04:53:49PM +0100, Thomas Bellembois wrote:
>
>> What is the best way to user CAS authentication with Pylon ?
>> I tried to use pycas (http://www.ja-sig.org/wiki/display/CASC/Pycas)
>> putting the four lines in one of my controllers but this le
18 matches
Mail list logo