Re: [Arches] Arches Installation Unable to run Django Server
Hi Adam, No, that was an issue. I couldn't create my_project. I feel like its me not understanding the directions (I only made it this far since Scott Branting, my supervisor for Arches walked me through it step by step). I entered " python C:\ArchesProjects\ENV\Scripts\arches-project create my_project" into my command prompt and got the following: C:\>python C:\ArchesProjects\ENV\Scripts\arches-project create my_project Traceback (most recent call last): File "C:\ArchesProjects\ENV\Scripts\arches-project", line 6, in exec(compile(open(__file__).read(), __file__, 'exec')) File "C:\ArchesProjects\arches\arches\install\arches-project", line 12, in from django.utils.crypto import get_random_string File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in import hmac File "C:\Python27\Lib\hmac.py", line 8, in from operator import _compare_digest as compare_digest ImportError: cannot import name _compare_digest On Tuesday, April 25, 2017 at 3:47:58 PM UTC-7, Adam Cox wrote: > > Hi Susan, ok, sounds like it's an issue with using the new project. Can > you confirm you had entered the new project and that's where you were > running manage.py from? > > On Tue, Apr 25, 2017 at 5:10 PM, Susan Penacho> wrote: > >> Hi Alexei, >> Thank you for getting back to me quickly. I am not totally sure what >> changed. I was finishing working through the arches install steps to try >> and fix the greyed out issue once I had logged on. Using the website steps, >> I tried to create an arches project since I didn't have the project >> directory. >> >> Alex is right that I was using the repo. I have not tried running that >> again. >> >> Thanks for the help. I am just a humble archaeologist and all this is a >> little past my computer skills. >> >> >> On Tuesday, April 25, 2017 at 2:40:07 PM UTC-7, Alexei Peters wrote: >>> >>> Hi Susan, >>> What changed between last week and this? Have you pip installed Arches, >>> or are you running directly from the repository? >>> Obviously something changed. It just a matter of pip pointing what. >>> Cheers, >>> Alexei >>> >>> >>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >>> >>> On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho >>> wrote: >>> Hi, Last week I had Arches up and running where I could log in and see the main arches interface through the localhost. However, this week, I can no longer run the Django server to launch arches. I am working on a local computer with Windows 10 which I am using to build our graphs before it goes live on a remote server. Any help would be much appreciated. After activating the virtual environment and starting elastic search, when I try to run the Django server I get the following error: (ENV) C:\ArchesProjects\arches>python manage.py runserver Traceback (most recent call last): File "manage.py", line 22, in from django.core.management import execute_from_command_line File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 13, in from django.core.management.base import ( File "C:\Python27\lib\site-packages\django\core\management\base.py", line 17, in from django.db.migrations.exceptions import MigrationSchemaMissing File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", line 2, in from .operations import * # NOQA File "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", line 1, in from .fields import AddField, AlterField, RemoveField, RenameField File "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", line 3, in from django.db.models.fields import NOT_PROVIDED File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line 14, in from django.db.models.fields.files import FileField, ImageField File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", line 10, in from django.core.files.storage import default_storage File "C:\Python27\lib\site-packages\django\core\files\storage.py", line 13, in from django.utils.crypto import get_random_string File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in import hmac File "C:\Python27\Lib\hmac.py", line 8, in from operator import _compare_digest as compare_digest ImportError: cannot import name _compare_digest -- -- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesprojec...@googlegroups.com. For more information, visit
Re: [Arches] Arches Installation Unable to run Django Server
Hi Susan, ok, sounds like it's an issue with using the new project. Can you confirm you had entered the new project and that's where you were running manage.py from? On Tue, Apr 25, 2017 at 5:10 PM, Susan Penachowrote: > Hi Alexei, > Thank you for getting back to me quickly. I am not totally sure what > changed. I was finishing working through the arches install steps to try > and fix the greyed out issue once I had logged on. Using the website steps, > I tried to create an arches project since I didn't have the project > directory. > > Alex is right that I was using the repo. I have not tried running that > again. > > Thanks for the help. I am just a humble archaeologist and all this is a > little past my computer skills. > > > On Tuesday, April 25, 2017 at 2:40:07 PM UTC-7, Alexei Peters wrote: >> >> Hi Susan, >> What changed between last week and this? Have you pip installed Arches, >> or are you running directly from the repository? >> Obviously something changed. It just a matter of pip pointing what. >> Cheers, >> Alexei >> >> >> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >> <(971)%20227-3173> >> >> On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho >> wrote: >> >>> Hi, >>> Last week I had Arches up and running where I could log in and see the >>> main arches interface through the localhost. However, this week, I can no >>> longer run the Django server to launch arches. I am working on a local >>> computer with Windows 10 which I am using to build our graphs before it >>> goes live on a remote server. Any help would be much appreciated. >>> >>> After activating the virtual environment and starting elastic search, >>> when I try to run the Django server I get the following error: >>> >>> >>> >>> (ENV) C:\ArchesProjects\arches>python manage.py runserver >>> >>> Traceback (most recent call last): >>> >>> File "manage.py", line 22, in >>> >>> from django.core.management import execute_from_command_line >>> >>> File "C:\Python27\lib\site-packages\django\core\management\__init__.py", >>> line 13, in >>> >>> from django.core.management.base import ( >>> >>> File "C:\Python27\lib\site-packages\django\core\management\base.py", >>> line 17, in >>> >>> from django.db.migrations.exceptions import MigrationSchemaMissing >>> >>> File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", >>> line 2, in >>> >>> from .operations import * # NOQA >>> >>> File >>> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", >>> line 1, in >>> >>> from .fields import AddField, AlterField, RemoveField, RenameField >>> >>> File >>> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", >>> line 3, in >>> >>> from django.db.models.fields import NOT_PROVIDED >>> >>> File "C:\Python27\lib\site-packages\django\db\models\__init__.py", >>> line 14, in >>> >>> from django.db.models.fields.files import FileField, ImageField >>> >>> File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", >>> line 10, in >>> >>> from django.core.files.storage import default_storage >>> >>> File "C:\Python27\lib\site-packages\django\core\files\storage.py", >>> line 13, in >>> >>> from django.utils.crypto import get_random_string >>> >>> File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, >>> in >>> >>> import hmac >>> >>> File "C:\Python27\Lib\hmac.py", line 8, in >>> >>> from operator import _compare_digest as compare_digest >>> >>> ImportError: cannot import name _compare_digest >>> >>> -- >>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, >>> send email to archesprojec...@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 archesprojec...@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. > -- -- 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
Re: [Arches] Arches Installation Unable to run Django Server
Hi Alexei, Thank you for getting back to me quickly. I am not totally sure what changed. I was finishing working through the arches install steps to try and fix the greyed out issue once I had logged on. Using the website steps, I tried to create an arches project since I didn't have the project directory. Alex is right that I was using the repo. I have not tried running that again. Thanks for the help. I am just a humble archaeologist and all this is a little past my computer skills. On Tuesday, April 25, 2017 at 2:40:07 PM UTC-7, Alexei Peters wrote: > > Hi Susan, > What changed between last week and this? Have you pip installed Arches, > or are you running directly from the repository? > Obviously something changed. It just a matter of pip pointing what. > Cheers, > Alexei > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho> wrote: > >> Hi, >> Last week I had Arches up and running where I could log in and see the >> main arches interface through the localhost. However, this week, I can no >> longer run the Django server to launch arches. I am working on a local >> computer with Windows 10 which I am using to build our graphs before it >> goes live on a remote server. Any help would be much appreciated. >> >> After activating the virtual environment and starting elastic search, >> when I try to run the Django server I get the following error: >> >> >> >> (ENV) C:\ArchesProjects\arches>python manage.py runserver >> >> Traceback (most recent call last): >> >> File "manage.py", line 22, in >> >> from django.core.management import execute_from_command_line >> >> File >> "C:\Python27\lib\site-packages\django\core\management\__init__.py", line >> 13, in >> >> from django.core.management.base import ( >> >> File "C:\Python27\lib\site-packages\django\core\management\base.py", >> line 17, in >> >> from django.db.migrations.exceptions import MigrationSchemaMissing >> >> File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", >> line 2, in >> >> from .operations import * # NOQA >> >> File >> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", >> line 1, in >> >> from .fields import AddField, AlterField, RemoveField, RenameField >> >> File >> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", >> line 3, in >> >> from django.db.models.fields import NOT_PROVIDED >> >> File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line >> 14, in >> >> from django.db.models.fields.files import FileField, ImageField >> >> File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", >> line 10, in >> >> from django.core.files.storage import default_storage >> >> File "C:\Python27\lib\site-packages\django\core\files\storage.py", line >> 13, in >> >> from django.utils.crypto import get_random_string >> >> File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in >> >> >> import hmac >> >> File "C:\Python27\Lib\hmac.py", line 8, in >> >> from operator import _compare_digest as compare_digest >> >> ImportError: cannot import name _compare_digest >> >> -- >> -- To post, send email to arches...@googlegroups.com . To >> unsubscribe, send email to archesprojec...@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 archesprojec...@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] Arches Installation Unable to run Django Server
I believe she would be using the repository, because I script I had written up uses the repo installation, not pip. Whenever the script was last run, that's the version of the repo that would be used in her installation. Susan, have you tried rerunning the script between now and last week? I think that could be the issue, because things are changing in the repo everyday. That script should probably be changed to a pip install, to avoid issues like this. It was just developed in conjunction with the Liverpool workshop at which time the github repo was the best method. Adam On Tue, Apr 25, 2017 at 4:40 PM, Alexei Peterswrote: > Hi Susan, > What changed between last week and this? Have you pip installed Arches, > or are you running directly from the repository? > Obviously something changed. It just a matter of pip pointing what. > Cheers, > Alexei > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > <(971)%20227-3173> > > On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho > wrote: > >> Hi, >> Last week I had Arches up and running where I could log in and see the >> main arches interface through the localhost. However, this week, I can no >> longer run the Django server to launch arches. I am working on a local >> computer with Windows 10 which I am using to build our graphs before it >> goes live on a remote server. Any help would be much appreciated. >> >> After activating the virtual environment and starting elastic search, >> when I try to run the Django server I get the following error: >> >> >> >> (ENV) C:\ArchesProjects\arches>python manage.py runserver >> >> Traceback (most recent call last): >> >> File "manage.py", line 22, in >> >> from django.core.management import execute_from_command_line >> >> File "C:\Python27\lib\site-packages\django\core\management\__init__.py", >> line 13, in >> >> from django.core.management.base import ( >> >> File "C:\Python27\lib\site-packages\django\core\management\base.py", >> line 17, in >> >> from django.db.migrations.exceptions import MigrationSchemaMissing >> >> File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", >> line 2, in >> >> from .operations import * # NOQA >> >> File >> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", >> line 1, in >> >> from .fields import AddField, AlterField, RemoveField, RenameField >> >> File >> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", >> line 3, in >> >> from django.db.models.fields import NOT_PROVIDED >> >> File "C:\Python27\lib\site-packages\django\db\models\__init__.py", >> line 14, in >> >> from django.db.models.fields.files import FileField, ImageField >> >> File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", >> line 10, in >> >> from django.core.files.storage import default_storage >> >> File "C:\Python27\lib\site-packages\django\core\files\storage.py", >> line 13, in >> >> from django.utils.crypto import get_random_string >> >> File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, >> in >> >> import hmac >> >> File "C:\Python27\Lib\hmac.py", line 8, in >> >> from operator import _compare_digest as compare_digest >> >> ImportError: cannot import name _compare_digest >> >> -- >> -- 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/fo >> rum/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. > -- -- 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] Arches Installation Unable to run Django Server
Hi Susan, What changed between last week and this? Have you pip installed Arches, or are you running directly from the repository? Obviously something changed. It just a matter of pip pointing what. Cheers, Alexei Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Tue, Apr 25, 2017 at 12:09 PM, Susan Penachowrote: > Hi, > Last week I had Arches up and running where I could log in and see the > main arches interface through the localhost. However, this week, I can no > longer run the Django server to launch arches. I am working on a local > computer with Windows 10 which I am using to build our graphs before it > goes live on a remote server. Any help would be much appreciated. > > After activating the virtual environment and starting elastic search, when > I try to run the Django server I get the following error: > > > > (ENV) C:\ArchesProjects\arches>python manage.py runserver > > Traceback (most recent call last): > > File "manage.py", line 22, in > > from django.core.management import execute_from_command_line > > File "C:\Python27\lib\site-packages\django\core\management\__init__.py", > line 13, in > > from django.core.management.base import ( > > File "C:\Python27\lib\site-packages\django\core\management\base.py", > line 17, in > > from django.db.migrations.exceptions import MigrationSchemaMissing > > File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", > line 2, in > > from .operations import * # NOQA > > File > "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", > line 1, in > > from .fields import AddField, AlterField, RemoveField, RenameField > > File > "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", > line 3, in > > from django.db.models.fields import NOT_PROVIDED > > File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line > 14, in > > from django.db.models.fields.files import FileField, ImageField > > File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", > line 10, in > > from django.core.files.storage import default_storage > > File "C:\Python27\lib\site-packages\django\core\files\storage.py", line > 13, in > > from django.utils.crypto import get_random_string > > File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in > > > import hmac > > File "C:\Python27\Lib\hmac.py", line 8, in > > from operator import _compare_digest as compare_digest > > ImportError: cannot import name _compare_digest > > -- > -- 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.
[Arches] Arches Installation Unable to run Django Server
Hi, Last week I had Arches up and running where I could log in and see the main arches interface through the localhost. However, this week, I can no longer run the Django server to launch arches. I am working on a local computer with Windows 10 which I am using to build our graphs before it goes live on a remote server. Any help would be much appreciated. After activating the virtual environment and starting elastic search, when I try to run the Django server I get the following error: (ENV) C:\ArchesProjects\arches>python manage.py runserver Traceback (most recent call last): File "manage.py", line 22, in from django.core.management import execute_from_command_line File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 13, in from django.core.management.base import ( File "C:\Python27\lib\site-packages\django\core\management\base.py", line 17, in from django.db.migrations.exceptions import MigrationSchemaMissing File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", line 2, in from .operations import * # NOQA File "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", line 1, in from .fields import AddField, AlterField, RemoveField, RenameField File "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", line 3, in from django.db.models.fields import NOT_PROVIDED File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line 14, in from django.db.models.fields.files import FileField, ImageField File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", line 10, in from django.core.files.storage import default_storage File "C:\Python27\lib\site-packages\django\core\files\storage.py", line 13, in from django.utils.crypto import get_random_string File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in import hmac File "C:\Python27\Lib\hmac.py", line 8, in from operator import _compare_digest as compare_digest ImportError: cannot import name _compare_digest -- -- 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.