-
Notifications
You must be signed in to change notification settings - Fork 11
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
'pyramid.request.Request object' has no attribute 'session' #891
Comments
Hi @Wim-De-Clercq, I created a new blank scaffold from the cookiecutters. When I start my newly created application this error is raised
Edit: I was looking in the wrong development.ini file. The atramhasis.session_factory.secret is not present in de default ini file and was indeed missing. |
The session factory was missing. This error has been fixed. A default session factory is now set in case a user doesn't provide their own session factory. @mielvds, I'm not sure what you mean by
I will close the issue as it has been fixed. If something else is still not correct, I would prefer a new issue. |
After importing a bunch of skos thesauri, I see them listed on the homepage, so that's good. However, once I attempt to open one of them (e.g., http://localhost:6545/conceptschemes/2), I get a
{"message": "unexpected server error"}
.My assumption was that this is caused by not adding a
--conceptscheme-uri
when usingimport_file
, but this doesn't change anything.Just as a note:
import_file
should look for the URIs that are instances of skos:Conceptscheme when importing, rather than assigning a new URI or asking to repeat it. This behaviour is implemented in skosprovider_rdf at https://github.com/OnroerendErfgoed/skosprovider_rdf/blob/ed8afa1cd7064b6808a34f7fa9634b4fad8741d5/skosprovider_rdf/providers.py#L58, but the URI that is extracted there, is not picked up.This is the server logging:
The text was updated successfully, but these errors were encountered: