Re: [Arches] Arches error database creation

2020-07-06 Thread Ryan Anderson
Hi Carlos,

I'm sorry this sounds like a frustrating issue for you. It's good that you 
are using Postgres 12 as we indicate in the documentation. But I was 
specifically referring to your Database Clients (from your photos it looks 
like PG Admin III, and Arches uses PSQL). I would ensure you are on the 
latest versions of those.

Another thing that would help at this point is output of the problems you 
are seeing. Like the error message you posted in your original message. If 
there are any errors you see in the command line or version numbers of the 
software I list above that would be helpful to post here.

Cheers,
Ryan




Hi, first thanks for answering. 
I am using version 12 of postgres as it says on the Arches site. When I run 
the runserver command, the application only raises the main page, the 
database is created but no tables or anything. I do not know what else to 
do.

On Monday, July 6, 2020 at 12:05:58 PM UTC-7 Ryan Anderson wrote:

> Hi Carlos,
>
> This looks like a potential issue with mismatched versions of your 
> database or database client and Postgres.
>
> It appears OIDS were deprecated a few versions ago in postgres.
>
>
> https://dba.stackexchange.com/questions/238903/postgresql-11-error-column-p-proisagg-does-not-exist
>
> I would recommend you try the following two things to resolve this problem.
>
> 1.) Upgrade your version of pgadmin and PSQL.
> 2.) Since you are not seeing any errors in the command line while 
> deploying Arches try to finish the install and see if you can view Arches 
> using the development server (python manage.py runserver).
>
> Good luck and report back with any additional questions or information.
>
> Cheers,
> Ryan
>
>
> On Jul 6, 2020, at 10:16 AM, Carlos Enrique Ramìrez Martìn <
> cmart...@gmail.com> wrote:
>
> Hi all
> I hope you can help me, a few days ago I am trying to install Arches and I 
> have come across the following error that does not let me move forward. 
> When I execute the command "python manage.py setup_db" the system shows as 
> output that everything is fine, but the database when I open it with 
> pgadmin shows me the following errors:
>
> <20200706_123421.jpg><20200706_123429.jpg>
>
> Please help me.
>
>
> -- 
> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
> send email to archesprojec...@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 archesprojec...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/archesproject/d13964e0-aa63-4a90-aebc-bfe892fc2b45o%40googlegroups.com
>  
> 
> .
> <20200706_123421.jpg><20200706_123429.jpg>
>
>
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/32954bd4-4248-4c9e-ad2b-b5e4b5847307n%40googlegroups.com.


Re: [Arches] Re: bidirectional text

2020-07-06 Thread Adam Cox
Hi all, I worked on the Egyptian Archaeological Database translation to
Arabic (following steps that Andrea Zerbini had written down from his work
on EAMENA) for Arches 3. What I recall is: Django handles translation in a
way where you actually do kind of just "flip a switch." What I mean is that
there is an underlying language setting, the properties of which (including
directionality: request.lang.LANGUAGE_BIDI) can be acquired in templates
with tags like these:
https://docs.djangoproject.com/en/3.0/topics/i18n/translation/#other-tags.
I found that the automatic reordering of text that takes place in templates
when you have a right-to-left language set is somewhat smart, but also
quite finicky.

Most importantly, the language setting determines which set of translations
will be used.

Arches doesn't expose a "switch-to-flip" to allow you to switch between
languages, meaning the first thing you would need to do is either
permanently change the LANGUAGE_CODE
 in
settings.py or change a template somewhere to add a dropdown that would
allow your users to do that. You would then need to follow standard Django
steps toward creating "localization files" which hold translations of all
of the strings in the interfaces (individual translations for which you
will provide, using something like django rosetta
 which I found very easy
to use).

As Dennis says, there is a lot of dynamically generated text exposed in the
app, so I'll let the team speak to that, to say nothing of the data itself.
In theory concept labels should be translated properly based on the
language settings themselves (here's an old thread with Andrea and Alexei
discuss that), but string values will not be translated (for good reason).
In the EAD we ended up with two Description nodes (one in English and the
other in Arabic) and I changed the report to look at the Django language
settings and show only the appropriate node.

At any rate, I would recommend starting from the bottom (Django) up, and
handling the special Arches cases as they come.

Adam

On Mon, Jul 6, 2020 at 12:44 AM Elishai Cohen 
wrote:

> Hi Alina, Hi Dennis
>
> Thanks for your detailed answers.
> we would like to have the ability, of course not in the first steps, to
> switch by a button of something like that and you mentioned Dennis the next
> question is about the data that is managed in Arches.
> it would be kind if you will share future insights on these topics.
>
> 
> Best regards,
> Elishai Cohen
>
>
> On Fri, 3 Jul 2020 at 19:52, Dennis Wuthrich  wrote:
>
>> Hi Elishai,
>>
>> Good question concerning bi-directional text in Arches.  This is just one
>> of several things needed to support multi-lingual and multi-script support
>> in the Arches user interface.  You might be aware that Arches v5 creates a
>> good portion of its UI dynamically.  For example, the graph models and data
>> entry forms in v5 are created dynamically by Arches, and this code would
>> need to be updated to support bi-directional (and multi-lingual) support.
>> And then there's the question of supporting multiple languages and scripts
>> in the actual data that is managed by Arches
>>
>> As Alina mentioned in her post, we are thinking about the best way to
>> address all the factors needed to support localization of the UI.  At the
>> moment, you can't just "flip a switch" in Arches and have it support
>> bi-directional text or alternate languages.
>>
>> Best,
>>
>> Dennis
>>
>> On Friday, June 26, 2020 at 1:11:19 AM UTC-7 elisha...@gmail.com wrote:
>>
>>> Hi all,
>>>
>>> Can i change the bidirectional text in Arches from Left to right to
>>> right to left?
>>> if so, where should i change it?
>>>
>>> Thanks,
>>> Elishai
>>>
>>> --
>> -- 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/archesproject/078a2ccd-41bb-43e8-a923-f291f521e997n%40googlegroups.com
>> 
>> .
>>
> --
> -- 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 f

Re: [Arches] Kubernetes Support

2020-07-06 Thread Dennis Wuthrich
Hi Phil,

We're very interested in your work with Kubernetes/Helm and Arches.  We 
don't have tons of experience with Kubernetes yet, so not sure how directly 
we can contribute.  Perhaps testing?  Please let us know if you have any 
specific ideas about how we may be helpful.

Cheers,

Dennis

On Saturday, July 4, 2020 at 2:57:20 AM UTC-7 phil...@flaxandteal.co.uk 
wrote:

> Hi Alina,
>
> On Sat, Jun 27, 2020 at 2:20 AM Alina Myklebust  
> wrote:
>
>> Hi Phil, 
>>
>>  
>>
>> Nice to hear from you here!  In case this post was missed by others, 
>> hopefully someone here with Kubernetes experience will chime in.  
>> Cross-posting this to the arches-dev group is also a good idea.  
>>
>
>
> Thank you and thanks for highlighting this! Yes - that'd be great - keen 
> to make sure we don't duplicate any efforts.
>
> In any case, we are still working away here, so will feed back progress 
> and repositories as we test!
>
> All the best,
> Phil
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/8cc49351-c985-4a4a-afee-cff577e269c2n%40googlegroups.com.


Re: [Arches] Arches error database creation

2020-07-06 Thread Ryan Anderson
Hi Carlos,

This looks like a potential issue with mismatched versions of your database or 
database client and Postgres.

It appears OIDS were deprecated a few versions ago in postgres.

https://dba.stackexchange.com/questions/238903/postgresql-11-error-column-p-proisagg-does-not-exist
 


I would recommend you try the following two things to resolve this problem.

1.) Upgrade your version of pgadmin and PSQL.
2.) Since you are not seeing any errors in the command line while deploying 
Arches try to finish the install and see if you can view Arches using the 
development server (python manage.py runserver).

Good luck and report back with any additional questions or information.

Cheers,
Ryan


> On Jul 6, 2020, at 10:16 AM, Carlos Enrique Ramìrez Martìn 
>  wrote:
> 
> Hi all
> I hope you can help me, a few days ago I am trying to install Arches and I 
> have come across the following error that does not let me move forward. When 
> I execute the command "python manage.py setup_db" the system shows as output 
> that everything is fine, but the database when I open it with pgadmin shows 
> me the following errors:
> 
> <20200706_123421.jpg><20200706_123429.jpg>
> 
> Please help me.
> 
> 
> 
> -- 
> -- 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/archesproject/d13964e0-aa63-4a90-aebc-bfe892fc2b45o%40googlegroups.com
>  
> .
> <20200706_123421.jpg><20200706_123429.jpg>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/8B7FDC27-3FA8-4239-B8F4-AB48D03BF061%40fargeo.com.