Environment Request Method POST Request URL http undefined org ua admi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Environment:
Request Method: POST
Request URL: http://undefined.org.ua/admin/blog/post/add/
Django Version: 0.97-pre-SVN-7199
Python Version: 2.5.1
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.flatpages',
'django.contrib.markup',
'lib',
'pytils',
'accounts',
'blog',
'discussion',
'openidconsumer',
'pingback',
'tagging',
'typogrify',
'sape',
'render',
'robots',
'textblocks',
'livejournal',
'multilingual',
'blogroll',
'openidserver']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'lib.threadlocals.ThreadLocalsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'middleware.url.UrlMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'middleware.redirect.RedirectMiddleware',
'openidconsumer.middleware.OpenIDMiddleware',
'django.middleware.doc.XViewMiddleware',
'middleware.ajax_errors.AjaxMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response
82. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/decorators.py" in _checklogin
62. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
44. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/main.py" in add_stage
264. new_object = manipulator.save(new_data)
File "/usr/lib/python2.5/site-packages/django/db/models/manipulators.py" in save
109. new_object.save()
File "/var/www/undefined.org.ua/byteflow/apps/blog/models.py" in save
96. super(Post, self).save()
File "/usr/lib/python2.5/site-packages/django/db/models/base.py" in save
276. instance=self, created=(not record_exists), raw=raw)
File "/usr/lib/python2.5/site-packages/django/dispatch/dispatcher.py" in send
360. **named
File "/usr/lib/python2.5/site-packages/django/dispatch/robustapply.py" in robustApply
47. return receiver(*arguments, **named)
File "/var/www/undefined.org.ua/byteflow/apps/pingback/client.py" in ping_external_links
115. soup = BeautifulSoup(content)
File "/usr/lib/python2.5/site-packages/BeautifulSoup.py" in __init__
1435. BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/BeautifulSoup.py" in __init__
1058. self._feed()
File "/usr/lib/python2.5/site-packages/BeautifulSoup.py" in _feed
1082. smartQuotesTo=self.smartQuotesTo)
File "/usr/lib/python2.5/site-packages/BeautifulSoup.py" in __init__
1704. u = self._convertFrom(proposed_encoding)
File "/usr/lib/python2.5/site-packages/BeautifulSoup.py" in _convertFrom
1734. markup)
Exception Type: TypeError at /admin/blog/post/add/
Exception Value: expected string or buffer