hi keyvan,
very hard to say what goes wrong.
this all points to install that is not OK.
best is to go back: remove all installed botsstuff (I guess installed libs are OK)
and try again.
kind regards,
henk-jan
On 12/09/2016 07:02 PM, Moussavi, Keyvan wrote:
> Thanks for the speedy response, I did what you suggested and now I observe this problem:
>
> ######################################
> Traceback (most recent call last):
> File "./webserver.py", line 81, in <module>
> start()
> File "./webserver.py", line 37, in start
> botsinit.generalinit(configdir) #find locating of bots, configfiles, init paths etc.
> File "/usr/lib/python2.7/dist-packages/bots/botsinit.py", line 112, in generalinit
> django.setup()
> File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
> apps.populate(settings.INSTALLED_APPS)
> File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 115, in populate
> app_config.ready()
> File "/usr/lib/python2.7/dist-packages/django/contrib/admin/apps.py", line 22, in ready
> self.module.autodiscover()
> File "/usr/lib/python2.7/dist-packages/django/contrib/admin/__init__.py", line 24, in autodiscover
> autodiscover_modules('admin', register_to=site)
> File "/usr/lib/python2.7/dist-packages/django/utils/module_loading.py", line 74, in autodiscover_modules
> import_module('%s.%s' % (
app_config.name <
http://app_config.name>, module_to_search))
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
> __import__(name)
> File "/usr/lib/python2.7/dist-packages/bots/admin.py", line 16, in <module>
> class BotsAdmin(admin.ModelAdmin):
> File "/usr/lib/python2.7/dist-packages/bots/admin.py", line 19, in BotsAdmin
> list_per_page = botsglobal.ini.getint('settings','adminlimit',botsglobal.ini.getint('settings','limit',30))
> AttributeError: 'NoneType' object has no attribute 'getint'
>
> ######################################
>
> Keyvan
>
703-282-4166
>
> import_module('%s.%s' % (
app_config.name <
http://app_config.name>, module_to_search))
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
> __import__(name)
> File "/home/keyvan/Downloads/bots-3.2.0/bots/admin.py", line 87, in <module>
> class MyConfirmruleAdminForm(forms.ModelForm):
> File "/usr/lib/python2.7/dist-packages/django/forms/models.py", line 274, in __new__
> "needs updating." % name
> django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form MyConfirmruleAdminForm needs updating.
>
> --
> You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
botsmail+u...@googlegroups.com <mailto:
botsmail%2Bunsu...@googlegroups.com>
> <mailto:
botsmail+u...@googlegroups.com <mailto:
botsmail%2Bunsu...@googlegroups.com>>.
> For more options, visit
https://groups.google.com/d/optout <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Bots Open Source EDI Translator" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/botsmail/OaAsBImb96w/unsubscribe <
https://groups.google.com/d/topic/botsmail/OaAsBImb96w/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to
botsmail+u...@googlegroups.com <mailto:
botsmail%2Bunsu...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
botsmail+u...@googlegroups.com <mailto:
botsmail+u...@googlegroups.com>.