If you are using the resource graph and concepts that I defined in the
"crip" app (Cane River Inventory Package), this is quite likely the cause
for your search errors, and I'm afraid you'll get more errors down the
road. The reason is that the forms and reports are still set up to use the
HIP resource graphs and concepts, while those in the crip app have been
modified.

I'd recommend instead that you get the source data from the HIP repo
<https://github.com/archesproject/hip/tree/master/arches_hip/source_data>,
or you can find the same data inside of your virtual environment
site-packages/arches_hip directory, and then reinstall the package.

Just to reiterate: the source_data folder is not a "contained ecosystem"
per se. Yes, there must be consistency between the resource graphs and the
authority files that are contained within it, but the node names defined in
the resource graphs are used elsewhere in the app in the default
(Arches-HIP) installation. Specifically, the html, js, and python files
that define the forms and resource reports (and are found outside of the
source_data folder) are hard-coded to use node names that come with the
Arches-HIP package.

Sorry for any confusion. You are welcome to use the CRIP app, of course,
however, as mentioned in the repo documentation
<https://github.com/mradamcox/crip#installation>, you must clone the entire
repo during the installation process, not just the source_data.

As for permissions, write back if that problem persists...

Adam



On Thu, Dec 8, 2016 at 10:15 AM, Rob Gaston <[email protected]> wrote:

> Hi Vencislav,
>
> Looks like you may just need to import ugettext in your settings.py file
> by adding the following line near the top with the other imports:
>
> from django.utils.translation import ugettext as _
>
>
> Hope that helps!
>
> - Rob Gaston
>
>
> On Dec 8, 2016, at 12:27 AM, Vencislav Pirinski <[email protected]>
> wrote:
>
> Dear Arches Team,
>
> My name is Vencislav Pirinski and I am from the Institute of Information
> and Communication Technologies at the Bulgarian Academy of Sciences. We are
> trying to install Arches on our HPC facility and to make it popular among
> the community dealing with digitisation and preservation of cultural
> heritage.
>
> We try to install Arches + Arches HIP on vitual ubuntu machine. We have
> followed all the steps from the tutorials and most things are runing now.
> We have errors when using search and resource manager.
> I saw that we don't have any authority files, so i copied the entire
> "source_data" folder from github project --->"Arches Crip"
> <https://github.com/mradamcox/crip><--- and updated ---> "settngs.py"
> <https://docs.google.com/document/d/1M8A1SsY54-F7jtIHFstA48N2pyzkOIhigGIaGJxqIw4/edit?usp=sharing>
>  <---,
> but that didn't help. Now we have an error when runing the server:
>
>   File "/home/ubuntua/Projects/viseem_herit/viseem_herit/settings.py",
> line 34, in RESOURCE_TYPE_CONFIGS
>     'name': _('Historic Resource'),
> NameError: global name '_' is not defined
>
> I tried to reinstall arches, to accomudate the new files and settings with
> the command "python manage.py packages -o install" but it gives me
> permission denied to write some files. A huge problem with user
> permissions. Maybe i shoud use "chmod" to fix this ?
>
> Your advice will be highly appreciated !
>
> Best regards,
> V Pirinski
>
>
>
>
>
> --
> -- 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.
>

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