-
Notifications
You must be signed in to change notification settings - Fork 213
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
Exporting courses fails: "not of type 'array'" #3051
Comments
Hi, it looks like there is a problem within that course (basque) as it's not matching the expected schema. This has to be fixed in the course itself. For testing purposes you can start by disabling that course in this config file: https://github.com/LibreLingo/LibreLingo/blob/main/config/courses.json I address the other parts of your issue below as there might be more relevant information: ⬇️
lluis is a nodejs dependency, so that should not be the reason for anything that have to do with the coures and if you experience an issue with it that is probably a separate problem.
Yes, there is a production environment which is basically a static site hosting. https://librelingo.app/ is hosted on GitHub pages at the moment.
After clicking your link I think your instance is already working correctly and set up correctly, and probably further steps are not needed in order to 'fix' your environment. It seems like the problem is actually your original problem, that is the courses are not exported properly which is probably related to errors within the courses or perphaps a bug in the export system. |
There were similar errors with the Spanish course. I will write more later. With "lluis-v1.8.1" I meant not the nodejs dependency but (what I think is) the latest release of LibreLingo named that way from Github Releases. |
|
Thank you for your answers. It seems like a bug in the export system. Though maybe I just made some mistake setting it up. |
So now, if you use the latest version of the You build should not fail, and while some of the courses are not currently enabled because of this, for example the Spanish and Basque course have been fixed. |
Thanks, it works now. Any documentation regarding user accounts? |
at the moment user account are broken and there is low key a need to develop a new backend for it. albeit this backend would be more or less a single endpoint endpoint that gives access to a database. If you are interested in working on this, we can have a call! if not you can stay in tuned, eventually it will be fixed |
With the current codebase from the main branch with pyyaml 6.0.1 I get the following error upon exporting courses:
I tried installing lluis-v1.8.1 first but failed to resolve the dependencies because of #3023.
Using the current master branch I was able to solve these dependency issues (or so I think) but now this error occurs.
By the way, if there is a development environment, would there be kind of a production environment as well? How is https://librelingo.app/ configured? I am setting this up on https://ll.emanuel-loos.eu/ and I would like it to be a self-hosted instance that works just like librelingo.app but could not find documentaion for that.
The text was updated successfully, but these errors were encountered: