-
Notifications
You must be signed in to change notification settings - Fork 87
Failed to parse WeakAuras Error #465
Description
Describe the bug
On my Manjaro Laptop, I cannot update the WeakAuras. It says in red "Failed to parse WeakAuras".
In the log it says 22:50:30.836 [ajour][ERROR] caused by: error converting Lua nil to u16 (expected number or string coercible to number)
and when I google, it says The error is caused by the fact that V-REP uses Lua 5.1, and the computers we tested it on had different locales for numbers (the linux had LC_NUMERIC=cs_CZ.UTF-8 and the mac had, probably, en_US).
I don't know if the explanation is correct or not. I'm in Canada, so there is that if it helps.
To Reproduce
Steps to reproduce
the behavior:
- Go to 'My WeakAuras'
- Click on 'The profile you want to update'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Software involved
Please complete the following information:
- OS: Manjaro
- Ajour version: 0.6.1
- (if applicable) Addon name, flavor (classic or retail) and version:
Additional context
Add any other context about the problem here.
Log Output
22:50:30.034 [ajour][INFO] Ajour 0.6.1 has started.
22:50:30.035 [ajour::gui][DEBUG] config loaded:
Config {
wow: Wow {
directory: Some(
"/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft",
),
flavor: Retail,
},
addons: Addons {
global_release_channel: Stable,
ignored: {
RetailPTR: [],
Retail: [],
},
release_channels: {
Retail: {
"Grid2": Stable,
},
RetailPTR: {},
},
delete_saved_variables: false,
},
theme: Some(
"Dark",
),
column_config: V3 {
my_addons_columns: [
ColumnConfigV2 {
key: "title",
width: None,
hidden: false,
},
ColumnConfigV2 {
key: "local",
width: Some(
150,
),
hidden: false,
},
ColumnConfigV2 {
key: "remote",
width: Some(
150,
),
hidden: false,
},
ColumnConfigV2 {
key: "status",
width: Some(
85,
),
hidden: false,
},
ColumnConfigV2 {
key: "channel",
width: Some(
85,
),
hidden: false,
},
ColumnConfigV2 {
key: "author",
width: Some(
85,
),
hidden: true,
},
ColumnConfigV2 {
key: "game_version",
width: Some(
110,
),
hidden: false,
},
],
catalog_columns: [
ColumnConfigV2 {
key: "addon",
width: Some(
150,
),
hidden: false,
},
ColumnConfigV2 {
key: "description",
width: None,
hidden: false,
},
ColumnConfigV2 {
key: "source",
width: Some(
85,
),
hidden: false,
},
ColumnConfigV2 {
key: "num_downloads",
width: Some(
105,
),
hidden: false,
},
ColumnConfigV2 {
key: "install_retail",
width: Some(
85,
),
hidden: false,
},
ColumnConfigV2 {
key: "install_classic",
width: Some(
85,
),
hidden: false,
},
],
aura_columns: [],
},
window_size: Some(
(
1247,
1008,
),
),
scale: Some(
1.0,
),
backup_directory: Some(
"/home/can/wowbackup",
),
backup_addons: false,
backup_wtf: true,
hide_ignored_addons: false,
self_update_channel: Stable,
weak_auras_account: {
Retail: "GAGERACER",
},
alternating_row_colors: true,
}
22:50:30.035 [ajour::gui][DEBUG] antialiasing: true
22:50:30.227 [ajour_core::utility][DEBUG] checking for application update
22:50:30.227 [ajour_core::theme][DEBUG] loading user themes
22:50:30.228 [ajour_core::fs::theme][DEBUG] loaded 0 user themes
22:50:30.451 [ajour::gui::update][DEBUG] Message::ThemesLoaded(0 themes)
22:50:30.451 [ajour::gui::update][DEBUG] Message::CachesLoaded(error: false)
22:50:30.453 [ajour::gui::update][DEBUG] Message::Parse
22:50:30.453 [ajour::gui::update][DEBUG] preparing to parse addons in "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Interface/AddOns"
22:50:30.453 [ajour::gui::update][DEBUG] preparing to parse addons in "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_ptr_/Interface/AddOns"
22:50:30.453 [ajour::gui::update][DEBUG] preparing to parse addons in "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_beta_/Interface/AddOns"
22:50:30.453 [ajour::gui::update][DEBUG] preparing to parse addons in "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_classic_/Interface/AddOns"
22:50:30.453 [ajour::gui::update][DEBUG] preparing to parse addons in "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_classic_ptr_/Interface/AddOns"
22:50:30.453 [ajour_core::parse][DEBUG] Retail - parsing addons folder
22:50:30.453 [ajour_core::parse][DEBUG] Classic PTR - parsing addons folder
22:50:30.453 [ajour_core::parse][DEBUG] Retail Beta - parsing addons folder
22:50:30.453 [ajour_core::parse][DEBUG] Classic - parsing addons folder
22:50:30.453 [ajour_core::parse][DEBUG] Retail PTR - parsing addons folder
22:50:30.453 [ajour_core::parse][DEBUG] Retail PTR - 29 folders in AddOns directory to parse
22:50:30.453 [ajour_core::parse][DEBUG] Retail - 135 folders in AddOns directory to parse
22:50:30.455 [ajour_core::parse][DEBUG] Retail PTR - 29 fingerprints: 29 cached, 0 calculated, 0 added, 0 removed
22:50:30.457 [ajour_core::parse][DEBUG] Retail - 135 fingerprints: 135 cached, 0 calculated, 0 added, 0 removed
22:50:30.457 [ajour_core::parse][DEBUG] Retail PTR - 27 addon folders successfully parsed from '.toc'
22:50:30.457 [ajour_core::parse][DEBUG] Retail PTR - 0 valid cache entries retrieved
22:50:30.457 [ajour_core::parse][DEBUG] Retail PTR - 27 unique fingerprints to check against curse api
22:50:30.459 [ajour_core::parse][DEBUG] Retail - 134 addon folders successfully parsed from '.toc'
22:50:30.459 [ajour_core::parse][DEBUG] Retail - 1 valid cache entries retrieved
22:50:30.459 [ajour_core::parse][DEBUG] Retail - 132 unique fingerprints to check against curse api
22:50:30.612 [ajour::gui::update][DEBUG] Message::LatestBackup(Some(2021-01-03T22:42:56))
22:50:30.612 [ajour::gui::update][DEBUG] Message::CheckWeakAurasInstalled(Retail, is_installed: true)
22:50:30.612 [ajour::gui::update][DEBUG] Message::CheckWeakAurasInstalled(Retail PTR, is_installed: true)
22:50:30.612 [ajour::gui::update][DEBUG] Message::CheckWeakAurasInstalled(Retail Beta, is_installed: false)
22:50:30.612 [ajour::gui::update][DEBUG] Message::CheckWeakAurasInstalled(Classic, is_installed: false)
22:50:30.612 [ajour::gui::update][DEBUG] Message::CheckWeakAurasInstalled(Classic PTR, is_installed: false)
22:50:30.612 [ajour][ERROR] Failed to parse addons
22:50:30.612 [ajour][ERROR] caused by: Addon directory not found: "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_classic_ptr_/Interface/AddOns"
22:50:30.612 [ajour][ERROR] Failed to parse addons
22:50:30.612 [ajour][ERROR] caused by: Addon directory not found: "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_beta_/Interface/AddOns"
22:50:30.612 [ajour][ERROR] Failed to parse addons
22:50:30.612 [ajour][ERROR] caused by: Addon directory not found: "/home/can/Games/world-of-warcraft/drive_c/Program Files (x86)/World of Warcraft/_classic_/Interface/AddOns"
22:50:30.775 [ajour::gui::update][DEBUG] Message::ListWeakAurasAccounts(Retail PTR, num_accounts: 0)
22:50:30.775 [ajour::gui::update][DEBUG] Message::ListWeakAurasAccounts(Retail, num_accounts: 2)
22:50:30.775 [ajour::gui::update][DEBUG] Message::LatestRelease(Some("0.6.1"))
22:50:30.836 [ajour][ERROR] Failed to parse WeakAuras
22:50:30.836 [ajour][ERROR] caused by: error converting Lua nil to u16 (expected number or string coercible to number)
22:50:31.213 [ajour_core::parse][DEBUG] Retail PTR - 5 curse packages fetched
22:50:31.213 [ajour_core::parse][DEBUG] Retail PTR - 0 tukui packages fetched
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 1 wowi packages fetched
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 0 git packages fetched
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 5 addons built from curse packages
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 0 addons built from tukui packages
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 0 addons built from wowi packages
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 0 addons built from git packages
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 1 unknown addon folders
22:50:31.487 [ajour_core::parse][DEBUG] Retail PTR - 6 addons successfully parsed
22:50:31.487 [ajour::gui::update][DEBUG] Message::ParsedAddons(Retail PTR, 6 addons)
22:50:32.021 [ajour_core::catalog][DEBUG] Successfully fetched and parsed https://github.com/casperstorm/ajour-catalog/releases/latest/download/tukui.json
22:50:32.049 [ajour_core::catalog][DEBUG] Successfully fetched and parsed https://github.com/casperstorm/ajour-catalog/releases/latest/download/wowi.json
22:50:32.064 [ajour_core::parse][DEBUG] Retail - 68 curse packages fetched
22:50:32.208 [ajour_core::parse][DEBUG] Retail - 1 tukui packages fetched
22:50:32.327 [ajour::gui::update][DEBUG] Interaction::ModeSelected(MyWeakAuras(Retail))
22:50:32.368 [ajour_core::parse][DEBUG] Retail - 15 wowi packages fetched
22:50:32.368 [ajour_core::parse][DEBUG] Retail - 0 git packages fetched
22:50:32.369 [ajour_core::parse][DEBUG] Retail - 67 addons built from curse packages
22:50:32.369 [ajour_core::parse][DEBUG] Retail - 1 addons built from tukui packages
22:50:32.369 [ajour_core::parse][DEBUG] Retail - 0 addons built from wowi packages
22:50:32.369 [ajour_core::parse][DEBUG] Retail - 0 addons built from git packages
22:50:32.369 [ajour_core::parse][DEBUG] Retail - 4 unknown addon folders
22:50:32.369 [ajour_core::parse][DEBUG] Retail - 72 addons successfully parsed
22:50:32.370 [ajour::gui::update][DEBUG] Message::ParsedAddons(Retail, 72 addons)
22:50:32.476 [ajour_core::catalog][DEBUG] Successfully fetched and parsed https://github.com/casperstorm/ajour-catalog/releases/latest/download/curse.json
22:50:32.522 [ajour::gui::update][DEBUG] Message::CatalogDownloaded(15748 addons in catalog)