Saturday, February 1, 2014

Re: Proxy problem (permissions denied)

Hi Me Sulphur,

Thank you so much my friend !
A two weeks problem solved !!
The problem was the csrfmiddleware token in my POST request.

Thank you in advance,
George

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f9982eb8-06bf-41c8-9a82-fd59e189e814%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Loading data from Django into RedShift - ORM vs SQL?

Hi,

Does anyone here have experience in using the django-redshift ORM available in: https://github.com/binarydud/django-redshift
in a django web app? If so could you share it with us?
Is it robust? Scalably efficient?

Many thanks.

On Thursday, October 17, 2013 9:21:08 AM UTC+2, Victor Hooi wrote:
Hi,

We have a Django eCommerce site, from where we want to load transactional data into Amazon RedShift (i.e. basically ETL).

This would probably be a batch load run either once a day, or at intervals throughout the day.

(I'm also curious about whether it's possible to stream the data in, but I don't think that will work well with RedShift).

My question is regarding how we should be extracting the data - we can either hook directly into the Django ORM, or just use SQL by hand.

What are people's experiences with either approach? Any thoughts on pros/cons of either?

Cheers,
Victor

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/171752ed-c5df-45b4-ab88-a0ae2c194a60%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Problems Sending Email From Django SIte

I'm just guessing now.... try adding the setting:

DEFAULT_FROM_EMAIL='xxx@xxxxx.xxx'

On Fri, Jan 31, 2014 at 11:51 PM, Mark Phillips
<mark@phillipsmarketing.biz> wrote:
> Exim4 has two logs - main and reject.
>
> Message from python prompt and mutt - shows activity in main, but not
> reject.
>
> Message from Server 500 error with django app - no activity in main, and a
> message in reject -
>
> 2014-01-31 21:30:55 unqualified recipient rejected: <a> H=localhost
> [127.0.0.1]
>
> That is all I have.
>
> My settings.py files...maybe you will see something missing or
> mis-configured for email from a django site (I removed some sensitive
> information).
>
> The first file base.py:
>
> import os
> BASE_DIR = os.path.dirname(os.path.dirname(__file__))
>
>
> # Application definition
>
> INSTALLED_APPS = (
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> 'django.contrib.humanize',
> 'south',
> 'inventory',
> )
>
> MIDDLEWARE_CLASSES = (
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.common.CommonMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware',
> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
> )
>
> DEBUG = False
>
> TEMPLATE_DEBUG = False
>
> ROOT_URLCONF = 'inventory_project.urls'
>
> LANGUAGE_CODE = 'en-us'
>
> TIME_ZONE = 'America/Phoenix'
>
> USE_I18N = True
>
> USE_L10N = True
>
> USE_TZ = True
>
> The second file base_beagle.py:
>
> # settings/base_beagle.py
> from base import *
>
> STATIC_ROOT = os.path.join(BASE_DIR, 'static')
> STATIC_URL = 'http://192.168.5.126:7000/static/'
>
> MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
> MEDIA_URL = 'http://192.168.5.126:7000/media/'
>
> The third file prod_beagle.py
>
> # settings/prod_beagle.py
> from base_beagle import *
>
> # SECURITY WARNING: keep the secret key used in production secret!
> SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
>
> # SECURITY WARNING: don't run with debug turned on in production!
> DEBUG = False
>
> TEMPLATE_DEBUG = False
>
> ALLOWED_HOSTS = ['192.168.5.126', 'localhost']
>
> EMAIL_HOST = "localhost"
> EMAIL_PORT = 25
> EMAIL_SUBJECT_PREFIX = "[Django-beagle] "
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.mysql',
> 'NAME': 'inventory_prod',
> 'USER': '********',
> 'PASSWORD': '*******',
> }
> }
>
> INTERNAL_IPS = ("127.0.0.1","192.168.5.126")
>
> ADMINS = (('mark', 'xxx@xxxxxxxxxx.xxx'))
>
> LOGIN_URL = '/mom/inventory/login/'
>
> WSGI_APPLICATION = "inventory_project.wsgi.application"
>
>
> Thanks,
>
> Mark
>
>
> On Fri, Jan 31, 2014 at 8:49 PM, m1chael <mykhul@gmail.com> wrote:
>>
>> can you tail a mail server log file, while trying to send a django
>> e-mail, and see what happens? also take a look at a log file for
>> command line and mutt.... do a comparison of all. maybe that will help
>>
>> On Fri, Jan 31, 2014 at 10:35 PM, Mark Phillips
>> <mark@phillipsmarketing.biz> wrote:
>> > Thank-you for your response...However,
>> >
>> > 1. I can send email from the command line and from mutt.
>> >
>> > 2. I can send email from a python prompt using the settings.py in my
>> > app.
>> >
>> > These two facts tell me the mail server is configured properly.
>> >
>> > 3. Only my django app cannot send email.
>> >
>> > This fact leads me to believe my django app is mis-configured for
>> > sending
>> > email. In all other aspects, my app works as designed.
>> >
>> > Do you have any other helpful suggestions?
>> >
>> > Mark
>> >
>> >
>> > On Fri, Jan 31, 2014 at 7:26 PM, m1chael <mykhul@gmail.com> wrote:
>> >>
>> >> Your mail server needs configuring.
>> >>
>> >> On Fri, Jan 31, 2014 at 8:15 PM, Mark Phillips
>> >> <mark@phillipsmarketing.biz> wrote:
>> >> > A follow up. After hitting send, I realized how to simulate an error
>> >> > - I
>> >> > asked for a page with a nonexistent id. Like the polls example in the
>> >> > django
>> >> > tutorial, I used an url with a poll_id that does not exist in my
>> >> > site. I
>> >> > got
>> >> > a Server Error (500) page, but no email. I looked in the exim4 reject
>> >> > log
>> >> > and found:
>> >> >
>> >> > 2014-01-31 18:07:04 unqualified recipient rejected: <a> H=localhost
>> >> > [127.0.0.1]
>> >> >
>> >> > I googled this error and have not had any luck figuring it out. Since
>> >> > I
>> >> > can
>> >> > send email from the command line and a python script with the same
>> >> > settings.py file as my site, could I be missing something in the
>> >> > django
>> >> > setup for sending emails to admins when there is a site error?
>> >> >
>> >> > All I have in settings.py for email is localhost, port 25, and admins
>> >> > email
>> >> > addresses. Do I need something else? Some module or middleware
>> >> > thing-a-ma-bob? I just have the stock modules and middleware that
>> >> > django
>> >> > created with a new project. I haven't found anything in the django
>> >> > docs
>> >> > that
>> >> > point to a module that I am missing.
>> >> >
>> >> > Thanks!
>> >> >
>> >> > Mark
>> >> >
>> >> >
>> >> > On Fri, Jan 31, 2014 at 6:06 PM, Mark Phillips
>> >> > <mark@phillipsmarketing.biz>
>> >> > wrote:
>> >> >>
>> >> >> I have my django site setup on my production server, a Debian
>> >> >> machine
>> >> >> with
>> >> >> exim4 and django 1.6. I use smtp.cox.net to relay my emails from my
>> >> >> server.
>> >> >>
>> >> >> I can send emails from the server using mutt.
>> >> >>
>> >> >> I can also send an email from a python prompt in my virtual
>> >> >> environment
>> >> >> on
>> >> >> the server using this (with a different to and from address) after
>> >> >> importing
>> >> >> my projects settings.py file:
>> >> >>
>> >> >> >>> from django.core.mail import send_mail
>> >> >> >>> send_mail('Subject here', 'Here is the message.',
>> >> >> >>> 'from@example.com',
>> >> >> >>> ['to@example.com'], fail_silently=False)
>> >> >>
>> >> >> However, when I get an error on the site (ie self-induced), I do not
>> >> >> get
>> >> >> any emails from the site. I have ADMINS setup correctly per the
>> >> >> docs.
>> >> >> In
>> >> >> settings.py I just have the basics - localhost and port 25 for
>> >> >> email.
>> >> >>
>> >> >> Perhaps the error I introduced was to severe (an import error is
>> >> >> settings.py). I also tried accessing a page that does not exist, and
>> >> >> no
>> >> >> email.
>> >> >>
>> >> >> My first question: How can I simulate/force an error on the site to
>> >> >> get
>> >> >> an
>> >> >> email so I can make sure the site can send an email to the admins?
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> Mark
>> >> >>
>> >> >
>> >> > --
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups
>> >> > "Django users" group.
>> >> > To unsubscribe from this group and stop receiving emails from it,
>> >> > send
>> >> > an
>> >> > email to django-users+unsubscribe@googlegroups.com.
>> >> > To post to this group, send email to django-users@googlegroups.com.
>> >> > Visit this group at http://groups.google.com/group/django-users.
>> >> > To view this discussion on the web visit
>> >> >
>> >> >
>> >> > https://groups.google.com/d/msgid/django-users/CAEqej2MLB-b7_cRZn7pEnCP1bTTm-zWuxyGC%3DK9UcZgMZq1pvw%40mail.gmail.com.
>> >> >
>> >> > For more options, visit https://groups.google.com/groups/opt_out.
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "Django users" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an
>> >> email to django-users+unsubscribe@googlegroups.com.
>> >> To post to this group, send email to django-users@googlegroups.com.
>> >> Visit this group at http://groups.google.com/group/django-users.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/django-users/CAAuoY6PmcANqfwHVeuQ7WX82%3DkHJyziQsVOpN_Wrcc5hCYj%2BCQ%40mail.gmail.com.
>> >>
>> >> For more options, visit https://groups.google.com/groups/opt_out.
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Django users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to django-users+unsubscribe@googlegroups.com.
>> > To post to this group, send email to django-users@googlegroups.com.
>> > Visit this group at http://groups.google.com/group/django-users.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/django-users/CAEqej2Oh2UKAic%3DS1FTNpsXaO474JrYzEH3Co%3DBPvpAMifEc5w%40mail.gmail.com.
>> >
>> > For more options, visit https://groups.google.com/groups/opt_out.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscribe@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAAuoY6MijaLALdK355OADdYzXcTcJdNNymf%2B-ySUgM3ZOXknDQ%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEqej2Mp-zMFwk7%3DyDX6-0vBcoG%2BJJuKN9o7LUONQcfZqWg2Vg%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAuoY6Ni43wuKDgr9J0JZfVbovTqe3ic1VsxjZQj_3u%3DDfgUDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

datatable with edit,save support

Hello all,
I'm trying to put into operation Datatable with crud support. On the server side using https://bitbucket.org/pigletto/django-datatables-view, but i can not set edit and delete operations. Can anyone advise me how to do it? Best with an example. 
Thank you, Hanz

django 1.6
django-datatables-view 1.7
py3.3

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8cb2f976-6c65-45a8-8bf6-6488a6bf5c6d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Error running ./manage.py runserver with Mayen EDMS project

Hi all!

I am trying to install Mayan EDMS on Debian Wheezy on a Cubietruck (armhf).
I try to insall according to the instructions on http://mayan.readthedocs.org/en/latest/intro/installation.html
Everything works fine until I run:
./manage.py runserver
Then I get an error and can't continue. Can anyone help me solve this problem? I am a newbie in Python/Django...

I just posted the question but received an error message. If the question appears twice I am sorry!

Thanks!
 Dominik

Here is the error output:

Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/home/cubie/webapps/mayan/local/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/core/management/base.py", line 209, in execute
    translation.activate('en-us')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 100, in activate
    return _trans.activate(language)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 202, in activate
    _active.value = translation(language)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/registration/__init__.py", line 22, in <module>
    RegistrationSingleton.objects.get()
  File "/home/cubie/webapps/mayan/mayan/apps/common/models.py", line 12, in get
    instance, created = self.model.objects.get_or_create(lock_id=SINGLETON_LOCK_ID, **kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/manager.py", line 135, in get_or_create
    return self.get_query_set().get_or_create(**kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 378, in get_or_create
    return self.get(**lookup), False
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 341, in get
    clone = self.filter(*args, **kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 550, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 568, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1194, in add_q
    can_reuse=used_aliases, force_having=force_having)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1069, in add_filter
    negate=negate, process_extras=process_extras)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1248, in setup_joins
    field, model, direct, m2m = opts.get_field_by_name(name)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 307, in get_field_by_name
    cache = self.init_name_map()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 337, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 414, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 428, in _fill_related_many_to_many_cache
    for klass in get_models():
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/loading.py", line 167, in get_models
    self._populate()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/loading.py", line 61, in _populate
    self.load_app(app_name, True)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in load_app
    models = import_module('.models', app_name)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/dynamic_search/models.py", line 18, in <module>
    class RecentSearch(models.Model):
  File "/home/cubie/webapps/mayan/mayan/apps/dynamic_search/models.py", line 22, in RecentSearch
    user = models.ForeignKey(User, verbose_name=_(u'user'), editable=False)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/checkouts/__init__.py", line 9, in <module>
    from documents.models import Document
  File "/home/cubie/webapps/mayan/mayan/apps/documents/__init__.py", line 18, in <module>
    from .models import (Document, DocumentPage,
  File "/home/cubie/webapps/mayan/mayan/apps/documents/models.py", line 619, in <module>
    class DocumentPageTransformation(models.Model):
  File "/home/cubie/webapps/mayan/mayan/apps/documents/models.py", line 626, in DocumentPageTransformation
    transformation = models.CharField(choices=get_available_transformations_choices(), max_length=128, verbose_name=_(u'transformation'))
  File "/home/cubie/webapps/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/sources/__init__.py", line 13, in <module>
    from .models import (WebForm, StagingFolder, SourceTransformation,
  File "/home/cubie/webapps/mayan/mayan/apps/sources/models.py", line 17, in <module>
    from document_indexing.api import update_indexes
  File "/home/cubie/webapps/mayan/mayan/apps/document_indexing/__init__.py", line 13, in <module>
    from .models import (Index, IndexTemplateNode, IndexInstanceNode)
  File "/home/cubie/webapps/mayan/mayan/apps/document_indexing/models.py", line 14, 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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 227, in __mod__
    return unicode(self) % rhs
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/ocr/__init__.py", line 21, in <module>
    from .models import DocumentQueue, QueueTransformation
  File "/home/cubie/webapps/mayan/mayan/apps/ocr/models.py", line 103, in <module>
    class QueueTransformation(models.Model):
  File "/home/cubie/webapps/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/cubie/webapps/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/linking/__init__.py", line 12, in <module>
    from .models import SmartLink, SmartLinkCondition
  File "/home/cubie/webapps/mayan/mayan/apps/linking/models.py", line 6, in <module>
    from .managers import SmartLinkManager
  File "/home/cubie/webapps/mayan/mayan/apps/linking/managers.py", line 6, in <module>
    from metadata.classes import MetadataClass
  File "/home/cubie/webapps/mayan/mayan/apps/metadata/__init__.py", line 13, in <module>
    from .models import MetadataType, MetadataSet
  File "/home/cubie/webapps/mayan/mayan/apps/metadata/models.py", line 11, in <module>
    available_models_string = (_(u' Available models: %s') % u','.join([name for name, model in AVAILABLE_MODELS.items()])) if AVAILABLE_MODELS else u''
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 227, in __mod__
    return unicode(self) % rhs
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/folders/__init__.py", line 12, in <module>
    from .models import Folder
  File "/home/cubie/webapps/mayan/mayan/apps/folders/models.py", line 10, in <module>
    class Folder(models.Model):
  File "/home/cubie/webapps/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/app_registry/__init__.py", line 23, in <module>
    register_apps()
  File "/home/cubie/webapps/mayan/mayan/apps/app_registry/__init__.py", line 16, in register_apps
    App.register(app_name)
  File "/home/cubie/webapps/mayan/mayan/apps/app_registry/models.py", line 24, in register
    app_module = import_module(app_name)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/installation/__init__.py", line 67, in <module>
    check_first_run()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/transaction.py", line 217, in inner
    res = func(*args, **kwargs)
  File "/home/cubie/webapps/mayan/mayan/apps/installation/__init__.py", line 37, in check_first_run
    details.submit()
  File "/home/cubie/webapps/mayan/mayan/apps/installation/models.py", line 163, in submit
    self.set_properties()
  File "/home/cubie/webapps/mayan/mayan/apps/installation/models.py", line 147, in set_properties
    self.git_properties()
  File "/home/cubie/webapps/mayan/mayan/apps/installation/models.py", line 117, in git_properties
    namespace.add_property(Property('is_git_repo', _(u'Running from a Git repository'), False))
  File "/home/cubie/webapps/mayan/mayan/apps/installation/classes.py", line 47, in add_property
    prop = Property(*args, **kwargs)
TypeError: __init__() takes at least 4 arguments (2 given)


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8cf5c6a6-2a36-4969-a93d-c8c78674a65d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Error running ./manage.py runserver with Mayan-EDMS project

Hi all!

I am trying to install Mayan EDMS on Debian Wheezy on a Cubietruck (armhf).
I follow this instructions:

http://mayan.readthedocs.org/en/latest/intro/installation.html

and everything works fine until I try to start the server with:

./manage.py runserver
I am a python/django newbie and only want to install Mayan...

Can anyone help me to find the problem? The error output is attached below.

Thanks!

 Dominik

Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/home/cubie/webapps/mayan/local/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/core/management/base.py", line 209, in execute
    translation.activate('en-us')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 100, in activate
    return _trans.activate(language)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 202, in activate
    _active.value = translation(language)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/registration/__init__.py", line 22, in <module>
    RegistrationSingleton.objects.get()
  File "/home/cubie/webapps/mayan/mayan/apps/common/models.py", line 12, in get
    instance, created = self.model.objects.get_or_create(lock_id=SINGLETON_LOCK_ID, **kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/manager.py", line 135, in get_or_create
    return self.get_query_set().get_or_create(**kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 378, in get_or_create
    return self.get(**lookup), False
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 341, in get
    clone = self.filter(*args, **kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 550, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/query.py", line 568, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1194, in add_q
    can_reuse=used_aliases, force_having=force_having)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1069, in add_filter
    negate=negate, process_extras=process_extras)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 1248, in setup_joins
    field, model, direct, m2m = opts.get_field_by_name(name)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 307, in get_field_by_name
    cache = self.init_name_map()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 337, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 414, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/options.py", line 428, in _fill_related_many_to_many_cache
    for klass in get_models():
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/loading.py", line 167, in get_models
    self._populate()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/loading.py", line 61, in _populate
    self.load_app(app_name, True)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in load_app
    models = import_module('.models', app_name)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/dynamic_search/models.py", line 18, in <module>
    class RecentSearch(models.Model):
  File "/home/cubie/webapps/mayan/mayan/apps/dynamic_search/models.py", line 22, in RecentSearch
    user = models.ForeignKey(User, verbose_name=_(u'user'), editable=False)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/checkouts/__init__.py", line 9, in <module>
    from documents.models import Document
  File "/home/cubie/webapps/mayan/mayan/apps/documents/__init__.py", line 18, in <module>
    from .models import (Document, DocumentPage,
  File "/home/cubie/webapps/mayan/mayan/apps/documents/models.py", line 619, in <module>
    class DocumentPageTransformation(models.Model):
  File "/home/cubie/webapps/mayan/mayan/apps/documents/models.py", line 626, in DocumentPageTransformation
    transformation = models.CharField(choices=get_available_transformations_choices(), max_length=128, verbose_name=_(u'transformation'))
  File "/home/cubie/webapps/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/sources/__init__.py", line 13, in <module>
    from .models import (WebForm, StagingFolder, SourceTransformation,
  File "/home/cubie/webapps/mayan/mayan/apps/sources/models.py", line 17, in <module>
    from document_indexing.api import update_indexes
  File "/home/cubie/webapps/mayan/mayan/apps/document_indexing/__init__.py", line 13, in <module>
    from .models import (Index, IndexTemplateNode, IndexInstanceNode)
  File "/home/cubie/webapps/mayan/mayan/apps/document_indexing/models.py", line 14, 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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 227, in __mod__
    return unicode(self) % rhs
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/ocr/__init__.py", line 21, in <module>
    from .models import DocumentQueue, QueueTransformation
  File "/home/cubie/webapps/mayan/mayan/apps/ocr/models.py", line 103, in <module>
    class QueueTransformation(models.Model):
  File "/home/cubie/webapps/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/cubie/webapps/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/linking/__init__.py", line 12, in <module>
    from .models import SmartLink, SmartLinkCondition
  File "/home/cubie/webapps/mayan/mayan/apps/linking/models.py", line 6, in <module>
    from .managers import SmartLinkManager
  File "/home/cubie/webapps/mayan/mayan/apps/linking/managers.py", line 6, in <module>
    from metadata.classes import MetadataClass
  File "/home/cubie/webapps/mayan/mayan/apps/metadata/__init__.py", line 13, in <module>
    from .models import MetadataType, MetadataSet
  File "/home/cubie/webapps/mayan/mayan/apps/metadata/models.py", line 11, in <module>
    available_models_string = (_(u' Available models: %s') % u','.join([name for name, model in AVAILABLE_MODELS.items()])) if AVAILABLE_MODELS else u''
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 227, in __mod__
    return unicode(self) % rhs
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/functional.py", line 206, in __unicode_cast
    return self.__func(*self.__args, **self.__kw)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/folders/__init__.py", line 12, in <module>
    from .models import Folder
  File "/home/cubie/webapps/mayan/mayan/apps/folders/models.py", line 10, in <module>
    class Folder(models.Model):
  File "/home/cubie/webapps/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/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 81, in ugettext
    return _trans.ugettext(message)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 286, in ugettext
    return do_translate(message, 'ugettext')
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 276, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
    app = import_module(appname)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/app_registry/__init__.py", line 23, in <module>
    register_apps()
  File "/home/cubie/webapps/mayan/mayan/apps/app_registry/__init__.py", line 16, in register_apps
    App.register(app_name)
  File "/home/cubie/webapps/mayan/mayan/apps/app_registry/models.py", line 24, in register
    app_module = import_module(app_name)
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/cubie/webapps/mayan/mayan/apps/installation/__init__.py", line 67, in <module>
    check_first_run()
  File "/home/cubie/webapps/mayan/local/lib/python2.7/site-packages/django/db/transaction.py", line 217, in inner
    res = func(*args, **kwargs)
  File "/home/cubie/webapps/mayan/mayan/apps/installation/__init__.py", line 37, in check_first_run
    details.submit()
  File "/home/cubie/webapps/mayan/mayan/apps/installation/models.py", line 163, in submit
    self.set_properties()
  File "/home/cubie/webapps/mayan/mayan/apps/installation/models.py", line 147, in set_properties
    self.git_properties()
  File "/home/cubie/webapps/mayan/mayan/apps/installation/models.py", line 117, in git_properties
    namespace.add_property(Property('is_git_repo', _(u'Running from a Git repository'), False))
  File "/home/cubie/webapps/mayan/mayan/apps/installation/classes.py", line 47, in add_property
    prop = Property(*args, **kwargs)
TypeError: __init__() takes at least 4 arguments (2 given)




--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c47260ab-cf9d-4795-97a9-110116b7b8d5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: RPython / Django Web Applications Developer - Michigan $90-$100/hr

Hi Leigh,
Is this is open for remote work?


On Fri, Jan 31, 2014 at 2:21 AM, Leigh Haugen <leighhaugen@gmail.com> wrote:

Great opportunity on a Cloud Development team for somebody who is willing to take a temporary job here in Michigan.

 

Python / Django Web Applications Developer, Michigan 6+mth contract, $90-$100/hr.

No phone calls. Please email resumes to:  leigh@kdmmcorp.com

 

REQUIREMENTS

Must have strong recent experience developing web applications using Python/Django

 

ADDITIONAL SKILLS:

web development skills (Java, JavaScript, HTML and CSS)

great interest in user experience and usability

scaleable web development experience

 

Leigh Haugen

Managing Partner

KDMM Corp

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/007501cf1dfd%2410b5e040%243221a0c0%24%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
With regards,

Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL4xV_Ax-HkyWnpk%2BrYpsFXMGiX%2BJa3wQpkCeGD3B7zbKDdSkA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.