470,572 Members | 2,087 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,572 developers. It's quick & easy.

Py2exe Json

I want to use json with py2exe but when I execute the program

I have this errors : "Runtime Error : maximun recursion depth
exceeded"

Here is my code :

import json
jsonstr='{"toto":"toto"}'
print json.read(jsonstr)
and my setup

#!/usr/bin/env python
# -*- coding: latin-1 -*-

import sys, os, getopt
from distutils.core import setup, Extension
import py2exe

includes = ["encodings",
"encodings.*",]

options = {"py2exe": { # create a compressed zip archive
"compressed": 1,
"optimize": 2,
"includes": includes,
"packages": ["encodings", "email","json"]
}}
version_string='1.2'

setup(name="test_json",
options=options,
version=version_string,
description="Test json",
console=['debugjson.py'],

data_files=[]
)
Have you got an idea ?
Jun 27 '08 #1
0 777

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by RJS | last post: by
reply views Thread by Kathleen Kudzma | last post: by
8 posts views Thread by Kathleen Kudzma | last post: by
6 posts views Thread by Luc Saffre | last post: by
16 posts views Thread by G Matthew J | last post: by
20 posts views Thread by Luke Matuszewski | last post: by
2 posts views Thread by Kevin Newman | last post: by
23 posts views Thread by dhtmlkitchen | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.