translate / pootle

Online translation tool
http://pootle.translatehouse.org
GNU General Public License v3.0
1.49k stars 287 forks source link

Pootle traceback when downloading TS files #1947

Closed rvt closed 10 years ago

rvt commented 13 years ago

Version: 2.1.x

Pootle also crashes when running ./manage.py sync_stores

See trace attached. I am not sure what to do next and I am pretty much lost...

AttributeError at /cs/librecad/ts/librecad_cs.ts/download/
'tsunit' object has no attribute 'resurrect'
Request Method: GET
Request URL:    http://translate.librecad.org/pootle/cs/librecad/ts/librecad_cs.ts/download/
Django Version: 1.2.3
Exception Type: AttributeError
Exception Value:    
'tsunit' object has no attribute 'resurrect'
Exception Location: /var/www/pootle/local_apps/pootle_store/models.py in sync, line 300
Python Executable:  /usr/bin/python
Python Version: 2.6.6
Python Path:    ['/var/www/pootle', '/var/www/pootle/local_apps', '/var/www/pootle/external_apps', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/pymodules/python2.6']
Server time:    Tue, 7 Jun 2011 16:54:02 +0200
Traceback Switch to copy-and-paste view

/usr/lib/pymodules/python2.6/django/core/handlers/base.py in get_response
                    response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/var/www/pootle/local_apps/pootle_store/views.py in download
    store.sync(update_translation=True) ...
▶ Local vars
/var/www/pootle/local_apps/pootle_store/models.py in sync
                    changed = unit.sync(match) ...
▶ Local vars
/var/www/pootle/local_apps/pootle_store/models.py in sync
            unit.resurrect() ...
▶ Local vars
Request information

GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable    Value
csrftoken   
'f48b54133d19f57ec9c22e419e2ac36b'
__utma  
'116347675.9421093.1302404123.1307285634.1307329083.55'
sessionid   
'14666e5f0c117f6dd89a08abdbccfae6'
google_pairs    
'%5B%7B%22source%22%3A%22af%22%2C%22target%22%3A%22af%22%7D%2C%7B%22source%22%3A%22sq%22%2C%22target%22%3A%22sq%22%7D%2C%7B%22source%22%3A%22ar%22%2C%22target%22%3A%22ar%22%7D%2C%7B%22source%22%3A%22be%22%2C%22target%22%3A%22be%22%7D%2C%7B%22source%22%3A%22bg%22%2C%22target%22%3A%22bg%22%7D%2C%7B%22source%22%3A%22ca%22%2C%22target%22%3A%22ca%22%7D%2C%7B%22source%22%3A%22zh%22%2C%22target%22%3A%22zh%22%7D%2C%7B%22source%22%3A%22zh-CN%22%2C%22target%22%3A%22zh-CN%22%7D%2C%7B%22source%22%3A%22zh-TW%22%2C%22target%22%3A%22zh-TW%22%7D%2C%7B%22source%22%3A%22hr%22%2C%22target%22%3A%22hr%22%7D%2C%7B%22source%22%3A%22cs%22%2C%22target%22%3A%22cs%22%7D%2C%7B%22source%22%3A%22da%22%2C%22target%22%3A%22da%22%7D%2C%7B%22source%22%3A%22nl%22%2C%22target%22%3A%22nl%22%7D%2C%7B%22source%22%3A%22en%22%2C%22target%22%3A%22en%22%7D%2C%7B%22source%22%3A%22et%22%2C%22target%22%3A%22et%22%7D%2C%7B%22source%22%3A%22tl%22%2C%22target%22%3A%22tl%22%7D%2C%7B%22source%22%3A%22fi%22%2C%22target%22%3A%22fi%22%7D%2C%7B%22source%22%3A%22fr%22%2C%22target%22%3A%22fr%22%7D%2C%7B%22source%22%3A%22gl%22%2C%22target%22%3A%22gl%22%7D%2C%7B%22source%22%3A%22de%22%2C%22target%22%3A%22de%22%7D%2C%7B%22source%22%3A%22el%22%2C%22target%22%3A%22el%22%7D%2C%7B%22source%22%3A%22ht%22%2C%22target%22%3A%22ht%22%7D%2C%7B%22source%22%3A%22iw%22%2C%22target%22%3A%22iw%22%7D%2C%7B%22source%22%3A%22hi%22%2C%22target%22%3A%22hi%22%7D%2C%7B%22source%22%3A%22hu%22%2C%22target%22%3A%22hu%22%7D%2C%7B%22source%22%3A%22is%22%2C%22target%22%3A%22is%22%7D%2C%7B%22source%22%3A%22id%22%2C%22target%22%3A%22id%22%7D%2C%7B%22source%22%3A%22ga%22%2C%22target%22%3A%22ga%22%7D%2C%7B%22source%22%3A%22it%22%2C%22target%22%3A%22it%22%7D%2C%7B%22source%22%3A%22ja%22%2C%22target%22%3A%22ja%22%7D%2C%7B%22source%22%3A%22ko%22%2C%22target%22%3A%22ko%22%7D%2C%7B%22source%22%3A%22lv%22%2C%22target%22%3A%22lv%22%7D%2C%7B%22source%22%3A%22lt%22%2C%22target%22%3A%22lt%22%7D%2C%7B%22source%22%3A%22mk%22%2C%22target%22%3A%22mk%22%7D%2C%7B%22source%22%3A%22ms%22%2C%22target%22%3A%22ms%22%7D%2C%7B%22source%22%3A%22mt%22%2C%22target%22%3A%22mt%22%7D%2C%7B%22source%22%3A%22no%22%2C%22target%22%3A%22no%22%7D%2C%7B%22source%22%3A%22fa%22%2C%22target%22%3A%22fa%22%7D%2C%7B%22source%22%3A%22pl%22%2C%22target%22%3A%22pl%22%7D%2C%7B%22source%22%3A%22pt%22%2C%22target%22%3A%22pt%22%7D%2C%7B%22source%22%3A%22pt-PT%22%2C%22target%22%3A%22pt-PT%22%7D%2C%7B%22source%22%3A%22ro%22%2C%22target%22%3A%22ro%22%7D%2C%7B%22source%22%3A%22ru%22%2C%22target%22%3A%22ru%22%7D%2C%7B%22source%22%3A%22sr%22%2C%22target%22%3A%22sr%22%7D%2C%7B%22source%22%3A%22sk%22%2C%22target%22%3A%22sk%22%7D%2C%7B%22source%22%3A%22sl%22%2C%22target%22%3A%22sl%22%7D%2C%7B%22source%22%3A%22es%22%2C%22target%22%3A%22es%22%7D%2C%7B%22source%22%3A%22sw%22%2C%22target%22%3A%22sw%22%7D%2C%7B%22source%22%3A%22sv%22%2C%22target%22%3A%22sv%22%7D%2C%7B%22source%22%3A%22tl%22%2C%22target%22%3A%22tl%22%7D%2C%7B%22source%22%3A%22th%22%2C%22target%22%3A%22th%22%7D%2C%7B%22source%22%3A%22tr%22%2C%22target%22%3A%22tr%22%7D%2C%7B%22source%22%3A%22uk%22%2C%22target%22%3A%22uk%22%7D%2C%7B%22source%22%3A%22vi%22%2C%22target%22%3A%22vi%22%7D%2C%7B%22source%22%3A%22cy%22%2C%22target%22%3A%22cy%22%7D%2C%7B%22source%22%3A%22yi%22%2C%22target%22%3A%22yi%22%7D%5D'
__utmz  
'116347675.1307329083.55.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=GNU%20Forever%20LibreCAD%20crillic'
META
Variable    Value
AUTH_TYPE   
None
CONTENT_LENGTH  
0
CONTENT_TYPE    
None
CSRF_COOKIE 
'f48b54133d19f57ec9c22e419e2ac36b'
GATEWAY_INTERFACE   
'CGI/1.1'
HTTP_ACCEPT 
'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_ENCODING    
'gzip, deflate'
HTTP_ACCEPT_LANGUAGE    
'en-us'
HTTP_CONNECTION 
'keep-alive'
HTTP_COOKIE 
'csrftoken=f48b54133d19f57ec9c22e419e2ac36b; google_pairs=%5B%7B%22source%22%3A%22af%22%2C%22target%22%3A%22af%22%7D%2C%7B%22source%22%3A%22sq%22%2C%22target%22%3A%22sq%22%7D%2C%7B%22source%22%3A%22ar%22%2C%22target%22%3A%22ar%22%7D%2C%7B%22source%22%3A%22be%22%2C%22target%22%3A%22be%22%7D%2C%7B%22source%22%3A%22bg%22%2C%22target%22%3A%22bg%22%7D%2C%7B%22source%22%3A%22ca%22%2C%22target%22%3A%22ca%22%7D%2C%7B%22source%22%3A%22zh%22%2C%22target%22%3A%22zh%22%7D%2C%7B%22source%22%3A%22zh-CN%22%2C%22target%22%3A%22zh-CN%22%7D%2C%7B%22source%22%3A%22zh-TW%22%2C%22target%22%3A%22zh-TW%22%7D%2C%7B%22source%22%3A%22hr%22%2C%22target%22%3A%22hr%22%7D%2C%7B%22source%22%3A%22cs%22%2C%22target%22%3A%22cs%22%7D%2C%7B%22source%22%3A%22da%22%2C%22target%22%3A%22da%22%7D%2C%7B%22source%22%3A%22nl%22%2C%22target%22%3A%22nl%22%7D%2C%7B%22source%22%3A%22en%22%2C%22target%22%3A%22en%22%7D%2C%7B%22source%22%3A%22et%22%2C%22target%22%3A%22et%22%7D%2C%7B%22source%22%3A%22tl%22%2C%22target%22%3A%22tl%22%7D%2C%7B%22source%22%3A%22fi%22%2C%22target%22%3A%22fi%22%7D%2C%7B%22source%22%3A%22fr%22%2C%22target%22%3A%22fr%22%7D%2C%7B%22source%22%3A%22gl%22%2C%22target%22%3A%22gl%22%7D%2C%7B%22source%22%3A%22de%22%2C%22target%22%3A%22de%22%7D%2C%7B%22source%22%3A%22el%22%2C%22target%22%3A%22el%22%7D%2C%7B%22source%22%3A%22ht%22%2C%22target%22%3A%22ht%22%7D%2C%7B%22source%22%3A%22iw%22%2C%22target%22%3A%22iw%22%7D%2C%7B%22source%22%3A%22hi%22%2C%22target%22%3A%22hi%22%7D%2C%7B%22source%22%3A%22hu%22%2C%22target%22%3A%22hu%22%7D%2C%7B%22source%22%3A%22is%22%2C%22target%22%3A%22is%22%7D%2C%7B%22source%22%3A%22id%22%2C%22target%22%3A%22id%22%7D%2C%7B%22source%22%3A%22ga%22%2C%22target%22%3A%22ga%22%7D%2C%7B%22source%22%3A%22it%22%2C%22target%22%3A%22it%22%7D%2C%7B%22source%22%3A%22ja%22%2C%22target%22%3A%22ja%22%7D%2C%7B%22source%22%3A%22ko%22%2C%22target%22%3A%22ko%22%7D%2C%7B%22source%22%3A%22lv%22%2C%22target%22%3A%22lv%22%7D%2C%7B%22source%22%3A%22lt%22%2C%22target%22%3A%22lt%22%7D%2C%7B%22source%22%3A%22mk%22%2C%22target%22%3A%22mk%22%7D%2C%7B%22source%22%3A%22ms%22%2C%22target%22%3A%22ms%22%7D%2C%7B%22source%22%3A%22mt%22%2C%22target%22%3A%22mt%22%7D%2C%7B%22source%22%3A%22no%22%2C%22target%22%3A%22no%22%7D%2C%7B%22source%22%3A%22fa%22%2C%22target%22%3A%22fa%22%7D%2C%7B%22source%22%3A%22pl%22%2C%22target%22%3A%22pl%22%7D%2C%7B%22source%22%3A%22pt%22%2C%22target%22%3A%22pt%22%7D%2C%7B%22source%22%3A%22pt-PT%22%2C%22target%22%3A%22pt-PT%22%7D%2C%7B%22source%22%3A%22ro%22%2C%22target%22%3A%22ro%22%7D%2C%7B%22source%22%3A%22ru%22%2C%22target%22%3A%22ru%22%7D%2C%7B%22source%22%3A%22sr%22%2C%22target%22%3A%22sr%22%7D%2C%7B%22source%22%3A%22sk%22%2C%22target%22%3A%22sk%22%7D%2C%7B%22source%22%3A%22sl%22%2C%22target%22%3A%22sl%22%7D%2C%7B%22source%22%3A%22es%22%2C%22target%22%3A%22es%22%7D%2C%7B%22source%22%3A%22sw%22%2C%22target%22%3A%22sw%22%7D%2C%7B%22source%22%3A%22sv%22%2C%22target%22%3A%22sv%22%7D%2C%7B%22source%22%3A%22tl%22%2C%22target%22%3A%22tl%22%7D%2C%7B%22source%22%3A%22th%22%2C%22target%22%3A%22th%22%7D%2C%7B%22source%22%3A%22tr%22%2C%22target%22%3A%22tr%22%7D%2C%7B%22source%22%3A%22uk%22%2C%22target%22%3A%22uk%22%7D%2C%7B%22source%22%3A%22vi%22%2C%22target%22%3A%22vi%22%7D%2C%7B%22source%22%3A%22cy%22%2C%22target%22%3A%22cy%22%7D%2C%7B%22source%22%3A%22yi%22%2C%22target%22%3A%22yi%22%7D%5D; sessionid=14666e5f0c117f6dd89a08abdbccfae6; __utma=116347675.9421093.1302404123.1307285634.1307329083.55; __utmz=116347675.1307329083.55.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=GNU%20Forever%20LibreCAD%20crillic'
HTTP_HOST   
'translate.librecad.org'
HTTP_USER_AGENT 
'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1'
PATH_INFO   
u'/cs/librecad/ts/librecad_cs.ts/download/'
PATH_TRANSLATED 
None
QUERY_STRING    
None
REMOTE_ADDR 
'200.125.129.54'
REMOTE_HOST 
None
REMOTE_IDENT    
None
REMOTE_USER 
None
REQUEST_METHOD  
'GET'
SCRIPT_NAME 
'/pootle'
SERVER_NAME 
'translate.librecad.org'
SERVER_PORT 
80
SERVER_PROTOCOL 
'HTTP/1.1'
SERVER_SOFTWARE 
'mod_python'
Settings
Using settings module pootle.settings
Setting Value
ABSOLUTE_URL_OVERRIDES  
{}
ACCOUNT_ACTIVATION_DAYS 
10
ADMINS  
()
ADMIN_FOR   
()
ADMIN_MEDIA_PREFIX  
'/media/'
ALLOWED_INCLUDE_ROOTS   
()
APPEND_SLASH    
True
AUTHENTICATION_BACKENDS 
('django.contrib.auth.backends.ModelBackend',)
AUTH_LDAP_ANON_DN   
''
AUTH_LDAP_ANON_PASS 
''
AUTH_LDAP_BASE_DN   
''
AUTH_LDAP_FIELDS    
{'dn': 'dn'}
AUTH_LDAP_FILTER    
''
AUTH_LDAP_SERVER    
''
AUTH_PROFILE_MODULE 
'pootle_profile.PootleProfile'
AUTOSYNC    
False
BANNED_IPS  
()
BASE_URL    
'http://translate.librecad.org/pootle'
CACHE_BACKEND   
'file:///tmp/django_cache'
CACHE_MIDDLEWARE_ANONYMOUS_ONLY 
True
CACHE_MIDDLEWARE_KEY_PREFIX 
''
CACHE_MIDDLEWARE_SECONDS    
300
CAN_CONTACT 
True
CAN_REGISTER    
True
COMMENTS_ALLOW_PROFANITIES  
False
COMMENTS_BANNED_USERS_GROUP 
None
COMMENTS_FIRST_FEW  
0
COMMENTS_MODERATORS_GROUP   
None
COMMENTS_SKETCHY_USERS_GROUP    
None
CONFIG_DIR  
'/var/www/pootle'
CONTACT_EMAIL   
'librecad@rvt.dds.nl'
CSRF_COOKIE_DOMAIN  
None
CSRF_COOKIE_NAME    
'csrftoken'
CSRF_FAILURE_VIEW   
'django.views.csrf.csrf_failure'
DATABASES   
{'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'pootle', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Africa/Johannesburg', 'USER': 'pootle'}}
DATABASE_ENGINE 
'mysql'
DATABASE_HOST   
'localhost'
DATABASE_NAME   
'pootle'
DATABASE_OPTIONS    
{}
DATABASE_PASSWORD   
'********************'
DATABASE_PORT   
''
DATABASE_ROUTERS    
[]
DATABASE_USER   
'pootle'
DATA_DIR    
'/var/www/pootle'
DATETIME_FORMAT 
'N j, Y, P'
DATETIME_INPUT_FORMATS  
('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT 
'N j, Y'
DATE_INPUT_FORMATS  
('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG   
True
DEBUG_PROPAGATE_EXCEPTIONS  
False
DECIMAL_SEPARATOR   
'.'
DEFAULT_CHARSET 
'utf-8'
DEFAULT_CONTENT_TYPE    
'text/html'
DEFAULT_FILE_STORAGE    
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL  
'librecad@rvt.dds.nl'
DEFAULT_INDEX_TABLESPACE    
''
DEFAULT_TABLESPACE  
''
DESCRIPTION 
u'<div dir="ltr" lang="en">\r\n<h2 class="title">LibreCAD translation server</h2>\r\n<p class="about">This is the LibreCAD translation server see: <a href="http://www.librecad.org">www.librecad.org</a> here you can help translate LibreCAD into new languages or complete existing translations.</p>\r\nEveryone is allowed to suggest a translation, if you\'d like to submit "official" translations or review other\'s translations, please contact the devs at <a href="http://www.librecad.org">www.librecad.org</a>\r\n</div>'
DISALLOWED_USER_AGENTS  
()
EMAIL_BACKEND   
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST  
'localhost'
EMAIL_HOST_PASSWORD 
'********************'
EMAIL_HOST_USER 
''
EMAIL_PORT  
25
EMAIL_SEND_HTML 
False
EMAIL_SUBJECT_PREFIX    
'[Django] '
EMAIL_USE_TLS   
False
ENABLE_ALT_SRC  
True
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_DAY_OF_WEEK   
0
FIXTURE_DIRS    
()
FORCE_SCRIPT_NAME   
None
FORMAT_MODULE_PATH  
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.sessions', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sites', 'django.contrib.admin', 'pootle_app', 'pootle_misc', 'pootle_store', 'pootle_language', 'pootle_project', 'pootle_translationproject', 'pootle_profile', 'pootle_statistics', 'pootle_notifications', 'pootle_autonotices', 'pootle_terminology', 'registration', 'profiles', 'djblets.siteconfig', 'djblets.util', 'contact_form_i18n']
INTERNAL_IPS    
('127.0.0.1',)
LANGUAGES   
[('ca', u'Catalan; Valencian'), ('ko', u'Korean'), ('ms', u'Malay'), ('son', u'Songhai languages'), ('uk', u'Ukrainian'), ('ha', u'Hausa'), ('nso', u'Pedi; Sepedi; Northern Sotho'), ('bg', u'Bulgarian'), ('bo', u'Tibetan'), ('sr', u'Serbian'), ('sw', u'Swahili'), ('ug', u'Uighur; Uyghur'), ('wo', 'wo'), ('ja', u'Japanese'), ('am', u'Amharic'), ('gl', u'Galician'), ('st', u'Sotho, Southern'), ('fr', u'French'), ('is', u'Icelandic'), ('ar', u'Arabic'), ('ne', u'Nepali'), ('mr', u'Marathi'), ('mt', u'Maltese'), ('ach', 'ach'), ('ca@valencia', u'Catalan; Valencian (Valencia)'), ('es', u'Spanish; Castilian'), ('ka', u'Georgian'), ('mg', u'Malagasy'), ('fa', u'Persian'), ('ast', u'Asturian; Bable; Leonese; Asturleonese'), ('eu', u'Basque'), ('fo', u'Faroese'), ('az', u'Azerbaijani'), ('nl', u'Dutch; Flemish'), ('xh', 'xh'), ('zu', u'Zulu'), ('ml', u'Malayalam'), ('ku', u'Kurdish'), ('he', u'Hebrew'), ('sq', u'Albanian'), ('nn', u'Norwegian Nynorsk; Nynorsk, Norwegian'), ('lv', u'Latvian'), ('hy', u'Armenian'), ('fur', u'Friulian'), ('ve', 've'), ('pap', u'Papiamento'), ('bn', u'Bengali'), ('hu', u'Hungarian'), ('hi', u'Hindi'), ('sk', u'Slovak'), ('sc', 'sc'), ('nb', u'Bokm\xe5l, Norwegian; Norwegian Bokm\xe5l'), ('ta', u'Tamil'), ('el', u'Greek, Modern (1453-)'), ('fi', u'Finnish'), ('ak', u'Akan'), ('ky', u'Kirghiz; Kyrgyz'), ('th', u'Thai'), ('te', u'Telugu'), ('pt-br', u'Portuguese (Brazil)'), ('ln', u'Lingala'), ('lt', u'Lithuanian'), ('tl', 'tl'), ('pl', u'Polish'), ('de', u'German'), ('sl', u'Slovenian'), ('km', u'Central Khmer'), ('et', u'Estonian'), ('bn-in', u'Bengali (India)'), ('en-za', u'English (South Africa)'), ('sv', u'Swedish'), ('hr', u'Croatian'), ('nap', u'Neapolitan'), ('mn', u'Mongolian'), ('zh-cn', u'Chinese (China)'), ('af', u'Afrikaans'), ('zh-tw', u'Chinese (Taiwan)'), ('ro', u'Romanian'), ('kg', 'kg'), ('kn', u'Kannada'), ('tr', u'Turkish'), ('it', u'Italian'), ('pa', u'Panjabi; Punjabi'), ('dz', u'Dzongkha'), ('en-gb', u'English (United Kingdom)'), ('be', u'Belarusian'), ('ga', u'Irish'), ('eo', u'Esperanto'), ('da', u'Danish'), ('pt', u'Portuguese'), ('br', u'Breton'), ('ru', u'Russian'), ('id', u'Indonesian'), ('zh-hk', u'Chinese (Hong Kong)'), ('cs', u'Czech'), ('vi', u'Vietnamese')]
LANGUAGES_BIDI  
('he', 'ar', 'fa')
LANGUAGE_CODE   
'en-us'
LANGUAGE_COOKIE_NAME    
'django_language'
LIVE_TRANSLATION    
False
LOCALE_PATHS    
('/var/www/pootle/mo',)
LOGIN_REDIRECT_URL  
'/accounts/profile/'
LOGIN_URL   
'/accounts/login/'
LOGOUT_URL  
'/accounts/logout/'
MANAGERS    
(('CONTACT', 'librecad@rvt.dds.nl'),)
MAX_AUTOTERMS   
600
MEDIA_ROOT  
'/var/www/pootle/html/'
MEDIA_URL   
'/html/'
MESSAGE_STORAGE 
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES  
('pootle_misc.middleware.baseurl.BaseUrlMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'pootle_misc.middleware.siteconfig.SiteConfigMiddleware', 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.gzip.GZipMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', 'pootle.middleware.setlocale.SetLocale', 'pootle_misc.middleware.errorpages.ErrorPagesMiddleware', 'django.middleware.common.CommonMiddleware', 'pootle.middleware.captcha.CaptchaMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware')
MIN_AUTOTERMS   
60
MONTH_DAY_FORMAT    
'F j'
MT_BACKENDS 
[('APERTIUM', 'qhKk0Qm8kmN/eRwHkUFN9Ooa7e4'), ('GOOGLE_TRANSLATE', '')]
NUMBER_GROUPING 
0
OBJECT_CACHE_TIMEOUT    
2500000
PARSE_POOL_CULL_FREQUENCY   
4
PARSE_POOL_SIZE 
40
PASSWORD_RESET_TIMEOUT_DAYS 
'********************'
PODIRECTORY 
'/var/www/pootle/po'
PREPEND_WWW 
False
PROFANITIES_LIST    
'********************'
ROOT_URLCONF    
'pootle.urls'
SCRIPT_NAME 
'/pootle'
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 
'pootle.settings'
SHORT_DATETIME_FORMAT   
'm/d/Y P'
SHORT_DATE_FORMAT   
'm/d/Y'
SITE_ID 
1
SOURCE_DIR  
'/var/www/pootle'
STATS_DB_PATH   
'/var/www/pootle/dbs/stats.db'
TEMPLATE_CONTEXT_PROCESSORS 
('django.core.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.request', 'pootle_misc.context_processors.pootle_context', 'django.core.context_processors.debug')
TEMPLATE_DEBUG  
True
TEMPLATE_DIRS   
('/var/www/pootle/templates',)
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.DjangoTestSuiteRunner'
THOUSAND_SEPARATOR  
','
TIME_FORMAT 
'P'
TIME_INPUT_FORMATS  
('%H:%M:%S', '%H:%M')
TIME_ZONE   
'Africa/Johannesburg'
TITLE   
u'LibreCAD Translation Server'
TOPSTAT_SIZE    
5
TRANSACTIONS_MANAGED    
False
URL_VALIDATOR_USER_AGENT    
'Django/1.2.3 (http://www.djangoproject.com)'
USE_CAPTCHA 
True
USE_ETAGS   
False
USE_I18N    
True
USE_L10N    
False
USE_THOUSAND_SEPARATOR  
False
WORKING_DIR 
'/var/www/pootle'
YEAR_MONTH_FORMAT   
'F Y'
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
friedelwolff commented 13 years ago

Can you please indicate what versions of Pootle, translate toolkit and all the major dependencies you are using?

Also, the page you copied here is very detailed, but seems to limit the traceback information, which is the really useful part. Can you please click on "Switch to copy-and-paste view" and paste the content of that here as well? Thanks!

rvt commented 13 years ago

Could you please decribe what you exactly need when you asked for "Can you please indicate what versions of Pootle, translate toolkit and all the major dependencies you are using?"

What are 'mayor depedencies ?'

The version of Pootle is 2.1.6, the version of Djanco is below in the report.

For me to hack it away I removed a call to some object that wanted to call resurrect, I believe thatw as in models.py. I am not sure about the implications, the IRC channel of pootle is dead by daily base... I had to do something....

What do you mean with : "Can you please click on "Switch to copy-and-paste view" and paste the content of that here as well?"

I am not sure what content you talk about, the copy/paste I did was just the trace from Djanco when debug was enabled.

Sorry, I don't understand python and the frameworks, I cannot help you much with debugging.

Ries

friedelwolff commented 13 years ago

(In reply to BZ-IMPORT::comment #2)

What are 'mayor depedencies ?'

The major dependencies, are at least those ones that I specifically ask for

What do you mean with : "Can you please click on "Switch to copy-and-paste view" and paste the content of that here as well?"

Check that debug page that you get in your browser when the error happens. It has link that you can click:

"Switch to copy-and-paste view"

Since you want to copy and paste the information, click on it, and then copy and paste the information it shows in the box. That is the interesting bits to help with the problem.

I don't understand what you say about the IRC channel.

friedelwolff commented 12 years ago

Hi rvt. Are you able to give us the complete traceback? Downloading the file now from the given URL seems to work, so I'm not sure how we can reproduce the problem to investigate it.

jleclanche commented 10 years ago

Closing this due to inactivity and impossible to reproduce.

jleclanche commented 10 years ago

With that said, translate/translate/storage/ts.py doesnt implement resurrect().