Blackboard not importing Blackboard.zip - r-exams

I'm trying to import the Blackboard.zip file created by r/exams but I got the following warning
Dec 10, 2020 2:00:36 PM - [FATAL] Fatal: An error has occurred. The error recorded is:
The .zip file you provided failed to import. Please try again with a new file.
For more information, see the detailed log.
Dec 10, 2020 2:00:36 PM - [WARNING] Status: The operation import did not complete.
I thought that it was problem of my R installation, and tried to import the file given in http://www.r-exams.org/assets/posts/2018-04-16-exams2blackboard//blackboard.zip
and even so I get the same error message.
Does anyone knows what is happening? I even try to import a QTI 2.1 file generated by exams package and same error.
I really appreciate any help.

I asked my co-author Niels Smits - the main author behind exams2blackboard - to check what is going on. He confirms that the old blackboard.zip file shared with our blog post from April 2018 does not work in current versions of Blackboard anymore. Potentially this is caused by a duplication of some files in the .zip that we had overlooked in earlier versions of R/exams
However, R/exams version 2.4-0 has fixed several problems with exams2blackboard which apparently also solves the problems you are describing. Thus, please update R/exams to a version of at least 2.4-0 and you should be able to avoid the reported issues. After that the output from exams2blackboard should work as an input for current Blackboard versions.
Regarding the QTI 2.1 support. The exams2qti21 function tries to follow the guidance in the official IMS QTI 2.1 description and has mostly been tested with OpenOLAT. The QTI 2.1 XML files produced by exams2qti21 do not cooperate with Blackboard, yet, presumably because Blackboard has introduced their own QTI 2.1 "flavor". (Note that Blackboard's QTI 1.2 flavor also deviated quite substantially from a plain QTI 1.2 implementation.) We still have to look into this to check whether we can support Blackboard's QTI 2.1 flavor as well.

Related

How do I see the name of the referenced library in the Isabelle 2020 version

I am running the validation script of sel4, because it runs on Isabelle 2020 version, but it reports an error "Bad theory import HOL-Library.Word", I don't know how to solve this error, please help, thank you.
I found in my browser that "HOL-Word" has been changed to "HOL-Library.Word" in the 2021 version, but I tried and failed

Julia - how to update WinRPM in julia version 0.6.4

I'm new to Julia and I want to use COBRA Package.
For adding COBRA I use command :
Pkg.add("COBRA")
But when running, I get these errors:
INFO: Building WinRPM
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 1/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
until:
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 5/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
WARNING: received error 0 while downloading
https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
After these errors, I have checked the link and I've found out the source is not there, anymore.
So then I ran this command as said above:
WinRPM.update()
But it has thrown this error:
ERROR: UndefVarError: WinRPM not defined
Please Help me to add COBRA to Julia. I'm using version 0.6.4 because Cobra does not work on the next versions.(Windows 10)
Any help would be appreciated.
The problem, as you've mentioned, is that the original sources used by the package aren't valid URLs anymore. The proper way to solve this is to open a pull request with the package to change the URLs (which I've now done here ). As a stopgap measure, here's a hacky way to work around this issue for now:
Do a Pkg.add("WinRPM"). This might trigger the same warnings as above, ignore these.
Next, using WinRPM to load the package we added
Now, the source URLs are read from the sources.list file (linked above) into a global WinRPM.sources variable. We're going to edit this variable's contents to point to new working URLs. (This is generally a terrible idea, to directly poke into the internals of a module and change things.)
julia> WinRPM.sources[:] = replace.(WinRPM.sources, "Leap_42.3" => "Leap_15.3")
2-element Vector{String}:
"https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_15.3"
"https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_15.3"
A WinRPM.update() should now work, and download things into a local cache.
I'm using version 0.6.4 because Cobra does not work on the next versions.
I hope you mean Julia 1.6.4 here, or version 0.6.4 of something else in the stack. If you mean Julia version 0.6.4, you might face further problems down the road and find it hard to get support for such an old version.

nbsphinx causes build to fail when building Jupyter Notebooks

Details
I am getting a build failure of my read-the-docs that I don't understand. The assertion of "verbatim" in line 2151 of nbsphinx.py is causing the build failure. So the build fails when I try to include the Jupyter Notebook tutorials I created. I compared current versions of the tutorials to previous versions which had not caused the build to fail, and I can't find a difference that could account for the current failure.
Read the Docs project URL: lofti_gaia
Build URL: https://github.com/logan-pearce/lofti_gaia
Read the Docs username: logan-pearce
Expected Result
A passing build including *.ipynb files
Actual Result
Build failed at line 2151 of nbsphinx.py due to assertion of 'Verbatim' failing.
Terminal output:
Running Sphinx v4.1.2
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [latex]: all documents
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
processing lofti_gaia.tex... index installation tutorials/QuickStart tutorials/Tutorial api lofti loftitools
resolving references...
done
writing... failed
Exception occurred:
File "/home/docs/checkouts/readthedocs.org/user_builds/lofti-gaia/conda/latest/lib/python3.7/site-packages/nbsphinx.py", line 2151, in depart_codearea_latex
assert 'Verbatim' in lines[0]
AssertionError
The full traceback has been saved in /tmp/sphinx-err-x1h83s3m.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
According to the github issue 584 for nbsphinx (https://github.com/spatialaudio/nbsphinx/issues/584), this is due to a compatibility issue with sphinx 4.1.0. It can be gotten around by requiring sphinx version 4.0.2.
So in my requirements.txt file, I included sphinx==4.0.2, after which the build passes. So now my requirements.txt file looks like:
numpy
matplotlib
astropy>=4.0.1.post1
astroquery>=0.4
sphinx==4.0.2
ipython==7.19.0
nbsphinx>=0.8.6
and the build passes.
I have encountered the same issue. I did not solve it with .ipynb format, but converting the jupyter notebook to .rst format works.
May it helps

JEdit plugin error while loading Isabelle

I am working with a Windows 10 device and after some work with Isabelle I get the following error:
The following plugin could not be loaded:
C:\Users\PC\Desktop\Isabelle2018\src\Tools\jEdit\dist\jars\Isabelle-jEdit.jar:
Cannot start:
*** [line 1 of "preferences"] error: bad input
I note this problem appears in this version and in a previous Windows 8 version when not switching off properly the machine.
In the Isabelle list I got an answer to this problem:
The error indicates that the $ISABELLE_HOME_USER/etc/preferences file is in a bad state: the file is written each time Isabelle/jEdit shuts down, and switching off the computer in the middle might have corrupted it.
You can try to repair or delete that file. The location of $ISABELLE_HOME_USER on Windows is usually something like C:\Users\my_name.isabelle\Isabelle2018.
I think this problem may be encountered by other people in the community and this answer may save some time to them.

Tesseract - Error : Params model::Incomplete line error

Im facing some difficulties while using Tesseract.
First let me present my actual configuration.
Im working on Windows and have this Tesseract version :
tesseract 3.05.00dev
leptonica-1.73
libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.4.2) : lib
.0.6 : zlib 1.2.8 : libwebp 0.4.3 : libopenjp2 2.1.0
I have added every languages available with the msi installation.
Unfortunately, i am not able to run a conversion with dutch, italian, spanish, and french languages.
Im using the cmd to execute tesseract.
To show you what kind of error i keep having, im going to use a pretty simple example.
When I run that :
tesseract MainMenu.tif result -l deu
I keep having this error endlessly :
Params model::Incomplete line
That is pretty weird and i am unable to spot whats going wrong.
I can convert in any other languages without any trouble.
I have tried to dl the latest .traineddata from github but it doesnt change anyhing.
I have uninstalled and re-installed the soft too.
Using tesseract --list-langs i am able to see deu, fra, spa and ita.
I have been reading the source code from Github, that makes this error message pop. But I cant find what I am doing wrong.
As I said it works just fine with any languages, except those 4.
Hopefully you will have a lead on this one
I got this problem too.
In my case it is because of using the wrong version of trained data file.
I have use https://github.com/tesseract-ocr/tessdata (master).
This is for tesseract 4 (for this date 15/1/2017).
The solution is use this https://github.com/tesseract-ocr/tessdata/tree/3.04.00.
hope this helps.

Resources