ProgrammingError at admin main mark add 1146 Table marks tagging_tag d

  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
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
ProgrammingError at /admin/main/mark/add/
(1146, "Table 'marks.tagging_tag' doesn't exist")Request Method: POST
Request URL: http://localhost:8000/admin/main/mark/add/
Exception Type: ProgrammingError
Exception Value: (1146, "Table 'marks.tagging_tag' doesn't exist")
Exception Location: /usr/lib64/python2.5/site-packages/MySQLdb/connections.py in defaulterrorhandler, line 35
Python Executable: /usr/bin/python
Python Version: 2.5.1
Python Path: ['/home/aliens/Documents/MyPython/Django/marks', '/usr/lib64/python2.5/site-packages/PSI-0.2a3-py2.5-linux-x86_64.egg', '/usr/lib64/portage/pym', '/usr/lib64/python25.zip', '/usr/lib64/python2.5', '/usr/lib64/python2.5/plat-linux2', '/usr/lib64/python2.5/lib-tk', '/usr/lib64/python2.5/lib-dynload', '/usr/lib64/python2.5/site-packages', '/usr/lib64/python2.5/site-packages/gtk-2.0']
Server time: Sat, 17 Май 2008 18:39:04 +0300
Traceback Switch to copy-and-paste view
/usr/lib64/python2.5/site-packages/django/core/handlers/base.py in get_response
...
response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/contrib/admin/views/decorators.py in _checklogin
...
return view_func(request, *args, **kwargs) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/views/decorators/cache.py in _wrapped_view_func
...
response = view_func(request, *args, **kwargs) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/contrib/admin/views/main.py in add_stage
...
new_object = manipulator.save(new_data) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/db/models/manipulators.py in save
...
new_object.save() ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/db/models/base.py in save
...
instance=self, created=(not record_exists), raw=raw) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/dispatch/dispatcher.py in send
...
**named ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/dispatch/robustapply.py in robustApply
...
return receiver(*arguments, **named) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/tagging/fields.py in _save
Tag.objects.update_tags(instance, tags)
...
...
▶ Local vars
/usr/lib64/python2.5/site-packages/tagging/managers.py in update_tags
items__object_id=obj.pk))
...
...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/db/models/query.py in __iter__
...
return iter(self._get_data()) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/db/models/query.py in _get_data
...
self._result_cache = list(self.iterator()) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/db/models/query.py in iterator
...
cursor.execute("SELECT " + (self._distinct and "DISTINCT " or "") + ",".join(select) + sql, params) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/django/db/backends/util.py in execute
...
return self.cursor.execute(sql, params) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/MySQLdb/cursors.py in execute
...
self.errorhandler(self, exc, value) ...
▶ Local vars
/usr/lib64/python2.5/site-packages/MySQLdb/connections.py in defaulterrorhandler
...
raise errorclass, errorvalue ...
▶ Local vars
Request information
GET
No GET data
POSTVariable Value
author u'1'
review u'10'
title u'\u0442\u0435\u0441\u0442'
date_add_date u'2008-05-17'
content u'\u043b\u043e\u0430\u0440\u044b\u0432\u043b\u043e\u0430 \u044b\u0432\u043b\u0430\u0440\u043b\u043e\u044b\u0432\u0440 \u044b\u043b\u0432\u0440\u0430\u043e\u043b\u0432\u0430\u043b \u044b\u0432\u0430 \u044b\u0432'
date_add_time u'18:35:08'
tags u'\u0442\u0435\u0441\u0442,\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430,\u043d\u043e\u0432\u043e\u0441\u0442\u044c'
COOKIESVariable Value
sessionid 'a64561e51c7b4e3bd91482ca8e6d6ff2'
METAVariable Value
ANT_HOME '/usr/share/ant-core'
CLASSPATH '.'
COLORTERM ''
CONFIG_PROTECT '/usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config'
CONFIG_PROTECT_MASK '/etc/gentoo-release /etc/env.d/java/ /etc/udev/rules.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/revdep-rebuild'
CONTENT_LENGTH '444'
CONTENT_TYPE 'application/x-www-form-urlencoded'
CVS_RSH 'ssh'
DBUS_SESSION_BUS_ADDRESS 'unix:abstract=/tmp/dbus-DYVj69UOwD,guid=fbc2bf1feef76bf26966a30c482f0bb0'
DESKTOP_SESSION 'default'
DISPLAY ':0'
DISPLAYMANAGER 'kdm'
DJANGO_SETTINGS_MODULE 'marks.settings'
DM_CONTROL '/var/run/xdmctl'
EDITOR '/bin/nano'
GATEWAY_INTERFACE 'CGI/1.1'
GCC_SPECS ''
GDK_USE_XFT '1'
GENERATION '2'
GS_LIB '/home/aliens/.fonts'
GTK2_RC_FILES '/home/aliens/.gtkrc-2.0-kde:/home/aliens/.kde3.5/share/config/gtkrc-2.0'
GTK_RC_FILES '/etc/gtk/gtkrc:/home/aliens/.gtkrc:/home/aliens/.kde3.5/share/config/gtkrc'
HOME '/home/aliens'
HTTP_ACCEPT 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1'
HTTP_ACCEPT_CHARSET 'iso-8859-1, utf-8, utf-16, *;q=0.1'
HTTP_ACCEPT_ENCODING 'deflate, gzip, x-gzip, identity, *;q=0'
HTTP_ACCEPT_LANGUAGE 'ru,en;q=0.9'
HTTP_CONNECTION 'Keep-Alive, TE'
HTTP_COOKIE 'sessionid=a64561e51c7b4e3bd91482ca8e6d6ff2'
HTTP_COOKIE2 '$Version=1'
HTTP_HOST 'localhost:8000'
HTTP_REFERER 'http://localhost:8000/admin/main/mark/add/'
HTTP_TE 'deflate, gzip, chunked, identity, trailers'
HTTP_USER_AGENT 'Opera/9.50 (X11; Linux x86_64; U; ru)'
INFOPATH '/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info'
JAVAC '/etc/java-config-2/current-system-vm/bin/javac'
JAVA_HOME '/etc/java-config-2/current-system-vm'
JDK_HOME '/etc/java-config-2/current-system-vm'
KDEDIR '/usr/kde/3.5'
KDEDIRS '/usr:/usr/local:/usr/kde/3.5'
KDEWM 'compiz-manager'
KDE_FULL_SESSION 'true'
KDE_MULTIHEAD 'false'
KDE_SESSION_UID '1000'
KONSOLE_DCOP 'DCOPRef(konsole-3008,konsole)'
KONSOLE_DCOP_SESSION 'DCOPRef(konsole-3008,session-2)'
LANG 'ru_RU.UTF-8'
LC_ALL ''
LC_NUMERIC 'C'
LDPATH '/usr/kde/3.5/lib:/usr/kde/3.5/lib64:/usr/kde/3.5/lib32:'
LESS '-R -M --shift 5'
LESSOPEN '|lesspipe.sh %s'
LOGNAME 'aliens'
LS_COLORS 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:'
MANPATH '/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/opera/share/man'
OPENGL_PROFILE 'nvidia'
PAGER '/usr/bin/less'
PATH '/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/games/bin'
PATH_INFO '/admin/main/mark/add/'
PKG_CONFIG_PATH '/usr/qt/3/lib64/pkgconfig'
PWD '/home/aliens/Documents/MyPython/Django/marks'
PYTHONPATH '/usr/lib64/portage/pym'
QMAKESPEC 'linux-g++'
QTDIR '/usr/qt/3'
QUERY_STRING ''
REMOTE_ADDR '127.0.0.1'
REMOTE_HOST ''
REQUEST_METHOD 'POST'
ROOTPATH '/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/games/bin'
RUN_MAIN 'true'
SBCL_HOME '/usr/lib64/sbcl'
SBCL_SOURCE_ROOT '/usr/lib64/sbcl/src'
SCRIPT_NAME ''
SERVER_NAME 'localhost'
SERVER_PORT '8000'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.5.1'
SESSION_MANAGER 'local/localhost:/tmp/.ICE-unix/2995'
SHELL '/bin/bash'
SHLVL '2'
TERM 'xterm'
TZ 'Europe/Simferopol'
USER 'aliens'
VMHANDLE 'blackdown-jdk-1.4.2'
WINDOWID '10485901'
XCURSOR_THEME 'default'
XDG_CONFIG_DIRS '/usr/kde/3.5/etc/xdg'
XDG_DATA_DIRS '/usr/share:/usr/kde/3.5/share:/usr/local/share'
XDM_MANAGED '/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic'
XSESSION 'kde-3.5'
_ '/usr/bin/python'
wsgi.errors <open file '<stderr>', mode 'w' at 0x2adc2e18f210>
wsgi.file_wrapper <class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input <socket._fileobject object at 0x1345a28>
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 0)
Settings
Using settings module marks.settingsSetting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS ()
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH True
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS ()
CACHE_BACKEND 'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX ''
CACHE_MIDDLEWARE_SECONDS 600
COMMENTS_ALLOW_PROFANITIES False
COMMENTS_BANNED_USERS_GROUP None
COMMENTS_FIRST_FEW 0
COMMENTS_MODERATORS_GROUP None
COMMENTS_SKETCHY_USERS_GROUP None
DATABASE_ENGINE 'mysql'
DATABASE_HOST '192.168.66.250'
DATABASE_NAME 'marks'
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_USER 'marks'
DATETIME_FORMAT 'N j, Y, P'
DATE_FORMAT 'N j, Y'
DEBUG True
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_FROM_EMAIL 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS ()
EMAIL_HOST 'localhost'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER ''
EMAIL_PORT 25
EMAIL_SUBJECT_PREFIX '[Django] '
EMAIL_USE_TLS False
FILE_CHARSET 'utf-8'
FIXTURE_DIRS ()
IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'marks.main', 'marks.libs']
INTERNAL_IPS ()
JING_PATH '/usr/bin/jing'
LANGUAGES (('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI ('he', 'ar', 'fa')
LANGUAGE_CODE 'ru-RU'
LANGUAGE_COOKIE_NAME 'django_language'
LOCALE_PATHS ()
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/accounts/login/'
LOGOUT_URL '/accounts/logout/'
MANAGERS ()
MEDIA_ROOT ''
MEDIA_URL ''
MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware')
MONTH_DAY_FORMAT 'F j'
PREPEND_WWW False
PROFANITIES_LIST '********************'
ROOT_URLCONF 'marks.urls'
SECRET_KEY '********************'
SEND_BROKEN_LINK_EMAILS False
SERVER_EMAIL 'root@localhost'
SESSION_COOKIE_AGE 1209600
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_NAME 'sessionid'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SETTINGS_MODULE 'marks.settings'
SITE_ID 1
TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media')
TEMPLATE_DEBUG True
TEMPLATE_DIRS ()
TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID ''
TEST_DATABASE_CHARSET None
TEST_DATABASE_COLLATION None
TEST_DATABASE_NAME None
TEST_RUNNER 'django.test.simple.run_tests'
TIME_FORMAT 'P'
TIME_ZONE 'Europe/Simferopol'
TRANSACTIONS_MANAGED False
URL_VALIDATOR_USER_AGENT u'Django/0.97-pre-SVN-unknown (http://www.djangoproject.com)'
USE_ETAGS False
USE_I18N True
YEAR_MONTH_FORMAT 'F Y'