You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Sorry if this was already asked (I couldn't find anything from doing a quick search) or if something is wrong with how I set up this project, but I thought I'd bring it up in case its a real issue!
I've installed Dialogic 2 (dialogic-2.0-alpha-16) into an empty 'Compatibility' project using Godot v4.3.stable.mono.official [77dcf97d8]. I've also installed GdUnit4 to try running the unit tests (and maybe institute some unit tests into my project) and I'm running into a failure on line 47:
varerror:="Entry expected to be non-empty, was empty."
assert(notentry.is_empty(), error)
However before that there's an error in the output that is likely causing the assert to fail later on:
line 107: Godot Runtime Error!
'at: DialogicGlossary.replace_entry_key (res://addons/dialogic/Modules/Glossary/glossary_resource.gd:107)`
Error: 'invalid assignemtn on read-only value (on base: 'Dictionary').'
I don't know why it would be read-only, but I set a breakpoint there and entry.is_read_only() does return true, and also if I change line 102 to duplicate the return value of get_entry before assigning the name it does pass the test. Is this just something on my machine or is this reproduceable for anyone else?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! Sorry if this was already asked (I couldn't find anything from doing a quick search) or if something is wrong with how I set up this project, but I thought I'd bring it up in case its a real issue!
I've installed Dialogic 2 (
dialogic-2.0-alpha-16
) into an empty 'Compatibility' project usingGodot v4.3.stable.mono.official [77dcf97d8]
. I've also installedGdUnit4
to try running the unit tests (and maybe institute some unit tests into my project) and I'm running into a failure on line 47:dialogic/Tests/Unit/glossary_resource_test.gd
Lines 43 to 47 in b56e693
However before that there's an error in the output that is likely causing the assert to fail later on:
dialogic/addons/dialogic/Modules/Glossary/glossary_resource.gd
Lines 101 to 109 in b56e693
I don't know why it would be read-only, but I set a breakpoint there and
entry.is_read_only()
does return true, and also if I change line 102 to duplicate the return value ofget_entry
before assigning the name it does pass the test. Is this just something on my machine or is this reproduceable for anyone else?Beta Was this translation helpful? Give feedback.
All reactions