-
Notifications
You must be signed in to change notification settings - Fork 24
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
Reloaded matomo data gives yamerl error #15
Comments
Thank you very much for opening this issue and even providing the source of the error and a workaround ❤️ The problem seems to be the file being locally saved as iconv -f ISO-8859-15 -t UTF-8 short_codes.device_brands.yml > short_codes.device_brands.yml.new
mv short_codes.device_brands.yml.new short_codes.device_brands.yml I will work on a proper fix asap. Just for reference this should be the full workaround configuration required: remote_database = "https://raw.githubusercontent.com/matomo-org/device-detector/6ddc1650c5cb2af870a6d9dca473894e3c6791b8/regexes"
remote_shortcode = "https://raw.githubusercontent.com/matomo-org/device-detector/6ddc1650c5cb2af870a6d9dca473894e3c6791b8"
config :ua_inspector,
remote_path: [
bot: "#{remote_database}",
browser_engine: "#{remote_database}/client",
client: "#{remote_database}/client",
device: "#{remote_database}/device",
os: "#{remote_database}",
short_code_map: "#{remote_shortcode}",
vendor_fragment: "#{remote_database}"
] |
I have just now published the release 💙 💚 ❤️ 💛 💜 |
First of all, thanks for this amazing elixir module ! I've been using it for a few months and it's very useful.
I think there's something strange with one of the latest matomo updates: after downloading the data (both
ua_inspector.download.databases
andua_inspector.download.short_code_maps
), I get the following error:It started on 11th Feb 2019 between 01:00 and 02:00am CET.
I tried clearing my "cache" and redownloading and I get the same error. Any ideas in what causes this ?
EDIT: I think I found the origin of the issue at this commit from 2 days ago (the special character is
ö
): matomo-org/device-detector@b64c80b#diff-301e1dcec83d084222343ca8c90095b1R335EDIT 2: If anyone stumbles on the same issue, my temporary fix is to lock the commit just before the one mentioned above so the downloaded DB is OK:
The text was updated successfully, but these errors were encountered: