Fwd: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource
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 aay...@aucegypt.edu wrote: Dear Mai, Kindly check the reply of Arches' Support. Can you please re-install Arches again following the instructions sent Server: 10.2.2.33 username: django pwd: AUC$123 directory: /usr/share/sandboxes/egyarch you can download PuTTY from here: http://www.putty.org/ Many thanks for your invaluable help and continuous support! Asmaa -- Stay Focused. Stay Productive! On Mon, Aug 17, 2015 at 8:38 PM, Adam Cox mr.adam...@gmail.com wrote: 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/#installating-arches-hip . Good luck! On Sunday, August 16, 2015 at 10:59:07 AM UTC-5, aay...@aucegypt.edu wrote: Dear All, I am trying to install Arches-HIP and I am getting an error at the last step before running arches: *(ENV)$ python manage.py packages -o install* I tried it on Centos 7 and on ubuntu, using the install dependencies script; yet both give me the same error. *Centos 7* VACUUM deleting index : concept_labels deleting index : term Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line 399, in execute_from_command_line utility.execute() File /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/lib/python2.7/site-packages/django/core/management/base.py, line 242, in run_from_argv self.execute(*args, **options.__dict__) File /usr/lib/python2.7/site-packages/django/core/management/base.py, line 285, in execute output = self.handle(*args, **options) File /usr/lib/python2.7/site-packages/arches/management/commands/packages.py, line 67, in handle self.install(package_name) File /usr/lib/python2.7/site-packages/arches/management/commands/packages.py, line 114, in install install() File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py, line 6, in install setup.install() File /usr/lib/python2.7/site-packages/arches_hip/setup.py, line 22, in install Resource().prepare_term_index(create=True) File /usr/lib/python2.7/site-packages/arches/app/models/resource.py, line 53, in __new__ mod = __import__(modulename, globals(), locals(), [classname], -1) ImportError: No module named resource *Ubuntu * VACUUM deleting index : concept_labels deleting index : term Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py, line 338, in execute_from_command_line utility.execute() File /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py, line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/local/lib/python2.7/dist-packages/django/core/management/base.py, line 393, in run_from_argv self.execute(*args, **cmd_options) File /usr/local/lib/python2.7/dist-packages/django/core/management/base.py, line 444, in execute output = self.handle(*args, **options) File /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py, line 67, in handle self.install(package_name) File /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py, line 114, in install install() File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py, line 6, in install setup.install() File /usr/local/lib/python2.7/dist-packages/arches_hip/setup.py, line 22, in install Resource().prepare_term_index(create=True) File /usr/local/lib/python2.7/dist-packages/arches/app/models/resource.py, line 53, in __new__ mod = __import__(modulename, globals(), locals(), [classname], -1) ImportError: No module named resource (ENV)arches@mediathread:/usr/share/sandboxes/Projects/my_hip_app$ and I couldn't find the database arches_my_hip_app Can you please help me out with that? I will be working on the Centos server. Thanks a lot, Asmaa -- -- 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
Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource
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 including the error I am stuck at. Also attached the settings.py file. I really appreciate your help! Thanks a lot, Asmaa -- Stay Focused. Stay Productive! On Sun, Aug 23, 2015 at 4:30 PM, Cyrus Hiatt cyrusnhi...@gmail.com wrote: 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, 'Asmaa Ayman' via Arches Project archesproject@googlegroups.com wrote: 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 aay...@aucegypt.edu wrote: Dear Mai, Kindly check the reply of Arches' Support. Can you please re-install Arches again following the instructions sent Server: 10.2.2.33 username: django pwd: AUC$123 directory: /usr/share/sandboxes/egyarch you can download PuTTY from here: http://www.putty.org/ Many thanks for your invaluable help and continuous support! Asmaa -- Stay Focused. Stay Productive! On Mon, Aug 17, 2015 at 8:38 PM, Adam Cox mr.adam...@gmail.com wrote: 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/#installating-arches-hip . Good luck! On Sunday, August 16, 2015 at 10:59:07 AM UTC-5, aay...@aucegypt.edu wrote: Dear All, I am trying to install Arches-HIP and I am getting an error at the last step before running arches: *(ENV)$ python manage.py packages -o install* I tried it on Centos 7 and on ubuntu, using the install dependencies script; yet both give me the same error. *Centos 7* VACUUM deleting index : concept_labels deleting index : term Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line 399, in execute_from_command_line utility.execute() File /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/lib/python2.7/site-packages/django/core/management/base.py, line 242, in run_from_argv self.execute(*args, **options.__dict__) File /usr/lib/python2.7/site-packages/django/core/management/base.py, line 285, in execute output = self.handle(*args, **options) File /usr/lib/python2.7/site-packages/arches/management/commands/packages.py, line 67, in handle self.install(package_name) File /usr/lib/python2.7/site-packages/arches/management/commands/packages.py, line 114, in install install() File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py, line 6, in install setup.install() File /usr/lib/python2.7/site-packages/arches_hip/setup.py, line 22, in install Resource().prepare_term_index(create=True) File /usr/lib/python2.7/site-packages/arches/app/models/resource.py, line 53, in __new__ mod = __import__(modulename, globals(), locals(), [classname], -1) ImportError: No module named resource *Ubuntu * VACUUM deleting index : concept_labels deleting index : term Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py, line 338, in execute_from_command_line utility.execute() File /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py, line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/local/lib/python2.7/dist-packages/django/core/management/base.py, line 393, in run_from_argv self.execute(*args, **cmd_options) File /usr/local/lib/python2.7/dist-packages/django/core/management/base.py, line 444, in execute output = self.handle(*args, **options) File /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py, line 67, in handle self.install(package_name) File /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py, line 114, in install install() File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py, line 6, in
Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource
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, 'Asmaa Ayman' via Arches Project archesproject@googlegroups.com wrote: 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 aay...@aucegypt.edu wrote: Dear Mai, Kindly check the reply of Arches' Support. Can you please re-install Arches again following the instructions sent Server: 10.2.2.33 username: django pwd: AUC$123 directory: /usr/share/sandboxes/egyarch you can download PuTTY from here: http://www.putty.org/ Many thanks for your invaluable help and continuous support! Asmaa -- Stay Focused. Stay Productive! On Mon, Aug 17, 2015 at 8:38 PM, Adam Cox mr.adam...@gmail.com wrote: 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/#installating-arches-hip . Good luck! On Sunday, August 16, 2015 at 10:59:07 AM UTC-5, aay...@aucegypt.edu wrote: Dear All, I am trying to install Arches-HIP and I am getting an error at the last step before running arches: *(ENV)$ python manage.py packages -o install* I tried it on Centos 7 and on ubuntu, using the install dependencies script; yet both give me the same error. *Centos 7* VACUUM deleting index : concept_labels deleting index : term Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line 399, in execute_from_command_line utility.execute() File /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/lib/python2.7/site-packages/django/core/management/base.py, line 242, in run_from_argv self.execute(*args, **options.__dict__) File /usr/lib/python2.7/site-packages/django/core/management/base.py, line 285, in execute output = self.handle(*args, **options) File /usr/lib/python2.7/site-packages/arches/management/commands/packages.py, line 67, in handle self.install(package_name) File /usr/lib/python2.7/site-packages/arches/management/commands/packages.py, line 114, in install install() File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py, line 6, in install setup.install() File /usr/lib/python2.7/site-packages/arches_hip/setup.py, line 22, in install Resource().prepare_term_index(create=True) File /usr/lib/python2.7/site-packages/arches/app/models/resource.py, line 53, in __new__ mod = __import__(modulename, globals(), locals(), [classname], -1) ImportError: No module named resource *Ubuntu * VACUUM deleting index : concept_labels deleting index : term Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py, line 338, in execute_from_command_line utility.execute() File /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py, line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/local/lib/python2.7/dist-packages/django/core/management/base.py, line 393, in run_from_argv self.execute(*args, **cmd_options) File /usr/local/lib/python2.7/dist-packages/django/core/management/base.py, line 444, in execute output = self.handle(*args, **options) File /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py, line 67, in handle self.install(package_name) File /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py, line 114, in install install() File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py, line 6, in install setup.install() File /usr/local/lib/python2.7/dist-packages/arches_hip/setup.py, line 22, in install Resource().prepare_term_index(create=True) File /usr/local/lib/python2.7/dist-packages/arches/app/models/resource.py, line 53, in __new__ mod = __import__(modulename, globals(), locals(), [classname], -1) ImportError: No module named resource (ENV)arches@mediathread:/usr/share/sandboxes/Projects/my_hip_app$ and I couldn't find the database arches_my_hip_app Can you please help me out with that? I will be