[Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2016-12-01 Thread Adam Cox
Hi Pal, does it work if you run the pip command without sudo? I think that the inclusion of sudo will attempt to install arches in your global python. If you omit sudo and run pip with your virtualenv activated, arches should be installed in the virtual environment as intended. Also, what envir

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2016-01-12 Thread mai . abdelaziz
Hi Ivan, We realized that we made a lot of installation mistakes to begin with when we first encountered the "concepts does not exist " error, so we just started a clean installation back then. However, I was reinstalling Arches lately, and I encountered that error again, but this time the onl

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2016-01-11 Thread Alexei Peters
Hi Ivan, Arches will only run on python 2.7.6 I'd fix that first. Cheers, Alexei Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Mon, Jan 11, 2016 at 4:06 PM, Ivan Jovanovski wrote: > Hi everyone, > > did you managed to solve the: > > django.db.utils.ProgrammingError

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2016-01-11 Thread Ivan Jovanovski
Hi everyone, did you managed to solve the: django.db.utils.ProgrammingError: relation "concepts" does not exist LINE 1: ...concepts"."nodetype", "concepts"."legacyoid" FROM "concepts"... problem? I'm trying to install arches-HIP on Windows XP 32bit. There were a lot of python modules missing t

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-20 Thread mai . abdelaziz
Hello Alexei and Adam, Thanks a lot for your suggestions. It was indeed an internal network access problem. Now it seems that the next step would be installing Apache, hope we don't run in a lot of troubles when doing that. And again loads of thanks for your efforts and support. -- Sincerely,

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-16 Thread Alexei Peters
Hi Mai, Just so you understand what happened. When you initially installed pip it was installed in the global python location. From there you could install virtualenv. Virtualenv comes with it's own instance of pip, so that when you create a virtualenv you can pip install from an activated envir

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-15 Thread Adam Cox
Hi Mai, are you on your university servers, or on cloud hosted server? It's possible that whatever port you are trying to use is still blocked by a firewall. Django generally runs on 8000 so I'd recommend using runserver 0:8000 (you don't have to explicitly set your IP), but if it looks like the d

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-15 Thread 'Mai Abdelaziz El Kady' via Arches Project
Hi Alexei, Apparently I ended up using the pip installation that was outside the virtual environment, so arches was installed outside it as well. After using the proper pip, I've got Arches-hip in the right place and after troubleshooting some more psql related errors, the command "python manage.p

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-14 Thread Alexei Peters
Hi Mai, Wow this is really baffling! Just to confirm the steps you took to install arches from a clean machine (generally): 1. Install pip 2. pip install virtualenv 3. $ virtualenv ENV 4. $ source ENV/bin/activate 5. (ENV)$ pip install arches_hip After doing that, you said that yo

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-14 Thread 'Mai Abdelaziz El Kady' via Arches Project
Hi Alexei, Actually, I used pip install arches_hip Thanks On Sun, Sep 13, 2015 at 7:54 PM, Alexei Peters wrote: > Hi Mai, > Did you pip install arches, or arches-hip? > From the looks of the error message arches-hip isn't installed. > Cheers, > Alexei > > > Director of Web Development - Faral

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-13 Thread Alexei Peters
Hi Mai, Did you pip install arches, or arches-hip? >From the looks of the error message arches-hip isn't installed. Cheers, Alexei Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Sun, Sep 13, 2015 at 1:50 AM, wrote: > Hi Adam and Alexei, > > We have decided to start

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-13 Thread mai . abdelaziz
Hi Adam and Alexei, We have decided to start a clean installation of Arches on a new sever, we are now installing it on Red Hat Enterprise Linux Server release 6.7. There are good news and bad news, the bad news is that we got a brand new error message when running: python manage.py packages -o

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-09 Thread Alexei Peters
Hi Mai, It looks like you have 'arches' installed in the default python location (at /usr/lib/python2.7/site-packages/). Maybe you installed arches there first before realizing that you needed to use a virtual environment. I would try un-installing "arches' from the default python instance. Open

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-08 Thread Adam Cox
Hello Mai, it still bothers me that your error messages were coming from python files that were not within your virtual environment, but in the default python installation instead (even though I can see that you had the virtual environment activated). The last error message you sent looked lik

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-09-03 Thread 'Mai Abdelaziz El Kady' via Arches Project
Hi Alexei, I am sorry about the delayed response. I am stumped as well, I have tried your last suggestion and the results were the same. When accessing psql through a terminal we found that the table concepts is created and there are even values in it! We tried selecting from it using the command

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-27 Thread Alexei Peters
Hi Mai, I'm a bit stumped! Every time I've seen an error like "django.db.utils.ProgrammingError: relation "concepts" does not exist" it invariably means that the table hasn't been created or is somehow inaccessible. My only other suggestion would be to change your db settings to this and test aga

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-26 Thread Alexei Peters
Hi Mai, It appears that your database called "arches_my_hip_app" wasn't installed correctly. If you have pgadmin3 or access to a terminal can you confirm that you have a schema called "concepts" and within that a table called "concepts". Your database user "django" needs to have the privilege to c

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-26 Thread 'Mai Abdelaziz El Kady' via Arches Project
Hi Cyrus, My name is Mai and I am working with Asmaa in installing Arches. Thank you for your quick reply. We tried your suggestion but unfortunately the error remained the same, so do you have any more ideas about what could be the cause of it? Thanks a lot for your help and support -- Sincerel

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-24 Thread Cyrus Hiatt
Hi Asmaa - Glad to hear you got a bit further. Sorry I didn't catch this last time, but I see that the paths (e.g. 'os.path') in: RESOURCE_GRAPH_LOCATIONS, CONCEPT_SCHEME_LOCATIONS, and BUSINESS_DATA_FILES have been uncommented. You should try commenting those lines back out again until you a

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-24 Thread 'Asmaa Ayman' via Arches Project
Hi Cyrus, Thanks a lot for the help! We did what you said and it passed that error but now we are facing this one: django.db.utils.ProgrammingError: relation "concepts" does not exist LINE 1: ...concepts"."nodetype", "concepts"."legacyoid" FROM "concepts"... You can find below a more informative

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-23 Thread Cyrus Hiatt
Hi Asmaa - I see your RESOURCE_MODEL and RESOURCE_TYPE_CONFIGS are uncommented in settings.py overriding the hip resource model. Could you re-comment them and run the install command again? Thanks, Cyrus On Sun, Aug 23, 2015 at 8:13 AM, Asmaa Ayman wrote: > Hi Cyrus, > > I am using a differen

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-23 Thread 'Asmaa Ayman' via Arches Project
Hi Cyrus, I am using a different user and password, but all written in the settings.py file. my postgis template database matches the one in the settings.py file. It is 'template_postgis'. What do you advise. I am attaching the entire output file, starting from the installation command and includ

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-23 Thread Cyrus Hiatt
Hi Asmaa - Are you using the default user ('postgres') and password ('postgis') for your postgres connection? If so, does the name of your postgis template database match what's in your Django database settings (probably 'template_postgis_20'? Cheers, Cyrus On Sun, Aug 23, 2015 at 6:36 AM, 'As

Fwd: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-23 Thread 'Asmaa Ayman' via Arches Project
Dear Adam, Yes, we are using a virtual Environment and it was active, my colleague followed the exact steps in the link you provided and still the error remained unchanged. Your advice is highly appreciated! >>> On Wed, Aug 19, 2015 at 12:05 PM, Asmaa Ayman wrote: > Dear Mai, > > Kindly ch

[Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-17 Thread Adam Cox
HI Asmaa, are you using a virtual environment? It looks like you are using the default python installation. You should make a virtual environment, activate it, and then install arches-hip there. Here's more information on that: https://arches-hip.readthedocs.org/en/latest/getting-started/#in