[Arches] Re: Short term vacancy announcement for Nepalese

2016-08-22 Thread Jae Hun Lee
Hello all,

Regarding this recruitment, I gave candidates a simple assignment test a 
week ago, and they have been facing many problems. I caused recent surge of 
posts :) and some of you can guess what is the test. Anyway, it will be 
over in less than 11 hours. I didn't expect candidates to post their 
problems this actively because the test is very simple, and it's homework. 
I appreciate this community for trying to help them whatever the problems 
were. 

Thank you.


On Thursday, August 4, 2016 at 2:32:26 PM UTC+5:45, Jae Hun Lee wrote:
>
> Hello,
>
> UNESCO Kathamndu Office is seeking a software engineer who will work for 
> Government of Nepal. Detailed information can be found here: 
> http://goo.gl/uVsqgm 
>
> Thank you.
>
>
>
>
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Failed Initial Migration for Models

2016-08-22 Thread Alexei Peters
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  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 
> 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 archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Failed Initial Migration for Models

2016-08-22 Thread Sajan Maharjan
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 
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 archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.