Hi Kolmar,

Sorry I didn't get back to you on this sooner and spare you the time 
chasing it down, it was already fixed on the hotfix/0.12.3 branch: 
https://github.com/rosarior/mayan/blob/hotfix/v0.12.3/apps/installation/models.py#L75
 as 
part of this code backport from the development branch 
https://github.com/rosarior/mayan/commit/1ec255ee069e1956f65bc5c5ff93ba9a38866898.
 
 Thanks a lot anyways and to the guys at Webfaction, they are great, I've 
been a happy customer for 3 years now, both www.mayan-edms.com and 
documen.to are hosted on Webfaction.

--Roberto 



On Friday, September 28, 2012 1:19:12 AM UTC-4, Kolmar Kafran wrote:
>
> I'm trying to install it at Webfaction. Is there an easier way to do this? 
> I'm getting a lot of erros =/. The guys from webfaction are trying to help 
> me. Now I get an error when I run ./manage.py collectstatic:
>
> (mayan)[kafran@web307 mayan]$ ./manage.py collectstatic -l --noinput
> Traceback (most recent call last):
>   File "./manage.py", line 11, in <module>
>     execute_manager(settings)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/core/management/__init__.py",
>  
> line 438, in execute_manager
>     utility.execute()
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/core/management/__init__.py",
>  
> line 379, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/core/management/base.py",
>  
> line 191, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/core/management/base.py",
>  
> line 209, in execute
>     translation.activate('en-us')
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py",
>  
> line 100, in activate
>     return _trans.activate(language)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 202, in activate
>     _active.value = translation(language)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 185, in translation
>     default_translation = _fetch(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 162, in _fetch
>     app = import_module(appname)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/importlib.py",
>  
> line 35, in import_module
>     __import__(name)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/checkouts/__init__.py", 
> line 9, in <module>
>     from documents.models import Document
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/documents/__init__.py", 
> line 14, in <module>
>     from metadata.api import get_metadata_string
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/metadata/__init__.py", 
> line 7, in <module>
>     from documents.models import Document, DocumentType
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/documents/models.py", line 
> 615, in <module>
>     class DocumentPageTransformation(models.Model):
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/documents/models.py", line 
> 622, in DocumentPageTransformation
>     transformation = 
> models.CharField(choices=get_available_transformations_choices(), 
> max_length=128, verbose_name=_(u'transformation'))
>   File "/home/kafran/webapps/mayan_app/mayan/mayan/apps/converter/api.py", 
> line 132, in get_available_transformations_choices
>     transformation_template = u'%s %s' % 
> (TRANSFORMATION_CHOICES[transformation]['label'], u','.join(['<%s>' % 
> argument['name'] if argument['required'] else '[%s]' % argument['name'] for 
> argument in TRANSFORMATION_CHOICES[transformation]['arguments']]))
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/functional.py",
>  
> line 206, in __unicode_cast
>     return self.__func(*self.__args, **self.__kw)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py",
>  
> line 81, in ugettext
>     return _trans.ugettext(message)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 286, in ugettext
>     return do_translate(message, 'ugettext')
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 276, in do_translate
>     _default = translation(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 185, in translation
>     default_translation = _fetch(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 162, in _fetch
>     app = import_module(appname)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/importlib.py",
>  
> line 35, in import_module
>     __import__(name)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/sources/__init__.py", line 
> 13, in <module>
>     from .models import (WebForm, StagingFolder, SourceTransformation,
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/sources/models.py", line 
> 17, in <module>
>     from document_indexing.api import update_indexes
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/document_indexing/__init__.py",
>  
> line 13, in <module>
>     from .models import (Index, IndexTemplateNode, IndexInstanceNode)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/document_indexing/models.py",
>  
> line 13, in <module>
>     available_indexing_functions_string = (_(u'Available functions: %s') % 
> u','.join([u'%s()' % name for name, function in 
> AVAILABLE_INDEXING_FUNCTIONS.items()])) if AVAILABLE_INDEXING_FUNCTIONS 
> else u''
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/functional.py",
>  
> line 227, in __mod__
>     return unicode(self) % rhs
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/functional.py",
>  
> line 206, in __unicode_cast
>     return self.__func(*self.__args, **self.__kw)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py",
>  
> line 81, in ugettext
>     return _trans.ugettext(message)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 286, in ugettext
>     return do_translate(message, 'ugettext')
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 276, in do_translate
>     _default = translation(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 185, in translation
>     default_translation = _fetch(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 162, in _fetch
>     app = import_module(appname)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/importlib.py",
>  
> line 35, in import_module
>     __import__(name)
>   File "/home/kafran/webapps/mayan_app/mayan/mayan/apps/ocr/__init__.py", 
> line 21, in <module>
>     from .models import DocumentQueue, QueueTransformation
>   File "/home/kafran/webapps/mayan_app/mayan/mayan/apps/ocr/models.py", 
> line 103, in <module>
>     class QueueTransformation(models.Model):
>   File "/home/kafran/webapps/mayan_app/mayan/mayan/apps/ocr/models.py", 
> line 112, in QueueTransformation
>     transformation = 
> models.CharField(choices=get_available_transformations_choices(), 
> max_length=128, verbose_name=_(u'transformation'))
>   File "/home/kafran/webapps/mayan_app/mayan/mayan/apps/converter/api.py", 
> line 132, in get_available_transformations_choices
>     transformation_template = u'%s %s' % 
> (TRANSFORMATION_CHOICES[transformation]['label'], u','.join(['<%s>' % 
> argument['name'] if argument['required'] else '[%s]' % argument['name'] for 
> argument in TRANSFORMATION_CHOICES[transformation]['arguments']]))
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/functional.py",
>  
> line 206, in __unicode_cast
>     return self.__func(*self.__args, **self.__kw)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py",
>  
> line 81, in ugettext
>     return _trans.ugettext(message)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 286, in ugettext
>     return do_translate(message, 'ugettext')
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 276, in do_translate
>     _default = translation(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 185, in translation
>     default_translation = _fetch(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 162, in _fetch
>     app = import_module(appname)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/importlib.py",
>  
> line 35, in import_module
>     __import__(name)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/folders/__init__.py", line 
> 12, in <module>
>     from .models import Folder
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/folders/models.py", line 
> 10, in <module>
>     class Folder(models.Model):
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/folders/models.py", line 
> 11, in Folder
>     title = models.CharField(max_length=128, verbose_name=_(u'title'), 
> db_index=True)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py",
>  
> line 81, in ugettext
>     return _trans.ugettext(message)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 286, in ugettext
>     return do_translate(message, 'ugettext')
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 276, in do_translate
>     _default = translation(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 185, in translation
>     default_translation = _fetch(settings.LANGUAGE_CODE)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py",
>  
> line 162, in _fetch
>     app = import_module(appname)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/lib/python2.7/site-packages/django/utils/importlib.py",
>  
> line 35, in import_module
>     __import__(name)
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/installation/__init__.py", 
> line 36, in <module>
>     check_first_run()
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/installation/__init__.py", 
> line 31, in check_first_run
>     details.submit()
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/installation/models.py", 
> line 98, in submit
>     if self.is_lsb:
>   File 
> "/home/kafran/webapps/mayan_app/mayan/mayan/apps/installation/models.py", 
> line 93, in __getattr__
>     raise AttributeError, name
> AttributeError: is_lsb
>
>

-- 



Reply via email to