Hi David, are you using a config file from the repo, or have you made a new
one? From looking at the error, it seems like the config file you are using
may have [ ] in the outermost position instead of { }, but the config files
in that repo do look fine to me.

Adam

On Thu, Jan 18, 2018 at 9:13 AM, David Lopes <[email protected]> wrote:

> Hi,
>
> I've been trying to add .sql and .json files to the data base without
> success (https://github.com/legiongis/arches4-geo-examples)
>
> I get the following message:
>
> operation: add_tileserver_layer
> package: arches
> Traceback (most recent call last):
>   File "manage.py", line 27, 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 364, in
> execute_from_command_line
>     utility.execute()
>   File "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 356, 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 283, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File "/home/ubuntu/Projects/ENV/local/lib/python2.7/site-
> packages/django/core/management/base.py", line 330, in execute
>     output = self.handle(*args, **options)
>   File "/home/ubuntu/Projects/arches/arches/management/commands/packages.py",
> line 188, in handle
>     self.add_tileserver_layer(options['layer_name'],
> options['mapnik_xml_path'], options['layer_icon'], options['is_basemap'],
> options['tile_config_path'])
>   File "/home/ubuntu/Projects/arches/arches/management/commands/packages.py",
> line 908, in add_tileserver_layer
>     config = config_data["config"]
> TypeError: list indices must be integers, not str
>
>
> Can you tell what's wrong?
>
> Thanks
>
> --
> -- 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.
>

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