IOError at /users/a1/ cannot identify image file Request Method: POST Request URL: http://127.0.0.1:8000/users/a1/ Exception Type: IOError Exception Value: cannot identify image file Exception Location: /usr/lib/python2.5/site-packages/PIL/Image.py in open, line 1917 Python Executable: /usr/bin/python Python Version: 2.5.4 Python Path: ['/home/r/PROJECTS/django/mysites/myprj/../myprj', '/home/r/PROJECTS/django/mysites/myprj', '/home/r/PROJECTS/django/mysites/myprj', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/usr/lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-support/python2.5/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode', '/home/r/PROJECTS/django/mysites/myprj/apps', '/home/r/PROJECTS/django/mysites/myprj/../myprj/apps'] Server time: Втр, 19 Май 2009 19:47:41 +0300 Traceback Switch to copy-and-paste view * /usr/lib/python2.5/site-packages/django/core/handlers/base.py in get_response 85. # Apply view middleware 86. for middleware_method in self._view_middleware: 87. response = middleware_method(request, callback, callback_args, callback_kwargs) 88. if response: 89. return response 90. 91. try: 92. response = callback(request, *callback_args, **callback_kwargs) ... 93. except Exception, e: 94. # If the view raised an exception, run it through exception 95. # middleware, and if the exception middleware returns a 96. # response, use that. Otherwise, reraise the exception. 97. for middleware_method in self._exception_middleware: 98. response = middleware_method(request, e) ▶ Local vars Variable Value callback callback_args (u'a1',) callback_kwargs {} e IOError('cannot identify image file',) exc_info (, IOError('cannot identify image file',), ) exceptions middleware_method > receivers [(, None)] request , POST:, COOKIES:{'sessionid': '2859e570436c9644d275d3222b6f32ff', 'ui-tabs-3': '4'}, META:{'COLORTERM': 'gnome-terminal', 'CONTENT_LENGTH': '806582', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------97986378021161201242139943020', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-xsq3O9EIAx,guid=53a931d10bf7f8c51ccb1ad34a1278d2', 'DESKTOP_SESSION': 'default.desktop', 'DISPLAY': ':0.0', 'DJANGO_SETTINGS_MODULE': 'myprj.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'GDMSESSION': 'default.desktop', 'GDM_LANG': 'ru_RU.UTF-8', 'GDM_XSERVER_LOCATION': 'local', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GNOME_KEYRING_SOCKET': '/tmp/keyring-RXkGjd/socket', 'GPG_AGENT_INFO': '/tmp/gpg-43uqI8/S.gpg-agent:3473:1', 'GTK_MODULES': 'canberra-gtk-module', 'GTK_RC_FILES': '/etc/gtk/gtkrc:/home/r/.gtkrc-1.2-gnome2', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/r', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'ru,en;q=0.7,en-us;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'ui-tabs-3=4; sessionid=2859e570436c9644d275d3222b6f32ff', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://127.0.0.1:8000/users/a1/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10', 'LANG': 'ru_RU.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'r', '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=40;31;01: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:*.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:', 'OLDPWD': '/home/r', 'ORBIT_SOCKETDIR': '/tmp/orbit-r', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/users/a1/', 'PWD': '/home/r/myprj', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.4', 'SESSION_MANAGER': 'local/krv:/tmp/.ICE-unix/3377', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_AGENT_PID': '3472', 'SSH_AUTH_SOCK': '/tmp/keyring-RXkGjd/socket.ssh', 'TERM': 'xterm', 'TZ': 'Europe/Kiev', 'USER': 'r', 'USERNAME': 'r', 'WINDOWID': '23068726', 'WINDOWPATH': '7', 'XAUTHORITY': '/home/r/.Xauthority', 'XDG_DATA_DIRS': '/usr/local/share/:/usr/share/:/usr/share/gdm/', 'XDG_SESSION_COOKIE': '0c043d89b148b6880bffa0994a07fc70-1242724560.780693-566207087', '_': './manage.py', 'wsgi.errors': ', mode 'w' at 0xb7dd00b0>, 'wsgi.file_wrapper': , 'wsgi.input': , 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> resolver response None self settings urlconf 'myprj.urls' urlresolvers * /home/r/PROJECTS/django/mysites/myprj/../myprj/apps/registration/views.py in private_data 80. type_forma = request.POST.get('type_forma', 'nothing') 81. if type_forma == "upload": 82. if photos.count() < settings.LIMIT_UPLOAD_PHOTO: 83. form_photo = PhotomyprjForm({'userprofile': current_user}, request.FILES) 84. if form_photo.is_valid(): 85. post = request.POST.copy() 86. post.update({'userprofile': current_user}) 87. form_photo = PhotomyprjForm(post, request.FILES).save() ... 88. return HttpResponseRedirect(reverse('thanks', args=(username,))) 89. else: 90. return render_to_response('error.html', {'error': "Превышен лимит загрузки фото"}) 91. 92. if type_forma == "delete": 93. for path in request.POST.getlist('list_photo'): ▶ Local vars Variable Value args (u'a1',) current_user form_photo photos [] post ]}> request , POST:, COOKIES:{'sessionid': '2859e570436c9644d275d3222b6f32ff', 'ui-tabs-3': '4'}, META:{'COLORTERM': 'gnome-terminal', 'CONTENT_LENGTH': '806582', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------97986378021161201242139943020', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-xsq3O9EIAx,guid=53a931d10bf7f8c51ccb1ad34a1278d2', 'DESKTOP_SESSION': 'default.desktop', 'DISPLAY': ':0.0', 'DJANGO_SETTINGS_MODULE': 'myprj.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'GDMSESSION': 'default.desktop', 'GDM_LANG': 'ru_RU.UTF-8', 'GDM_XSERVER_LOCATION': 'local', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GNOME_KEYRING_SOCKET': '/tmp/keyring-RXkGjd/socket', 'GPG_AGENT_INFO': '/tmp/gpg-43uqI8/S.gpg-agent:3473:1', 'GTK_MODULES': 'canberra-gtk-module', 'GTK_RC_FILES': '/etc/gtk/gtkrc:/home/r/.gtkrc-1.2-gnome2', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/r', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'ru,en;q=0.7,en-us;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'ui-tabs-3=4; sessionid=2859e570436c9644d275d3222b6f32ff', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://127.0.0.1:8000/users/a1/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10', 'LANG': 'ru_RU.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'r', '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=40;31;01: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:*.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:', 'OLDPWD': '/home/r', 'ORBIT_SOCKETDIR': '/tmp/orbit-r', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/users/a1/', 'PWD': '/home/r/myprj', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.4', 'SESSION_MANAGER': 'local/krv:/tmp/.ICE-unix/3377', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_AGENT_PID': '3472', 'SSH_AUTH_SOCK': '/tmp/keyring-RXkGjd/socket.ssh', 'TERM': 'xterm', 'TZ': 'Europe/Kiev', 'USER': 'r', 'USERNAME': 'r', 'WINDOWID': '23068726', 'WINDOWPATH': '7', 'XAUTHORITY': '/home/r/.Xauthority', 'XDG_DATA_DIRS': '/usr/local/share/:/usr/share/:/usr/share/gdm/', 'XDG_SESSION_COOKIE': '0c043d89b148b6880bffa0994a07fc70-1242724560.780693-566207087', '_': './manage.py', 'wsgi.errors': ', mode 'w' at 0xb7dd00b0>, 'wsgi.file_wrapper': , 'wsgi.input': , 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> type_forma u'upload' username u'a1' * /usr/lib/python2.5/site-packages/django/forms/models.py in save 400. database. Returns ``instance``. 401. """ 402. if self.instance.pk is None: 403. fail_message = 'created' 404. else: 405. fail_message = 'changed' 406. return save_instance(self, self.instance, self._meta.fields, 407. fail_message, commit, exclude=self._meta.exclude) ... 408. 409. save.alters_data = True 410. 411. class ModelForm(BaseModelForm): 412. __metaclass__ = ModelFormMetaclass 413. ▶ Local vars Variable Value commit True fail_message 'created' self * /usr/lib/python2.5/site-packages/django/forms/models.py in save_instance 58. # instead of allowing it and throwing an error. 59. if isinstance(f, models.OneToOneField) and cleaned_data[f.name] is None: 60. pass 61. else: 62. f.save_form_data(instance, cleaned_data[f.name]) 63. 64. for f in file_field_list: 65. f.save_form_data(instance, cleaned_data[f.name]) ... 66. 67. # Wrap up the saving of m2m data as a function. 68. def save_m2m(): 69. opts = instance._meta 70. cleaned_data = form.cleaned_data 71. for f in opts.many_to_many: ▶ Local vars Variable Value cleaned_data {'description': u'', 'photo': , 'userprofile': } commit True exclude None f fail_message 'created' fields None file_field_list [] form instance models opts * /home/r/PROJECTS/django/mysites/myprj/apps/registration/fields.py in save_form_data 9. from math import atan, degrees 10. FONT = settings.MEDIA_ROOT + settings.FONT_NAME 11. 12. 13. class ThumbnailImageField(models.ImageField): 14. def save_form_data(self, instance, data): 15. if data and isinstance(data, UploadedFile): 16. im = Image.open(data).convert("RGB") ... 17. watermark = Image.new("RGBA", (im.size[0], im.size[1])) 18. draw = ImageDraw.ImageDraw(watermark, "RGBA") 19. size = 0 20. while True: 21. size += 1 22. nextfont = ImageFont.truetype(FONT, size) ▶ Local vars Variable Value data instance self * /usr/lib/python2.5/site-packages/PIL/Image.py in open 1910. factory, accept = OPEN[i] 1911. if not accept or accept(prefix): 1912. fp.seek(0) 1913. return factory(fp, filename) 1914. except (SyntaxError, IndexError, TypeError): 1915. pass 1916. 1917. raise IOError("cannot identify image file") ... 1918. 1919. # 1920. # Image processing. 1921. 1922. ## 1923. # Creates a new image by interpolating between two input images, using ▶ Local vars Variable Value accept None factory filename '' fp i 'SPIDER' mode 'r' prefix '' Environment: Request Method: POST Request URL: http://127.0.0.1:8000/users/a1/ Django Version: 1.1 beta 1 SVN-10825 Python Version: 2.5.4 Installed Applications: ['django.contrib.auth', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.comments', 'django.contrib.sitemaps', 'djapian', 'apps.new', 'registration', 'find', 'apps.log', 'tinymce', 'apps.consult', 'filebrowser', 'template_utils', 'sphene.community', 'sphene.sphboard', 'sphene.sphwiki', 'sphene.sphsearchboard', 'cms'] Installed Middleware: ('sphene.community.middleware.ThreadLocals', 'sphene.community.middleware.GroupMiddleware', 'sphene.community.middleware.LastModified', 'sphene.community.middleware.PermissionDeniedMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.gzip.GZipMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.doc.XViewMiddleware') Traceback: File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 92. response = callback(request, *callback_args, **callback_kwargs) File "/home/r/PROJECTS/django/mysites/myprj/../myprj/apps/registration/views.py" in private_data 87. form_photo = PhotomyprjForm(post, request.FILES).save() File "/usr/lib/python2.5/site-packages/django/forms/models.py" in save 407. fail_message, commit, exclude=self._meta.exclude) File "/usr/lib/python2.5/site-packages/django/forms/models.py" in save_instance 65. f.save_form_data(instance, cleaned_data[f.name]) File "/home/r/PROJECTS/django/mysites/myprj/apps/registration/fields.py" in save_form_data 16. im = Image.open(data).convert("RGB") File "/usr/lib/python2.5/site-packages/PIL/Image.py" in open 1917. raise IOError("cannot identify image file") Exception Type: IOError at /users/a1/ Exception Value: cannot identify image file Request information GET No GET data POST Variable Value type_forma u'upload' description u'' FILES Variable Value photo COOKIES Variable Value ui-tabs-3 '4' sessionid '2859e570436c9644d275d3222b6f32ff' META Variable Value COLORTERM 'gnome-terminal' CONTENT_LENGTH '806582' CONTENT_TYPE 'multipart/form-data; boundary=---------------------------97986378021161201242139943020' DBUS_SESSION_BUS_ADDRESS 'unix:abstract=/tmp/dbus-xsq3O9EIAx,guid=53a931d10bf7f8c51ccb1ad34a1278d2' DESKTOP_SESSION 'default.desktop' DISPLAY ':0.0' DJANGO_SETTINGS_MODULE 'myprj.settings' GATEWAY_INTERFACE 'CGI/1.1' GDMSESSION 'default.desktop' GDM_LANG 'ru_RU.UTF-8' GDM_XSERVER_LOCATION 'local' GNOME_DESKTOP_SESSION_ID 'this-is-deprecated' GNOME_KEYRING_SOCKET '/tmp/keyring-RXkGjd/socket' GPG_AGENT_INFO '/tmp/gpg-43uqI8/S.gpg-agent:3473:1' GTK_MODULES 'canberra-gtk-module' GTK_RC_FILES '/etc/gtk/gtkrc:/home/r/.gtkrc-1.2-gnome2' HISTCONTROL 'ignoreboth' HOME '/home/r' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_CHARSET 'windows-1251,utf-8;q=0.7,*;q=0.7' HTTP_ACCEPT_ENCODING 'gzip,deflate' HTTP_ACCEPT_LANGUAGE 'ru,en;q=0.7,en-us;q=0.3' HTTP_CONNECTION 'keep-alive' HTTP_COOKIE 'ui-tabs-3=4; sessionid=2859e570436c9644d275d3222b6f32ff' HTTP_HOST '127.0.0.1:8000' HTTP_KEEP_ALIVE '300' HTTP_REFERER 'http://127.0.0.1:8000/users/a1/' HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10' LANG 'ru_RU.UTF-8' LESSCLOSE '/usr/bin/lesspipe %s %s' LESSOPEN '| /usr/bin/lesspipe %s' LOGNAME 'r' 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=40;31;01: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:*.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:' OLDPWD '/home/r' ORBIT_SOCKETDIR '/tmp/orbit-r' PATH '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PATH_INFO u'/users/a1/' PWD '/home/r/myprj' QUERY_STRING '' REMOTE_ADDR '127.0.0.1' REMOTE_HOST '' REQUEST_METHOD 'POST' RUN_MAIN 'true' SCRIPT_NAME u'' SERVER_NAME 'localhost' SERVER_PORT '8000' SERVER_PROTOCOL 'HTTP/1.1' SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.5.4' SESSION_MANAGER 'local/krv:/tmp/.ICE-unix/3377' SHELL '/bin/bash' SHLVL '1' SSH_AGENT_PID '3472' SSH_AUTH_SOCK '/tmp/keyring-RXkGjd/socket.ssh' TERM 'xterm' TZ 'Europe/Kiev' USER 'r' USERNAME 'r' WINDOWID '23068726' WINDOWPATH '7' XAUTHORITY '/home/r/.Xauthority' XDG_DATA_DIRS '/usr/local/share/:/usr/share/:/usr/share/gdm/' XDG_SESSION_COOKIE '0c043d89b148b6880bffa0994a07fc70-1242724560.780693-566207087' _ './manage.py' wsgi.errors ', mode 'w' at 0xb7dd00b0> wsgi.file_wrapper wsgi.input wsgi.multiprocess False wsgi.multithread True wsgi.run_once False wsgi.url_scheme 'http' wsgi.version (1, 0) Settings Using settings module myprj.settings Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS (('Roman Kalinichenko', 'romankrv@gmail.com'),) ADMIN_FOR () ADMIN_MEDIA_PREFIX '/media/admin/' ALLOWED_INCLUDE_ROOTS () APPEND_SLASH True AUTHENTICATION_BACKENDS ('backends.EmailTooBackend',) BANNED_IPS () BASE_URL_FORUM '127.0.0.1:8000' CACHE_BACKEND 'locmem://' CACHE_MIDDLEWARE_KEY_PREFIX '' CACHE_MIDDLEWARE_SECONDS 600 CMS_DEFAULT_TEMPLATE 'cms/base.html' CMS_LANGUAGE_DEFAULT 'ru' CMS_LANGUAGE_REDIRECT False CMS_SITE_TITLE u'\u041f\u043e\u0440\u0442\u0430\u043b \u043d\u0430\u0442\u0430\u0440\u0438\u0443\u0441\u043e\u0432 \u041a\u0438\u0435\u0432\u0430' CMS_USE_TINYMCE True 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 '' DATABASE_NAME 'krv_myprj_kiev_db' DATABASE_OPTIONS {} DATABASE_PASSWORD '********************' DATABASE_PORT '' DATABASE_USER 'root' DATETIME_FORMAT 'N j, Y, P' DATE_FORMAT 'N j, Y' DEBUG True DEBUG_PROPAGATE_EXCEPTIONS False DEFAULT_CHARSET 'utf-8' DEFAULT_CONTENT_TYPE 'text/html' DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL 'romankrv@sat.poltava.ua' DEFAULT_INDEX_TABLESPACE '' DEFAULT_TABLESPACE '' DISALLOWED_USER_AGENTS () DJAPIAN_DATABASE_PATH '/home/r/PROJECTS/django/mysites/myprj/../myprjdjapian_db' EMAIL_HOST 'mail.sat.poltava.ua' EMAIL_HOST_PASSWORD '********************' EMAIL_HOST_USER 'romankrv@sat.poltava.ua' EMAIL_PORT 25 EMAIL_SUBJECT_PREFIX '[Django] ' EMAIL_USE_TLS False FILEBROWSER_PATH_SERVER '/home/r/PROJECTS/django/mysites/myprj/../myprj/media/uploads' FILEBROWSER_URL_FILEBROWSER_MEDIA '/media//filebrowser/' FILEBROWSER_URL_WWW '/media//uploads/' FILE_CHARSET 'utf-8' FILE_UPLOAD_HANDLERS ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') FILE_UPLOAD_MAX_MEMORY_SIZE 2621440 FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_TEMP_DIR None FIRST_CATEGORY_NAME 'General' FIRST_CATEGORY_TITLE u'\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u0443\u043c\u0430.' FIXTURE_DIRS () FONT_NAME '/fonts/Vera.ttf' FORCE_SCRIPT_NAME None 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.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.comments', 'django.contrib.sitemaps', 'djapian', 'apps.new', 'registration', 'find', 'apps.log', 'tinymce', 'apps.consult', 'filebrowser', 'template_utils', 'sphene.community', 'sphene.sphboard', 'sphene.sphwiki', 'sphene.sphsearchboard', 'cms'] INTERNAL_IPS ('127.0.0.1',) JING_PATH '/usr/bin/jing' LANGUAGES (('uk', 'Ukrainian'), ('ru', 'Russian'), ('en', 'English')) LANGUAGES_BIDI ('he', 'ar', 'fa') LANGUAGE_CODE 'ru' LANGUAGE_COOKIE_NAME 'django_language' LIMIT_UPLOAD_PHOTO 6 LOCALE_PATHS () LOGIN_REDIRECT_URL '/accounts/profile/' LOGIN_URL '/accounts/login/' LOGOUT_URL '/accounts/logout/' MANAGERS (('RomanKRV', 'romankrv@gmail.com'),) MEDIA_ROOT '/home/r/PROJECTS/django/mysites/myprj/../myprj/media' MEDIA_URL '/media/' MIDDLEWARE_CLASSES ('sphene.community.middleware.ThreadLocals', 'sphene.community.middleware.GroupMiddleware', 'sphene.community.middleware.LastModified', 'sphene.community.middleware.PermissionDeniedMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.gzip.GZipMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.doc.XViewMiddleware') MONTH_DAY_FORMAT 'F j' NAME_GROUP_FORUM 'public_forum' myprj_GROUP 'myprj' OVERRIDDEN_URL (('kiev/myprj', ), ('rule-use', ), ('department/justice/kiev', ), ('department/branch/myprj_chamber/kiev', ), ('links', ), ('notaries/information', ), ('forums', ), ('forums/faq', )) PASSWORD_RESET_TIMEOUT_DAYS '********************' PATH_TO_STAMP '/home/r/project/django/mysites/myprj/media/images/stamp.png' PER_PAGE_WARRING 10 PREPEND_WWW False PROFANITIES_LIST '********************' PROJECT_PATH '/home/r/PROJECTS/django/mysites/myprj/../myprj' RECORDER_MODULE_TURN_ON True ROOT_URLCONF 'myprj.urls' SECRET_KEY '********************' SEND_BROKEN_LINK_EMAILS False SERVER_EMAIL 'root@localhost' SESSION_COOKIE_AGE 864000 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 'myprj.settings' SITE_ID 1 SPH_SETTINGS {'board_allow_attachments': True, 'board_attachments_upload_to': 'var/sphene/sphwiki/attachment/%Y/%m/%d', 'board_post_paging': 10, 'board_wysiwyg': True, 'community_jsincludes': ['/media/sphene/community/jquery-1.2.3.min.js', '/media/sphene/community/jquery.autocomplete.js'], 'community_styleincludes': ['/media/sphene/sphboard/styles/base.css'], 'sphsearchboard_post_index': '/home/r/PROJECTS/django/mysites/myprj/../myprj/var/cache/sct/postindex/'} TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'context_processor.login_processor', 'context_processor.num_myprj_processor', 'context_processor.middle_name_myprj_processor', 'context_processor.current_site', 'context_processor.url_warrings', 'context_processor.text_from_settings_to_template', 'sphene.community.context_processors.navigation') TEMPLATE_DEBUG True TEMPLATE_DIRS ('/home/r/PROJECTS/django/mysites/myprj/../myprj/templates', '/home/r/PROJECTS/django/mysites/myprj/../myprj/templates/admin') TEMPLATE_LOADERS ('sphene.community.groupaware_templateloader.load_template_source', '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' TEXT1 TEXT2 TEXT3 TEXT_WATER 'http://demo.portal.myprj.net' THUMBNAIL_SIZE_ORIG (800, 600) THUMBNAIL_SIZE_SMALL (100, 75) TIME_FORMAT 'P' TIME_ZONE 'Europe/Kiev' TINYMCE_COMPRESSOR True TRANSACTIONS_MANAGED False URL_VALIDATOR_USER_AGENT u'Django/1.1 beta 1 SVN-10825 (http://www.djangoproject.com)' USE_ETAGS False USE_I18N True YEAR_MONTH_FORMAT 'F Y'