valnet / valuenetwork

Resource Planning and Value Accounting for Value Networks
http://mikorizal.org
GNU Affero General Public License v3.0
99 stars 25 forks source link

Django error on intall step «11. create the sqlite database» #518

Open jean-martial opened 5 years ago

jean-martial commented 5 years ago

Hi guys,

Trying to install nrp, I get the following error message on step 11. create the sqlite database»:

Did I miss something?

(vn) jmn@flash:~/dev/nrp/vn/valuenetwork$ ./manage.py syncdb
Traceback (most recent call last):
  File "./manage.py", line 9, in <module>
    execute_from_command_line(sys.argv)
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 69, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/south/management/commands/__init__.py", line 10, in <module>
    import django.template.loaders.app_directories
  File "/home/jmn/dev/nrp/vn/local/lib/python2.7/site-packages/django/template/loaders/app_directories.py", line 23, in <module>
    raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError corsheaders: cannot import name checks
bhaugen commented 5 years ago

@jean-martial I don't think anybody is maintaining this version of NRP anymore. Several forks have active maintainers and users. They often have additional features. Edited: This appears to be the version that Sensorica is using now: https://github.com/Sensorica/VerdunNRP

That version of NRP pegged a version of corsheaders that might fix that bug.

I added a note about this version's status to the Readme.

bhaugen commented 5 years ago

But @jean-martial I'd be interested in what you want to do with NRP. That also might determine which fork would work best for you.

sqykly commented 5 years ago

Your python version isn't right for django. Roll it back.

David Hand sqykly@gmail.com

On Fri, Oct 19, 2018, 9:12 AM Bob Haugen notifications@github.com wrote:

But @jean-martial https://github.com/jean-martial I'd be interested in what you want to do with NRP. That also might determine which fork would work best for you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/valnet/valuenetwork/issues/518#issuecomment-431358233, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTjLrqDvFJr7P1vl1WctRLGeEtDuchGks5umc-ggaJpZM4XwPBY .

jean-martial commented 5 years ago

Hello @bob,

Nice to see you on this channel! (We met for the first time via an email discussion with Christophe COMBELLE, another frenchy technophil interested in REA.)

But @jean-martial I'd be interested in what you want to do with NRP. That also might determine which fork would work best for you.

With NRP? I only want to change /my/ world! So, in your opinion, wich fork is right for me? ;-)

More seriously, at a first time, I'm benchmarking solutions: I want to mount an instance of OVN to test if configuring my own networks ressources and values with it feet our needs [1].

I'm from Oxalis, a french business and employment co-operatives.

[1] http://wiki.p2pfoundation.net/Business_and_Employment_Cooperatives#Bigre

I think my french Bigre! ecosystem is mature for the next economy.

If I can have an operationnal proof of concept to show (I can not do anything with my ten fingers), it will confirm opportunities here in France.

Jean-Martial

bhaugen commented 5 years ago

@jean-martial that's very interesting! @sqykly is the current maintainer of the version of the valuenetwork code that Sensorica uses, and has some ideas to get you up and running. We also have some other ideas to discuss with you. I will continue in an email.

jean-martial commented 5 years ago

@jean-martial that's very interesting! @sqykly is the current maintainer of the version of the valuenetwork code that Sensorica uses, and has some ideas to get you up and running. We also have some other ideas to discuss with you. I will continue in an email.

Copy.