Hello, 
I tried to load a  .arches file and it is giving me errors .

operation: load_resources
package: varanasi_app
loading: /home/sourav/example.arches

VALIDATING ARCHES FILE (/home/sourav/example.arches)

VALIDATING ARCHES FILE (/home/sourav/example.arches)
Traceback (most recent call last):
  File "manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File 
"/home/sourav/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 399, in execute_from_command_line
    utility.execute()
  File 
"/home/sourav/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/sourav/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/sourav/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/base.py",
 
line 285, in execute
    output = self.handle(*args, **options)
  File 
"/home/sourav/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/sourav/Projects/ENV/local/lib/python2.7/site-packages/arches/management/commands/packages.py",
 
line 307, in load_resources
    load(data_source) 
  File "/home/sourav/Projects/varanasi_app/varanasi_app/setup.py", line 15, 
in load_resources
    setup.load_resources(external_file)
  File 
"/home/sourav/Projects/ENV/local/lib/python2.7/site-packages/arches_hip/setup.py",
 
line 82, in load_resources
    rl.load(external_file)
  File 
"/home/sourav/Projects/ENV/local/lib/python2.7/site-packages/arches/app/utils/data_management/resources/importer.py",
 
line 53, in load
    reader.validate_file(source)
  File 
"/home/sourav/Projects/ENV/local/lib/python2.7/site-packages/arches/app/utils/data_management/resources/formats/archesfile.py",
 
line 281, in validate_file
    validator.validate_relations_file(arches_file)
  File 
"/home/sourav/Projects/ENV/local/lib/python2.7/site-packages/arches/app/utils/data_management/resources/formats/archesfile.py",
 
line 233, in validate_relations_file
    with open(relations_file, 'rU') as f:
IOError: [Errno 2] No such file or directory: 
'/home/sourav/example.relations'


Ps. I tried with .arches file taken from Adam cox's file ( 
https://github.com/mradamcox/arc2arches/blob/master/examples/data/bldg_points.arches)




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

Reply via email to