On a clone of my 4.0.1 VM, running
pip install arches --upgrade --no-binary :all:
worked: no missing modules and the database migration step completed with
no errors, so thanks for your advice.
However, although the web interface displays OK as before (I'm serving it
via Apache), clicking *Search* just gives the "spinning balls" in the
centre of the page, instead of the map showing the asset locations. I'll
try to get some diagnostics out of Postgres to see what's happening.
On Wednesday, 7 March 2018 00:00:12 UTC, Adam Cox wrote:
> Hi David, regarding the python packages, good detective work on this, and
> I think I've found the issue.
> python-jose, etc. should have been installed during
> pip install arches --upgrade
> but I've found that just as we need to add --no-binary :all: to the
> normal pip install command, it also needs to be added to this upgrade
> When I run
> pip install arches==4.0.1 --no-binary :all:
> pip install arches --upgrade --no-binary :all:
> then running pip freeze or pip list *does *show that python-jose and
> django-recaptcha have successfully installed. But if I leave --no-binary
> :all: out of the second command as you would have from following the
> release notes, then, as you found, those new packages are not found.
> On Tue, Mar 6, 2018 at 3:44 PM, David Osborne <daosborne....@gmail.com
>> I may have found a solution to this myself. After searching for *jose*
>> on the Python package index, I found *python-jose* as an alternative
>> which seemed to have the missing *jws* name needed for an import.
>> I therefore ran
>> pip uninstall jose
>> pip install python-jose
>> and my python manage.py migrate then produced an error message relating
>> to the database contents, instead of reporting a missing module:
>> django.db.migrations.exceptions.NodeNotFoundError: Migration
>> models.0010_4_1_0 dependencies reference nonexistent parent node (u'auth',
>> (Full details in the gist at
>> Might this sort of database migration error be expected and is it
>> serious? The database works well with 4.0.1
>> To recap for anyone else with missing modules after doing an upgrade from
>> 4.0.1 to 4.1.0, try
>> pip install django-recaptcha
>> pip install python-jose
>> which (almost) worked for me (your mileage may vary).
>> On Tuesday, 6 March 2018 12:26:36 UTC, David Osborne wrote:
>>> I have a working Arches 4.0.1 installation in a Vagrant VM which I want
>>> to upgrade to 4.1.0, to check the process in advance of upgrading our
>>> project server.
>>> Following the upgrade instructions in
>>> I get an error at the step
>>> python manage.py migrate due to the captcha module not being installed:
>>> (ENV) vagrant@vagrant:~/Projects/my_project$ python manage.py migrate
>>> Traceback (most recent call last):
>>> File "manage.py", line 29, in <module>
>>> line 353, in execute_from_command_line
>>> line 327, in execute
>>> line 18, in setup
>>> line 85, in populate
>>> app_config = AppConfig.create(entry)
>>> line 90, in create
>>> module = import_module(entry)
>>> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>>> ImportError: No module named captcha
>>> I then attempted variously to install, in turn, the captcha,
>>> django-simple-captcha and django-recaptcha modules, finally sticking with
>>> which required a module "jose" but that eventually had a missing "jws" name
>>> it couldn't find, and at that point I gave up and decided to shout "Help!"
>>> There's a log of all this at
>>> beginning and ending with "pip list" to show the modules which were
>>> I'm sure there will be a simple solution!
>> For more information, visit
>> 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
>> For more options, visit https://groups.google.com/d/optout.
-- To post, send email to email@example.com. To unsubscribe, send
email to archesproject+unsubscr...@googlegroups.com. For more information,
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
For more options, visit https://groups.google.com/d/optout.