Hi Peter, Can you confirm the steps you took to install the cds package? Thanks, Alexei
Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Fri, Apr 4, 2014 at 6:22 PM, Peter STOTT <[email protected]> wrote: > Alexei, thanks for all your help. I AM making progress! Running > runserver.bat in the background, I did get Arches up and running. Hurrah! > > I was less successful in installing the CDS package. Log attached. "No > connection could be made because the target machine actively refused it." > Or should runserver.bat have been still running in the background? > > Ignoring the error message, restarting runserver.bat and Arches, left me > with Arches continually trying to initialize, but not succeeding. It > appears that the CDS package installation is incomplete. > > What have I left out? (Yes, I did add 'cds', to the INSTALLED_PACKAGES > setting in settings.py) > > Peter > > > > > On Fri, Apr 4, 2014 at 12:44 PM, Alexei Peters <[email protected]> wrote: > >> Hi Peter, >> That's great. I'm glad we got that straightened out. >> >> To use the site you'll need to run the runserver.bat file. That should >> open 2 windows. 1 is for the built-in django server, the other for the >> Elasticsearch engine. >> >> Once those are running, then you should be able to hit that url: >> http://localhost:8000/Arches/index.htm >> >> FYI, their won't be much to see until you load a package. The CDS >> package is available from the archesproject.org download page, >> here<http://archesproject.org/downloads/> >> . >> >> Cheers, >> Alexei >> >> >> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >> >> >> On Fri, Apr 4, 2014 at 3:58 AM, Peter STOTT <[email protected]> wrote: >> >>> Alexei -- >>> >>> Well, that was the solution (so far!). I HAD downloaded the 64-bit >>> version of OSGeo4W (and Python), but I didn't notice that the directory was >>> not the file name, but "OSGeo4W64" so when I added it to the PATH, and to >>> the settings file, I took the installation manual literally, and wrote >>> OSGeo4W/ and not OSGeo4W64 ! I have now changed both, and run >>> install_arches_db.bat again (it worked, I think); and then build.bat. >>> >>> That took me through "minification." >>> >>> However, I am now at the "confirm" stage. When I typed >>> http://localhost:8000/Arches/index.htm I got a "webpage not available" >>> message (in Chrome). >>> >>> Where should I look for this? Is there a log file somewhere? >>> >>> Peter >>> >>> >>> On Fri, Apr 4, 2014 at 12:32 AM, Alexei Peters <[email protected]>wrote: >>> >>>> Hi Peter, >>>> I just realized that you're on a 64 bit system. It looks like you >>>> downloaded the 32 bit version of OSGeo4W. >>>> Also, you should confirm that you have the 64 bit version of Python >>>> installed as well. You'll then need to update you system PATH and >>>> GDAL_LIBRARY_PATH >>>> variable once you do that. >>>> Cheers, >>>> Alexei >>>> >>>> >>>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >>>> >>>> >>>> On Thu, Apr 3, 2014 at 5:19 PM, Peter STOTT <[email protected]> wrote: >>>> >>>>> Yes. The tail end of my system path is: >>>>> >>>>> C:\Program Files\PostgreSQL\9.3\bin;C:\Program >>>>> Files\PostgreSQL\9.3\lib;C:\OSGeo4W\bin;C:\Python27\;C:\Python27\Scripts >>>>> >>>>> Peter >>>>> >>>>> >>>>> On Thu, Apr 3, 2014 at 7:16 PM, Alexei Peters <[email protected]>wrote: >>>>> >>>>>> HI Peter, >>>>>> Have you added this to your system path? >>>>>> >>>>>> "C:\OSGeo4W\bin" >>>>>> >>>>>> Cheers, >>>>>> Alexei >>>>>> >>>>>> >>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>> 971.227.3173 >>>>>> >>>>>> >>>>>> On Wed, Apr 2, 2014 at 6:59 PM, Peter STOTT <[email protected]>wrote: >>>>>> >>>>>>> Alexi -- >>>>>>> Thanks for this. I added >>>>>>> GDAL_LIBRARY_PATH = "C:/OSGeo4W/bin/gdal110.dll" >>>>>>> to the settings.py file. Does it matter where in the file? I added >>>>>>> it to a new line 54, after ROOT_DIR. >>>>>>> Should there have also been a "#" sign ? >>>>>>> >>>>>>> I had followed p.6 of the docs, but as I hadn't seen the >>>>>>> 'GEOMETRY_BACKEND error, I hadn't at first tried to add the path. I also >>>>>>> looked at the djagno docs reference to the GDAL_LIBRARY_PATH, but didn't >>>>>>> see much help there. >>>>>>> >>>>>>> But the sum result of adding the path as above was that there was no >>>>>>> change. I got the same error message. I am attaching the full screen >>>>>>> shot. >>>>>>> >>>>>>> Peter >>>>>>> >>>>>>> >>>>>>> On Wed, Apr 2, 2014 at 2:08 PM, Alexei Peters <[email protected]>wrote: >>>>>>> >>>>>>>> Hi Peter, >>>>>>>> Have you added this to your settings.py file: >>>>>>>> >>>>>>>> GDAL_LIBRARY_PATH = "C:/OSGeo4W/bin/gdalxxx.dll" #<- make sure this >>>>>>>> path is correct and points to the actual dll, note the forward slashess >>>>>>>> >>>>>>>> Page 6 of the docs has a little more information about this. >>>>>>>> Cheers, >>>>>>>> Alexei >>>>>>>> >>>>>>>> >>>>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>>>> 971.227.3173 >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Apr 1, 2014 at 4:35 PM, Peter STOTT <[email protected]>wrote: >>>>>>>> >>>>>>>>> Alexi -- >>>>>>>>> >>>>>>>>> That worked. So I was able to run install_dependencies.bat, and >>>>>>>>> then runserver.bat. From archesproject/build I then tried to run >>>>>>>>> install_arches_db.bat >>>>>>>>> >>>>>>>>> ... and got the attached error. Import error: cannot import name >>>>>>>>> GEOSException. etc. >>>>>>>>> >>>>>>>>> Peter >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Apr 1, 2014 at 5:10 PM, Alexei Peters >>>>>>>>> <[email protected]>wrote: >>>>>>>>> >>>>>>>>>> Hi Peter, >>>>>>>>>> My guess is that this is because you're trying to install Arches >>>>>>>>>> in the "Program Files" directory. My hint was this error: >>>>>>>>>> InvalidSchema: >>>>>>>>>> No connection adapters were found for 'c:\Program' >>>>>>>>>> >>>>>>>>>> That space (in the directory name) may be causing a problem. >>>>>>>>>> I've never tested installing arches there and I've seen issues with >>>>>>>>>> installing things there before. >>>>>>>>>> >>>>>>>>>> Try moving the "arches-web" folder directly under the C drive. >>>>>>>>>> Then re-run in the install_dependencies.bat file. >>>>>>>>>> >>>>>>>>>> Let me know if that works. >>>>>>>>>> Cheers, >>>>>>>>>> Alexei >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>>>>>> 971.227.3173 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Apr 1, 2014 at 8:27 PM, Peter STOTT >>>>>>>>>> <[email protected]>wrote: >>>>>>>>>> >>>>>>>>>>> Alexi -- >>>>>>>>>>> >>>>>>>>>>> While I was home a few minutes ago, I ran virtualenv.py, as you >>>>>>>>>>> suggested. It did run, and undoubtedly set set up some things, but >>>>>>>>>>> there >>>>>>>>>>> were a lot of "exceptions." Not realizing at the time that it >>>>>>>>>>> created a >>>>>>>>>>> pip.log, I created a screen capture of the sequence, which I am >>>>>>>>>>> attaching. >>>>>>>>>>> I am back at work now, so I can't immediately check to see what was >>>>>>>>>>> created >>>>>>>>>>> - but perhaps you can tell from the log what might be missing. In >>>>>>>>>>> the >>>>>>>>>>> screen capture, I think I missed a line in the middle. (Let me know >>>>>>>>>>> if that >>>>>>>>>>> is critical for diagnosis./) >>>>>>>>>>> >>>>>>>>>>> Peter >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Apr 1, 2014 at 1:37 PM, Alexei Peters < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Peter, >>>>>>>>>>>> Maybe we can try to run this manually which may give us some >>>>>>>>>>>> better errors. >>>>>>>>>>>> >>>>>>>>>>>> Try this: >>>>>>>>>>>> >>>>>>>>>>>> CD to the virtualenv directory and run the following command: >>>>>>>>>>>> >>>>>>>>>>>> python virtualenv.py ENV >>>>>>>>>>>> >>>>>>>>>>>> If that ran successfully, then you should have an "ENV" folder >>>>>>>>>>>> under the "virtualenv" directory. >>>>>>>>>>>> If that works you could try re-running the >>>>>>>>>>>> install_dependencies.bat file again, or if you're really >>>>>>>>>>>> adventurous, you >>>>>>>>>>>> could run the remaining commands in the install.py file (starting >>>>>>>>>>>> from line >>>>>>>>>>>> 45). >>>>>>>>>>>> >>>>>>>>>>>> Let me know if that works for you. >>>>>>>>>>>> Cheers, >>>>>>>>>>>> Alexei >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>>>>>>>> 971.227.3173 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Apr 1, 2014 at 11:18 AM, Peter STOTT < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Thanks, Alexi. My mistake (for not replying all). >>>>>>>>>>>>> >>>>>>>>>>>>> Double-clicking the .bat file does nothing (I assume it also >>>>>>>>>>>>> produces the error message). And yes, I ran the command line file >>>>>>>>>>>>> from >>>>>>>>>>>>> within the inslall directory. >>>>>>>>>>>>> >>>>>>>>>>>>> But yes, it COULD be a permissions issue. When I bought the >>>>>>>>>>>>> laptop (a 64-bit system) three months ago, I had the store >>>>>>>>>>>>> replace Windows >>>>>>>>>>>>> 8 with Windows 7. And occasionally, I have permissions issues and >>>>>>>>>>>>> sometimes >>>>>>>>>>>>> have had to run install programs "as administrator." But running >>>>>>>>>>>>> the .bat >>>>>>>>>>>>> file as administrator doesn't produce a different result. >>>>>>>>>>>>> >>>>>>>>>>>>> But I have checked and already made sure that all >>>>>>>>>>>>> subdirectories within archesproject are fully accessible. Are >>>>>>>>>>>>> there >>>>>>>>>>>>> directories OUTSIDE of archesproject I should also check? >>>>>>>>>>>>> >>>>>>>>>>>>> Peter >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Apr 1, 2014 at 12:56 AM, Alexei Peters < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Peter, >>>>>>>>>>>>>> Fyi, when responding to emails use "reply all" as we want the >>>>>>>>>>>>>> community to be able to benefit from anything learned in these >>>>>>>>>>>>>> email >>>>>>>>>>>>>> threads. >>>>>>>>>>>>>> >>>>>>>>>>>>>> So, there isn't any more output then you've see already. The >>>>>>>>>>>>>> ENV folder is indeed created dynamically. Have you tried just >>>>>>>>>>>>>> double-clicking on the .bat file to run it? >>>>>>>>>>>>>> Also, when you ran it from the command line, did you "cd" >>>>>>>>>>>>>> into the install folder? >>>>>>>>>>>>>> >>>>>>>>>>>>>> I've actually never seen this issue before. Could it be >>>>>>>>>>>>>> permissions? Obviously the system will need to be able to create >>>>>>>>>>>>>> directories and run/execute scripts. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Let me know if I can help more. >>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>> Alexei >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>>>>>>>>>> 971.227.3173 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Mon, Mar 31, 2014 at 12:20 PM, Peter STOTT < >>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Alexi -- >>>>>>>>>>>>>>> As far as I know, that was all there was to the error >>>>>>>>>>>>>>> message. I tried running the install.py by itself, and got the >>>>>>>>>>>>>>> same >>>>>>>>>>>>>>> message. I ran the bat and py files from the command prompt, >>>>>>>>>>>>>>> and the error >>>>>>>>>>>>>>> message arrived on the same screen. Is there a log file >>>>>>>>>>>>>>> somewhere that >>>>>>>>>>>>>>> would have a more extended output? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Peter >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Mon, Mar 31, 2014 at 2:42 PM, Alexei Peters < >>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hi Peter, >>>>>>>>>>>>>>>> Welcome to the Arches project. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> The "ENV" directory should be created as part of running >>>>>>>>>>>>>>>> install_dependencies.bat >>>>>>>>>>>>>>>> Are you sure there were no other errors when running that >>>>>>>>>>>>>>>> file? >>>>>>>>>>>>>>>> Can you send an output of running that script? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>>>> Alexei >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>>>>>>>>>>>> 971.227.3173 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Sat, Mar 29, 2014 at 1:19 PM, Peter STOTT < >>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Friends -- >>>>>>>>>>>>>>>>> As a novice, I was pleased that I have been able to get as >>>>>>>>>>>>>>>>> far as I have, through installing PostgreSQL, GEOS, Python >>>>>>>>>>>>>>>>> and the JDK. But >>>>>>>>>>>>>>>>> I am now stumped by an error message running the bat file in >>>>>>>>>>>>>>>>> archesproject/install, install_dependencies.bat (as well as >>>>>>>>>>>>>>>>> install.py). >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Below is the error message. The directory "virtualenv" >>>>>>>>>>>>>>>>> does not have a subdirectory "ENV" so I assume the directory >>>>>>>>>>>>>>>>> and scripts >>>>>>>>>>>>>>>>> are created on the fly? This seems to be a command in the >>>>>>>>>>>>>>>>> file >>>>>>>>>>>>>>>>> virtualenv.py, but I am a little lost on how to troubleshoot >>>>>>>>>>>>>>>>> this.. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> python: can't open file 'C:\Program': [Errno 2] No such >>>>>>>>>>>>>>>>> file or directory >>>>>>>>>>>>>>>>> Traceback (most recent call last): >>>>>>>>>>>>>>>>> File "C:\Program >>>>>>>>>>>>>>>>> Files\arches-web\archesproject\install\install.py", line 48, >>>>>>>>>>>>>>>>> in <module> >>>>>>>>>>>>>>>>> execfile(activate_this, dict(__file__=activate_this)) >>>>>>>>>>>>>>>>> IOError: [Errno 2] No such file or directory: 'C:\\Program >>>>>>>>>>>>>>>>> Files\\arches-web\\archesproject\\virtualenv\\ENV\\Scripts\\activate_this.py' >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Any help would be much appreciated. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Peter Stott >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> -- 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 >>>>>>>>>>>>>>>>> . >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Peter H. Stott >>>>>>>>>>>>>>> 7 Ocean View Drive, #108 >>>>>>>>>>>>>>> Dorchester, MA 02125-3565 >>>>>>>>>>>>>>> Tel: +1 (617) 877-4721 (cell/mob) >>>>>>>>>>>>>>> Tel: +1 (617) 297-2395 (Skype incoming) >>>>>>>>>>>>>>> Fax: +1 (617) 507-6450 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Skype: phstott >>>>>>>>>>>>>>> E-mail: [email protected] >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Peter H. Stott >>>>>>>>>>>>> 7 Ocean View Drive, #108 >>>>>>>>>>>>> Dorchester, MA 02125-3565 >>>>>>>>>>>>> Tel: +1 (617) 877-4721 (cell/mob) >>>>>>>>>>>>> Tel: +1 (617) 297-2395 (Skype incoming) >>>>>>>>>>>>> Fax: +1 (617) 507-6450 >>>>>>>>>>>>> >>>>>>>>>>>>> Skype: phstott >>>>>>>>>>>>> E-mail: [email protected] >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Peter H. Stott >>>>>>>>>>> 7 Ocean View Drive, #108 >>>>>>>>>>> Dorchester, MA 02125-3565 >>>>>>>>>>> Tel: +1 (617) 877-4721 (cell/mob) >>>>>>>>>>> Tel: +1 (617) 297-2395 (Skype incoming) >>>>>>>>>>> Fax: +1 (617) 507-6450 >>>>>>>>>>> >>>>>>>>>>> Skype: phstott >>>>>>>>>>> E-mail: [email protected] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Peter H. Stott >>>>>>>>> 7 Ocean View Drive, #108 >>>>>>>>> Dorchester, MA 02125-3565 >>>>>>>>> Tel: +1 (617) 877-4721 (cell/mob) >>>>>>>>> Tel: +1 (617) 297-2395 (Skype incoming) >>>>>>>>> Fax: +1 (617) 507-6450 >>>>>>>>> >>>>>>>>> Skype: phstott >>>>>>>>> E-mail: [email protected] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Peter H. Stott >>>>>>> 7 Ocean View Drive, #108 >>>>>>> Dorchester, MA 02125-3565 >>>>>>> Tel: +1 (617) 877-4721 (cell/mob) >>>>>>> Tel: +1 (617) 297-2395 (Skype incoming) >>>>>>> Fax: +1 (617) 507-6450 >>>>>>> >>>>>>> Skype: phstott >>>>>>> E-mail: [email protected] >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Peter H. Stott >>>>> 7 Ocean View Drive, #108 >>>>> Dorchester, MA 02125-3565 >>>>> Tel: +1 (617) 877-4721 (cell/mob) >>>>> Tel: +1 (617) 297-2395 (Skype incoming) >>>>> Fax: +1 (617) 507-6450 >>>>> >>>>> Skype: phstott >>>>> E-mail: [email protected] >>>>> >>>> >>>> >>> >>> >>> -- >>> Peter H. Stott >>> 7 Ocean View Drive, #108 >>> Dorchester, MA 02125-3565 >>> Tel: +1 (617) 877-4721 (cell/mob) >>> Tel: +1 (617) 297-2395 (Skype incoming) >>> Fax: +1 (617) 507-6450 >>> >>> Skype: phstott >>> E-mail: [email protected] >>> >> >> > > > -- > Peter H. Stott > 7 Ocean View Drive, #108 > Dorchester, MA 02125-3565 > Tel: +1 (617) 877-4721 (cell/mob) > Tel: +1 (617) 297-2395 (Skype incoming) > Fax: +1 (617) 507-6450 > > Skype: phstott > E-mail: [email protected] > -- -- 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.
