Koen, thank you sooo much! It finally works! Amazing! But, now I get stuck at the same step like : https://groups.google.com/forum/#!topic/archesproject/dKWhVZbGeh8. I found en_us.js, I follow all the steps, but this initialization is never ending. On Tuesday, January 14, 2014 11:53:42 AM UTC+2, Koen Van Daele wrote: > > Hi cristina, > > > > I’d suggest the following. I’ve created and slightly changed version of > Arches that installs on my Ubuntu 12.04. Please follow these instructions > and let me know what happens: > > > > Anything that starts with a dollar sign should be entered through the > command line. Please don’t use sudo here. It’s necessary for the postgres > installation, but a bad idea for installing the Arches software itself. > > > > Go to you home dir > > $ cd /home/cris > > Remove your current version (might need to use sudo here if your previous > version was downloaded with sudo) > > $ rm –rf ArchesWeb > > Download a modified version > > $ wget https://bitbucket.org/koenedaele/arches/get/default.tar.gz > > Untar this > > $ tar –xzf default.tar.gz > > Rename folder > > $ mv koenedaele-arches-ca52ad7c6f55 ArchesWeb > > Install Arches > > $ cd ArchesWeb/Install > > $ ./install.sh > > > > This should work. > > > > Alexei, the errors that Cristina encounters have to do with problems with > distribute and setuptools. The changes I made (see > https://bitbucket.org/koenedaele/arches/commits/ca52ad7c6f55204f43916f0b25acb462b2d545ca) > > fix these by first forcing an upgrade of setuptools (so pip can do its job > later on) and removing the hardcode dependency on distribute 6.something. > There might be other fixes possible (maybe downgrading pip away from pip > 1.5) and I have no idea if this works on a windows or mac. > > > > Also, is there any reason for downloading and untarring Arches as > superuser? I’d suggest changing that in the installation guide. > > > > Cheers, > > Koen > > > > *Koen Van Daele* > > Applicatiebeheerder > > M +32 (0)499 94 93 68 | T +32 (0)2 553 16 82 > > > > *Van:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *Namens *Van Daele, Koen > *Verzonden:* dinsdag 14 januari 2014 9:46 > *Aan:* Tudor Cristina; [email protected] <javascript:> > *Onderwerp:* RE: [Arches] Error while installing Arches on Ubuntu > > > > Hi Cristina, > > > > Please don’t reinstall Ubuntu. That’s unneeded and it will not solve > anything. I’ll have a look at your current erros and see if I can figure > out how to best help you. > > > > Cheers, > > Koen > > > > *Koen Van Daele* > > Applicatiebeheerder > > M +32 (0)499 94 93 68 | T +32 (0)2 553 16 82 > > > > *Van:* Tudor Cristina [mailto:[email protected]<javascript:>] > > *Verzonden:* maandag 13 januari 2014 21:30 > *Aan:* [email protected] <javascript:> > *CC:* Tudor Cristina; Van Daele, Koen > *Onderwerp:* Re: [Arches] Error while installing Arches on Ubuntu > > > > It in strange that in './virtualenv/ENV' I don't have a tmp folder. I will > reinstall Ubuntu and everything else tomorrow, and let you know how thinks > will go. Thank you once again for your support. > > On Monday, January 13, 2014 8:19:43 PM UTC+2, Alexei Peters wrote: > > Sorry clicked send prematurely... > > > > Hi Cristina, > > Many times the error messages that can get during issues like this seem > intimidating, but in reality usually give you clues as to what happened. > > In this case, if you look at the error message you'll notice that it tells > you exactly what to do. > > > > > > > > *pip can't proceed with requirement 'distribute==0.6.27 (from -r > /home/cris/ArchesWeb/Install/requirements.txt (line 5))' due to a > pre-existing build directory. location: > /home/cris/ArchesWeb/virtualenv/ENV/tmp/distributeThis is likely due to a > previous installation that failed.pip is being responsible and not assuming > it can delete this.Please delete it and try again.* > > > > It's saying that you had an installation that previously failed. During > that failed installation, the build process created a "tmp" folder in > /home/cris/ArchesWeb/virtualenv/ENV/ > > Now that you're trying to redo the build, it's saying that you need to > delete the "tmp" folder. It's not going to delete it for you. > > I would delete that folder and then begin the install process all over > again. > > That should work. > > > > Cheers, > > Alexei > > > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > > > On Mon, Jan 13, 2014 at 10:14 AM, Alexei Peters <[email protected]> wrote: > > Hi Cristina, > > Many times the error messages that can get during issues like this seem > intimidating, but in reality usually give you clues as to what happened. > > In this case, if you look at the error message you'll notice that it tells > you exactly what to do. > > > > pip can't proceed with requirement 'distribute==0.6.27 (from -r > /home/cris/ArchesWeb/Install/requirements.txt (line 5))' due to a > pre-existing build directory. > location: /home/cris/ArchesWeb/virtualenv/ENV/tmp/distribute > This is likely due to a previous installation that failed. > pip is being responsible and not assuming it can delete this. > Please delete it and try again. > > > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > > > On Mon, Jan 13, 2014 at 9:51 AM, Tudor Cristina <[email protected]> > wrote: > > So, I finally edited install.py as you said, but I still get this error : > > pip can't proceed with requirement 'distribute==0.6.27 (from -r > /home/cris/ArchesWeb/Install/requirements.txt (line 5))' due to a > pre-existing build directory. > location: /home/cris/ArchesWeb/virtualenv/ENV/tmp/distribute > This is likely due to a previous installation that failed. > pip is being responsible and not assuming it can delete this. > Please delete it and try again. > > Storing debug log for failure in /home/cris/.pip/pip.log > > > Traceback (most recent call last): > > File "install.py", line 64, in <module> > > > shutil.copy2(os.path.join(here, 'base.py'), > os.path.join(virtualenv_working_dir, 'lib', py_version, 'site-packages', > 'django', 'db', 'backends', 'postgresql_psycopg2')) > File "/usr/lib/python2.7/shutil.py", line 128, in copy2 > copyfile(src, dst) > File "/usr/lib/python2.7/shutil.py", line 83, in copyfile > with open(dst, 'wb') as fdst: > IOError: [Errno 2] No such file or directory: > '/home/cris/ArchesWeb/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2' > > I've talked to other person who installed Arches, and worked just fine. I > still can't image why I get this error. I've tried installing on another > device, but I get the same error. > > > > > > > > On Monday, January 13, 2014 12:21:41 PM UTC+2, Koen Van Daele wrote: > > Could you try editing /home/cris/ArchesWeb/Install/install.py with > something like gedit or vim? > > On line 52 it currently says: > > # INSTALL DJANGO, RAWES, SPHINX AND OTHER DEPENDENCIES > > tmpinstalldir = '%s/tmp' % (virtualenv_working_dir) > > os.system("pip install -b %s -r %s" % (tmpinstalldir, os.path.join(here, > 'requirements.txt'))) > shutil.rmtree(tmpinstalldir, True) > > > Try changing it to (adding the third line): > > # INSTALL DJANGO, RAWES, SPHINX AND OTHER DEPENDENCIES > > tmpinstalldir = '%s/tmp' % (virtualenv_working_dir) > > os.system("pip install --no-use-wheel -b %s setuptools --upgrade" % > (tmpinstalldir)) > os.system("pip install -b %s -r %s" % (tmpinstalldir, os.path.join(here, > 'requirements.txt'))) > shutil.rmtree(tmpinstalldir, True) > > If this doesn't work, look for all lines containing pip install (there's > one at the end of the file as well that says pip install psycopg) and add > --no-use-wheel. > > Alexei, there might still be an issue with the requirements.txt file which > pins to distribute version 0.6.27. > > Cheers, > Koen > ________________________________________ > > Van: [email protected] [[email protected]] namens Van > Daele, Koen [[email protected]] > > Verzonden: maandag 13 januari 2014 10:55 > > Aan: Tudor Cristina; [email protected] > > Onderwerp: RE: [Arches] Error while installing Arches on Ubuntu > > Hi, > > is this the same problem as you mentioned in > https://bitbucket.org/archs/arches/issue/363/error-installation-on-ubuntu? > > > In which case it might be that your installation of django is failing. Is > there a folder > '/home/cris/ArchesWeb/virtualenv/ENV/lib/python2.7/site-packages/django'? > You can check this with the ls command, ie. 'ls > /home/cris/ArchesWeb/virtualenv/ENV/lib/python2.7/site-packages/django' > should not say that it does not exist. > > Could you check this? > > You bitbucket ticket seems to indicate some possible problems with > setuptools. > > Cheers, > Koen > ________________________________________ > > Van: [email protected] [[email protected]] namens Tudor > Cristina [[email protected]]u yo > > Verzonden: zondag 12 januari 2014 10:45 > > Aan: [email protected] > > Onderwerp: [Arches] Error while installing Arches on Ubuntu > > Hi! > > I try to install Arches on Ubuntu 12.04 LTS. > I constantly get this error when I enter sudo ./install.sh : > > Traceback (most recent call last): > File "install.py", line 63, in <module> > shutil.copy2(os.path.join(here, 'base.py'), > os.path.join(virtualenv_working_dir, 'lib', py_version, 'site-packages', > 'django', 'db', 'backends', 'postgresql_psycopg2')) > File "/usr/lib/python2.7/shutil.py", line 128, in copy2 > copyfile(src, dst) > File "/usr/lib/python2.7/shutil.py", line 83, in copyfile > with open(dst, 'wb') as fdst: > IOError: [Errno 2] No such file or directory: > '/home/cris/ArchesWeb/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2' > > > > > How can I solve this problem ? I really don't know how to deal with it. > > -- > > -- 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/groups/opt_out. > > -- > > -- 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/groups/opt_out. > > -- > -- 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/groups/opt_out. > > > > > > -- > -- To post, send email to [email protected] <javascript:>. To > unsubscribe, send email to [email protected] <javascript:>. > 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] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. >
-- -- 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/groups/opt_out.
