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 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.

Reply via email to