Thank you sooooo much! I'm working with a different django-based project that's also stuck on django 1.6, and I never would have been able to figure this out on my own!
On Tuesday, March 14, 2017 at 10:38:03 AM UTC-7, [email protected] wrote: > > Just in case anyone has been having this issue again, the reason is one of > compatibility. When installing django-storages, pip installs the latest > version of the packages, which has dropped any backward compatibility with > Django <1.10. You must, instead, install an earlier version, and notably > earlier than 1.4. To do so, type the following: pip install > django-storages-redux==1.3.2 > > This package is compatible with Django 1.6.2, on which Arches 3 is built. > > Best, > > Andrea > > > On Saturday, October 8, 2016 at 4:54:44 AM UTC+1, Adam Cox wrote: >> >> Hi Stephan, >> >> I haven't seen this error before, and from the forums I was just looking >> at, it seems like it does have to do with django versions. Can you confirm >> that you are still using Django 1.6? >> >> >> On Thursday, October 6, 2016 at 9:44:53 AM UTC-5, Stephan Gmur wrote: >>> >>> Hello All, >>> >>> I am having troubles using the load_resources method within the >>> manage.py module. This is a new instance which was build at the end of last >>> week and the load_resources method worked a few days ago. My first thought >>> is that there were some updates which I applied which might have updated a >>> library to create the error that s3boto could not load the library >>> deconstructible. Please let me know if more information is needed to get an >>> idea of what is happening. >>> >>> >>> (ENV)ubuntu@ip-172-31-36-12:~/Projects/prism$ python manage.py packages >>> -o load_resources -s /home/ubuntu/Projects/prism/ascat/source_data/ >>> business_data/data.arches >>> operation: load_resources >>> package: ascat >>> loading: >>> /home/ubuntu/Projects/prism/ascat/source_data/business_data/20161005_wcmrc_drill_pre_team2_test.arches >>> >>> VALIDATING ARCHES FILE >>> (/home/ubuntu/Projects/prism/ascat/source_data/business_data/20161005_wcmrc_drill_pre_team2_test.arches) >>> Validation of your Arches file took: 0.0230350494385 seconds. >>> Validation of your business data took: 0.00533699989319 seconds. >>> >>> LOADING RESOURCES >>> (/home/ubuntu/Projects/prism/ascat/source_data/business_data/20161005_wcmrc_drill_pre_team2_test.arches) >>> time to parse >>> /home/ubuntu/Projects/prism/ascat/source_data/business_data/20161005_wcmrc_drill_pre_team2_test >>> >>> resources = 0.0059700012207 >>> Traceback (most recent call last): >>> File "manage.py", line 28, in <module> >>> execute_from_command_line(sys.argv) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", >>> >>> line 399, in execute_from_command_ >>> line >>> utility.execute() >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", >>> >>> line 392, in execute >>> self.fetch_command(subcommand).run_from_argv(self.argv) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", >>> >>> line 242, in run_from_argv >>> self.execute(*args, **options.__dict__) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", >>> >>> line 285, in execute >>> output = self.handle(*args, **options) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/management/commands/packages.py", >>> >>> line 91, in handle >>> self.load_resources(package_name, options['source']) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/management/commands/packages.py", >>> >>> line 308, in load_resources >>> load(data_source) >>> File "/home/ubuntu/Projects/prism/ascat/setup.py", line 220, in >>> load_resources >>> results = rl.load(external_file) >>> File "/home/ubuntu/Projects/prism/ascat/utils/resources/importer.py", >>> line 67, in load >>> results = self.resource_list_to_entities(resources, archesjson) >>> File "/home/ubuntu/Projects/prism/ascat/utils/resources/importer.py", >>> line 111, in resource_list_to_entities >>> master_graph.save(user=self.user, note=load_id, >>> resource_uuid=entityid) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/models/resource.py", >>> >>> line 81, in save >>> self._save() >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/models/entity.py", >>> >>> line 174, in _save >>> child = child_entity._save() >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/models/entity.py", >>> >>> line 170, in _save >>> self.value = themodelinstance.geturl() >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/models/models.py", >>> >>> line 440, in geturl >>> return self.val.url >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/db/models/fields/files.py", >>> >>> line 64, in _get_url >>> return self.storage.url(self.name) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/utils/functional.py", >>> >>> line 213, in inner >>> self._setup() >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/files/storage.py", >>> >>> line 286, in _setup >>> self._wrapped = get_storage_class()() >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/files/storage.py", >>> >>> line 282, in get_storage_class >>> return import_by_path(import_path or settings.DEFAULT_FILE_STORAGE) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/utils/module_loading.py", >>> >>> line 26, in import_by_path >>> sys.exc_info()[2]) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/utils/module_loading.py", >>> >>> line 21, in import_by_path >>> module = import_module(module_path) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/utils/importlib.py", >>> >>> line 40, in import_module >>> __import__(name) >>> File >>> "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/storages/backends/s3boto.py", >>> >>> line 11, in <module> >>> from django.utils.deconstruct import deconstructible >>> django.core.exceptions.ImproperlyConfigured: Error importing module >>> storages.backends.s3boto: "No module named deconstruct" >>> (ENV)ubuntu@ip-172-31-36-12:~/Projects/prism$ >>> >>> -- -- 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.
