Hi Colin. Error reporting on course imports is definitely lacking. If you're up for it, I'd recommending running a devstack locally and doing a test import. You can watch the logs while the course is imported and you might see some helpful hints.
If you have an installation of open edX set up with the sysadmin feature turned on, you can see more logging by importing via git. This is equivalent to using the import management command, but the log output is stored in mongo and there's a "git logs" page in the sysadmin panel for viewing them. Even then, some errors don't show up in the logs and I've sometimes had to resort to a bisect and import strategy to identify the part of the course causing issues. - Peter > On Dec 7, 2017, at 9:16 PM, Colin Fredericks <[email protected]> > wrote: > > If you write your course via directly handling XML instead of in Studio, I've > got a question that you might be able to help with. > > Recently I wrote a script to create some extra course structure. (We have > thousands of problems and I'm making places for them to sit.) I copied the > resulting XML files into the course's folders in the appropriate places, > rezipped and uploaded, and it doesn't quite show up right. > > All the "structural" items show up fine. The chapter file appears > appropriately as a section in Studio. I have subsections (sequentials) within > it, and units (verticals) within those. However, at the component level, > something fails. Neither Studio nor the live view of the course show the > problems that should be sitting in those units. Studio loads for a few > seconds and then shows an empty unit. > > I've compared the XML output from my script to the XML generated and exported > by Studio, and they look equivalent to me. I know the problem files are there > and working properly, because I can get to them via XBlock URL. At this point > I'm wondering if Studio has some secret list of which problems it has ok'd > and which ones it hasn't. I'm stumped. > > If anyone from edX is reading and wants to see this in action, the course in > question is QMBio: > https://studio.edx.org/course/course-v1:HarvardX+QMB1+2T2017 > Check out the bottom section on the list, named "Adaptive Problems". > > -- > You received this message because you are subscribed to the Google Groups > "General Open edX discussion" group. > To view this discussion on the web visit > https://groups.google.com/d/msgid/edx-code/fc209309-006a-4675-9441-f4ea96704471%40googlegroups.com > > <https://groups.google.com/d/msgid/edx-code/fc209309-006a-4675-9441-f4ea96704471%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/C26DA522-A951-4B05-8460-6A42BBF1A507%40gmail.com.
