This is related:
https://stackoverflow.com/questions/3382234/python-adds-e-to-string

So it's likely a problem on the psycopg2 <--> side of things, not in the
json loading specifically.

On Tue, Jan 30, 2018 at 1:15 PM, Cyrus Hiatt <[email protected]> wrote:

> Hi Adam -
>
> I think we definitely want to allow users to load a package using default
> values where users are prompted for input. As for the error that you are
> seeing when you try to load the DISCO package - I've seen that as well on
> Ubuntu, but not on MacOS. It seems that the html tags aren't getting
> properly escaped on some systems which is a problem when loading tile data
> saved from the rich text editor.
>
> I'll create tickets for both of these issues.
>
> Cyrus
>
> On Tue, Jan 30, 2018 at 10:32 AM, Adam Cox <[email protected]> wrote:
>
>> I'm trying to run the load_package command without user input, but (I
>> think) it fails when it gets to the user input prompt for loading system
>> settings from the package. I see here  https://github.com/archesproje
>> ct/arches/blob/master/arches/management/commands/packages.py#L266 that
>> there is no way to pass a "force" argument into that method. (There's a
>> chance that in fact it is continuing past this point, but failing on the
>> unescaped character error that I mentioned in my other post.) Can anyone
>> confirm what is going on there? I can modify the load_package command to
>> work without user input on my own separate branch for my current needs, but
>> I'm wondering if that's something that would be good to have in core arches.
>>
>> Adam
>>
>> --
>> -- To post, send email to [email protected]. To
>> unsubscribe, send email to [email protected].
>> For more information, visit https://groups.google.com/d/fo
>> rum/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