Hi everybody, i just checked pinax from svn. The fallowing error i am
getting when i run pinax with python 2.5.1 with django 1.0 on
WindowsXP SP2.
TemplateSyntaxError at /
Caught an exception while rendering: Non-ASCII character '\xb1' in
file f:\djpj\django-hotclub\external_libs\ybrowserauth\ybrowserauth.py
on line 104, but no encoding declared; see
http://www.python.org/peps/pep-0263.html
for details (ybrowserauth.py, line 104)
Original Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\django\template\debug.py", line
71, in render_node
result = node.render(context)
File "C:\Python25\Lib\site-packages\django\template\defaulttags.py",
line 373, in render
url = reverse(self.view_name, args=args, kwargs=kwargs)
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 252, in reverse
*args, **kwargs)))
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 226, in reverse
possibilities, pattern = self.reverse_dict.get(lookup_view, [(),
()])
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 160, in _get_reverse_dict
for name, (matches, pat) in pattern.reverse_dict.iteritems():
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 168, in _get_reverse_dict
self._reverse_dict[pattern.callback] = bits, p_pattern
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 129, in _get_callback
self._callback = get_callable(self._callback_str)
File "C:\Python25\Lib\site-packages\django\utils\functional.py",
line 130, in wrapper
result = func(*args)
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 56, in get_callable
lookup_view = getattr(__import__(mod_name, {}, {}, ['']),
func_name)
File "F:\djpj\django-hotclub\core_apps\friends_app\views.py", line
10, in <module>
from friends_app.forms import ImportVCardForm
File "F:\djpj\django-hotclub\core_apps\friends_app\forms.py", line
6, in <module>
from friends.importer import import_vcards
File "F:\djpj\django-hotclub\external_apps\friends\importer.py",
line 6, in <module>
import ybrowserauth
File "f:\djpj\django-hotclub\external_libs\ybrowserauth
\ybrowserauth.py", line 104
SyntaxError: Non-ASCII character '\xb1' in file f:\djpj\django-hotclub
\external_libs\ybrowserauth\ybrowserauth.py on line 104, but no
encoding declared; see
http://www.python.org/peps/pep-0263.html for
details (ybrowserauth.py, line 104)
Request Method: GET
Request URL:
http://localhost/
Exception Type: TemplateSyntaxError
Exception Value:
Caught an exception while rendering: Non-ASCII character '\xb1' in
file f:\djpj\django-hotclub\external_libs\ybrowserauth\ybrowserauth.py
on line 104, but no encoding declared; see
http://www.python.org/peps/pep-0263.html
for details (ybrowserauth.py, line 104)
Original Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\django\template\debug.py", line
71, in render_node
result = node.render(context)
File "C:\Python25\Lib\site-packages\django\template\defaulttags.py",
line 373, in render
url = reverse(self.view_name, args=args, kwargs=kwargs)
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 252, in reverse
*args, **kwargs)))
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 226, in reverse
possibilities, pattern = self.reverse_dict.get(lookup_view, [(),
()])
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 160, in _get_reverse_dict
for name, (matches, pat) in pattern.reverse_dict.iteritems():
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 168, in _get_reverse_dict
self._reverse_dict[pattern.callback] = bits, p_pattern
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 129, in _get_callback
self._callback = get_callable(self._callback_str)
File "C:\Python25\Lib\site-packages\django\utils\functional.py",
line 130, in wrapper
result = func(*args)
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
line 56, in get_callable
lookup_view = getattr(__import__(mod_name, {}, {}, ['']),
func_name)
File "F:\djpj\django-hotclub\core_apps\friends_app\views.py", line
10, in <module>
from friends_app.forms import ImportVCardForm
File "F:\djpj\django-hotclub\core_apps\friends_app\forms.py", line
6, in <module>
from friends.importer import import_vcards
File "F:\djpj\django-hotclub\external_apps\friends\importer.py",
line 6, in <module>
import ybrowserauth
File "f:\djpj\django-hotclub\external_libs\ybrowserauth
\ybrowserauth.py", line 104
SyntaxError: Non-ASCII character '\xb1' in file f:\djpj\django-hotclub
\external_libs\ybrowserauth\ybrowserauth.py on line 104, but no
encoding declared; see
http://www.python.org/peps/pep-0263.html for
details (ybrowserauth.py, line 104)
Exception Location: C:\Python25\Lib\site-packages\django\template
\debug.py in render_node, line 81
Python Executable: C:\Python25\python.exe
Python Version: 2.5.1
Python Path: ['F:\\djpj\\django-hotclub\\core_apps', 'F:\\djpj\
\django-hotclub\\local_apps', 'F:\\djpj\\django-hotclub\
\external_apps', 'f:\\djpj\\django-hotclub\\external_libs\\misc', 'f:\
\djpj\\django-hotclub\\external_libs\\python-yadis-1.1.0', 'f:\\djpj\
\django-hotclub\\external_libs\\pownce-api-0.2', 'f:\\djpj\\django-
hotclub\\external_libs\\pytz-2008b', 'f:\\djpj\\django-hotclub\
\external_libs\\dateutil', 'f:\\djpj\\django-hotclub\\external_libs\
\textile-2.0.11', 'f:\\djpj\\django-hotclub\\external_libs\
\genshi-0.5.1', 'f:\\djpj\\django-hotclub\\external_libs\\python-
twitter-0.5', 'f:\\djpj\\django-hotclub\\external_libs\
\simplejson-1.9.1', 'f:\\djpj\\django-hotclub\\external_libs\
\creoleparser-0.5.0', 'f:\\djpj\\django-hotclub\\external_libs\\geopy-
trunk', 'f:\\djpj\\django-hotclub\\external_libs\\docutils-0.4', 'f:\
\djpj\\django-hotclub\\external_libs\\markdown-1.7', 'f:\\djpj\\django-
hotclub\\external_libs\\vobject-0.6.6', 'f:\\djpj\\django-hotclub\
\external_libs\\gdata.py-1.0.13', 'f:\\djpj\\django-hotclub\
\external_libs\\pygments-0.11.1', 'f:\\djpj\\django-hotclub\
\external_libs\\python-openid-2.1.1', 'f:\\djpj\\django-hotclub\
\external_libs\\feedparser-4.1', 'f:\\djpj\\django-hotclub\
\external_libs\\ybrowserauth', 'F:\\djpj\\django-hotclub\\pinax', 'C:\
\Python25\\lib\\site-packages\\setuptools-0.6c8-py2.5.egg', 'C:\
\Python25\\lib\\site-packages\\sphinx-0.4.2-py2.5.egg', 'C:\\Python25\
\lib\\site-packages\\docutils-0.5-py2.5.egg', 'C:\\Python25\\lib\\site-
packages\\jinja-1.2-py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages
\\pygments-0.11.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\mysql_python-1.2.2-py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages
\\django_tinymce-1.0-py2.5.egg', 'C:\\WINDOWS\\system32\
\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\
\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\
\Python25', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\
\site-packages\\PIL', 'F:\\djpj\\django-hotclub\\external_libs', 'F:\
\djpj\\django-hotclub\\external_libs\\dateutil', 'F:\\djpj\\django-
hotclub\\external_libs\\docutils-0.4', 'F:\\djpj\\django-hotclub\
\external_libs\\feedparser-4.1', 'F:\\djpj\\django-hotclub\
\external_libs\\gdata.py-1.0.13', 'F:\\djpj\\django-hotclub\
\external_libs\\markdown-1.7', 'F:\\djpj\\django-hotclub\\external_libs
\\misc', 'F:\\djpj\\django-hotclub\\external_libs\\pownce-api-0.2', 'F:
\\djpj\\django-hotclub\\external_libs\\python-openid-2.1.1', 'F:\\djpj\
\django-hotclub\\external_libs\\python-yadis-1.1.0', 'F:\\djpj\\django-
hotclub\\external_libs\\ybrowserauth']
Server time: Tue, 30 Sep 200