Hi Sajan, It looks like you're trying to run Arches by itself without a package. Arches requires a package to be installed before it can be run successfully.
If you're just evaluating Arches, then the easiest way to get a package is to install arches_hip into your virtualenv. http://arches-hip.readthedocs.io/en/latest/getting-started/#installating-arches-hip This should resolve the issue you're having. BTW, Arches v4 is still in development and won't be ready for evaluation for a month or so. Cheers, Alexei Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Mon, Aug 22, 2016 at 12:46 AM, Sajan Maharjan <[email protected] > wrote: > Hello Alexei > > First of all thanks for pointing out my mistake but i couldnt find any of > this information in any of the documentation. > > That certainly solved the problem for the models migration. And i no > longer see a need for migrations, > > But I am back to the same error I had earlier, for which I felt I needed > to migrate. > > In the page: http://localhost:8000/search > relation "dates" does not exist > LINE 1: ...AS "val__max", MIN("dates"."val") AS "val__min" FROM "dates" > > In the page: http://localhost:8000/map > TypeError at /resources/markers/all > 'NoneType' object has no attribute '__getitem__' > > Clearly It states that the database hasnt been loaded with data. I have > looked into other posts here in this group. > I looked into this post in the group, which tries to solve the issue. > https://groups.google.com/forum/#!topic/archesproject/7I0U9zYZX-U > > But running the suggested command 'python manage.py packages -o install' > gives the following error > > (ENV)sajan@ubuntu:~/arches-stable$ python manage.py packages -o install > operation: install > Traceback (most recent call last): > File "manage.py", line 27, in <module> > execute_from_command_line(sys.argv) > File "/home/sajan/arches-stable/ENV/local/lib/python2.7/site- > packages/django/core/management/__init__.py", line 399, in > execute_from_command_line > utility.execute() > File "/home/sajan/arches-stable/ENV/local/lib/python2.7/site- > packages/django/core/management/__init__.py", line 392, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/home/sajan/arches-stable/ENV/local/lib/python2.7/site- > packages/django/core/management/base.py", line 242, in run_from_argv > self.execute(*args, **options.__dict__) > File "/home/sajan/arches-stable/ENV/local/lib/python2.7/site- > packages/django/core/management/base.py", line 285, in execute > output = self.handle(*args, **options) > File "/home/sajan/arches-stable/arches/management/commands/packages.py", > line 66, in handle > package_name = settings.PACKAGE_NAME > File "/home/sajan/arches-stable/ENV/local/lib/python2.7/site- > packages/django/conf/__init__.py", line 55, in __getattr__ > return getattr(self._wrapped, name) > AttributeError: 'Settings' object has no attribute 'PACKAGE_NAME' > > Any advice on how to resolve the issue? > > -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
