Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 58)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#68 invalid Failed Nagare installation on Mac OS X 10.6.4 apoirier Yanguy

Reported by Yanguy, 7 years ago.

Description

Using the following steps :

  • Run the 'stackless python' installer with no modification through the installation process
sh-3.2# /usr/local/bin/python2.6
Python 2.6.5 Stackless 3.1b3 060516 (release26-maint, Mar 24 2010, 09:47:07) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
  • Run '<STACKLESS_HOME>/bin/python virtualenv-1.5.1/virtualenv.py <NAGARE_HOME>' command using default stackless python installation directory (/usr/local/bin/python2.6)
  • Run '<NAGARE_HOME>/bin/easy_install 'nagare[full]'

Got the following error message

Searching for nagare[full]
Reading http://pypi.python.org/simple/nagare/
Reading http://www.nagare.org
Reading http://www.nagare.org/download
Best match: nagare 0.3.0
Downloading http://www.nagare.org/download/nagare-0.3.0.tar.gz
Processing nagare-0.3.0.tar.gz
Running nagare-0.3.0/setup.py -q bdist_egg --dist-dir /var/folders/O-/O-8z4PtQFwiydOlFeN57BE+++TI/-Tmp-/easy_install-mTtBqx/nagare-0.3.0/egg-dist-tmp-TC8YBq
You must use Python Stackless !
Get it at http://www.stackless.com
error: Setup script exited with -1
#13 fixed ajax.py2js with strings and dicts apoirier vrialland

Reported by vrialland, 9 years ago.

Description

Strings : py2js doesn't escape characters such as ", \n...

current code: ajax.py line 365 : return '"'+value+'"

working: return '"%s"' % value.replace('
', '

').replace("\n","
n").replace('"','
"')


Dicts : An error occurs when a key in the dict contains the minus sign, Python tries to evaluate it:

current code : ajax.py line 323 return '{ ' + ', '.join(% (name, py2js(value, h)) for (name, value) in d.items()?) + '}'

working : return '{ ' + ', '.join(% (py2js(name, h), py2js(value, h)) for (name, value) in d.items()?) + ' }'

#14 fixed Invalid generated code when rendering HeadRender with "async" model apoirier vrialland

Reported by vrialland, 9 years ago.

Description

Sometimes a "missing ) after argument list  http://localhost:8080/static/nagare/ajax.js Line 13" if the response contains special characters.

line 941, 942 of xhtml.py :

css.replace("'", r"\'").replace('\n', ''),
js.replace("'", r"\'").replace('\n', '').encode('utf-8')

working:

css.replace('\\','\\\\').replace("'", r"\'").replace('\n', ''),
js.replace('\\','\\\\').replace("'", r"\'").replace('\n', '').encode('utf-8')
1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.