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 > <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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <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.
