This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Error messages being squelched #34
Comments
zeyus
added a commit
to zeyus/MonetDBLite-R
that referenced
this issue
Mar 23, 2021
tried recompiling with this change and it still fails with
|
For context, the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I'm developing an R package that creates a
MonetDBLite
database of biological sequence data (https://github.com/ropensci/restez). Users can run automated functions for downloading large amounts of sequence data and store it in the database.Recently, one user encountered the following error:
The error appears to be due to an unexpected encoding for the incoming character string to
gsub
. I suspected it was due to foreign language symbols (the user's computer is in French). Initially, I was able to recreate the error on a Windows machine in Swedish. I was then able to fix the gsub error by re-encoding the incoming string forgsub
in themonetdb_embedded_query
function usingiconv
(see updated function below). Now when re-running the original user's code (you can recreate the error with this script), I get a message about what is exactly failing (partly in Swedish)..... which indicates that we're asking too much of our machine.
If I have diagnosed the problem correctly, could the
monetdb_embedded_query
function be updated to handle foreign language characters? Below is my updated version of the function, note the addition oficonv
lines.Many thanks,
Dom
The text was updated successfully, but these errors were encountered: