Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulties to access to public interface #60

Open
HugoChevroton opened this issue Feb 25, 2021 · 2 comments
Open

Difficulties to access to public interface #60

HugoChevroton opened this issue Feb 25, 2021 · 2 comments

Comments

@HugoChevroton
Copy link

Good morning,

I'm installing Archetype from the deposit https://github.com/kcl-ddh/digipal.git.
I have created a specific database for it, connect Archetype and the database with local_settings.py, make the migration.

But then, when I launch Archetype and I click on the number records of manuscripts and chapters (on the main menu pages, with the numbers of records equals to 0) I get an OSError at /digipal/search/ ([Errno 2] No such file or directory: '/home/hugo/Documents/Projet_Bonhum_25_02_21/digipal/digipal_project/search/unified')

Even after updating of the database (adding of image, item parts, current item and historical item) the problem remains.

Did I miss something during the configuration Archetype?

Regards,
Hugo

@geoffroy-noel-ddh
Copy link
Collaborator

Hi Hugo,

That's because the content isn't fully indexed.

You can try this from the command line:

python manage.py dpsearch index

@HugoChevroton
Copy link
Author

Thanks, that's work now! It's equivalent to click on "Indexing" on the bottom of the main page, isn't it?

But now, I have a new problem : when I try to create an Image object with a specific Item part and Image file, I received the specific message :

======
OSError at /admin/digipal/image/1/

[Errno 2] No such file or directory: '/home/hugo/Documents/Projet_Bonhum_25_02_21/digipal/digipal_project/images/jp2/admin-upload/e/e9d8a153-8f5f-4af8-a967-6c93c5ce806f_1.tif'

Exception Value: | [Errno 2] No such file or directory: '/home/hugo/Documents/Projet_Bonhum_25_02_21/digipal/digipal_project/images/jp2/admin-upload/e/e9d8a153-8f5f-4af8-a967-6c93c5ce806f_1.tif'

Exception Location: | /home/hugo/Documents/Projet_Bonhum_25_02_21/digipal/digipal/iipfield/storage.py in _call_image_conversion, line 109

I'm also a bit puzzled, I use Archetype from Docker in parallel of Archetype from github, and I don't have this kind of problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants