Varsuuk
June 25th, 2023, 08:40
I just finished committing some work on the layout of some "details" screens and renamed (thanks Moon) some labels on front sheet (charsheet_main) and I went to look at "charsheet" (no idea why, might just have been clicking) and I got the following error:
57935
I am running RW 0.8.8. I previously had 0.8.7 and updated.
From my commit comment, it was the commit that I realized I didn't need the "alignment" text box I originally had since I had superimposed the alignment combobox control over it.
Removed Alignment Stringfield
- Interim commit: added some unconfigured numberfields
- Added new AC frame for "main" AC and intend on using original for "Surprised"/"Flanked"
Now, since the gui appears to pile all the remaining controls on top of each other with same h/w/x/y settings, maybe that is simply it - I did something there that pulled the rug out form my controls? But his sheet I did purely by WYSIWYG placement. The charsheet_main was mostly with template positioning.
The odd thing, is if it happened here... on Jun14 checkin, it is odd that I didn't notice it bite me until now. I've been generating for days (including today many times) until the moment I clicked on "charsheet" and it tossed this error. Then I purposely "generated" to see what would happen and only THEN did the output look messed up like the RW gui now for that sheet (wish I saved first output, but I can recreate charsheet from way older dir copy on 6th since it was the first thing I created)
57936
57937
57938
And this is what the last N contols on "charsheet" have for x/y/h/w which appears to be evidence of the corruption:
57939
PS-> I see that the Ruleset.rwp file contains stuff in windname.rwf files. If the answer to this is not obvious, is there a way I can grab an earlier charsheet.rwf and "import it" or use it to "replace" the current one and have it get "loaded"? into add.rwp project correctly?
Or maybe I delete the "charsheet" element in the project then "import" charsheet.rwf from a prior save in git???
The diff of the last time I changed charsheet.rwf
$ git diff HEAD~4 ./AdventuresDarkAndDeep/windows/charsheet.rwf
diff --git a/AdventuresDarkAndDeep/windows/charsheet.rwf b/AdventuresDarkAndDeep/windows/charsheet.rwf
index c7bad3c..59672ce 100644
--- a/AdventuresDarkAndDeep/windows/charsheet.rwf
+++ b/AdventuresDarkAndDeep/windows/charsheet.rwf
@@ -1,29 +1,29 @@
<DocumentElement xmlns="https://tempuri.org/Ruleset.xsd">
<WindowControls>
<WindowName>charsheet</WindowName>
- <ControlName>abilities</ControlName>
- <ZIndex>2</ZIndex>
- <ControlClass>FGSubWindow</ControlClass>
+ <ControlName />
+ <ZIndex>18</ZIndex>
+ <ControlClass>FGCustomControl</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
- {"Name":"Activate"},
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
- {"Name":"AdvancedTemplate"},
...
+ {"Name":"YPos","Value":{"@xsi:type":"xsd:int","#text":"5"}}
]}}</Definition>
<LUACode />
<GroupIndex>0</GroupIndex>
@@ -56,49 +54,40 @@
</WindowControls>
<WindowControls>
<WindowName>charsheet</WindowName>
- <ControlName>alignment</ControlName>
- <ZIndex>16</ZIndex>
- <ControlClass>FGStringField</ControlClass>
+ <ControlName>abilities</ControlName>
+ <ZIndex>2</ZIndex>
+ <ControlClass>FGSubWindow</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
+ {"Name":"Activate"},
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
{"Name":"AdvancedTemplate"},
...
+ {"Name":"XPos","Value":{"@xsi:type":"xsd:int","#text":"5"}},
+ {"Name":"YPos","Value":{"@xsi:type":"xsd:int","#text":"100"}}
]}}</Definition>
<LUACode />
<GroupIndex>0</GroupIndex>
@@ -119,8 +109,8 @@
</WindowControls>
<WindowControls>
<WindowName>charsheet</WindowName>
- <ControlName>alignment_combo</ControlName>
- <ZIndex>20</ZIndex>
+ <ControlName>alignment</ControlName>
+ <ZIndex>22</ZIndex>
<ControlClass>FGComboBox</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -128,7 +118,7 @@
{"Name":"BackgroundColor","Value":{"@xsi:type":"xsd:string","#text":"0;0;0;0"}},
...
{"Name":"Tooltip"},
@@ -179,7 +169,7 @@
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>alignment_label</ControlName>
- <ZIndex>17</ZIndex>
+ <ZIndex>19</ZIndex>
<ControlClass>FGLabel</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor","AdvancedAnchor":{"EdgeAnchor":"right","AnchorTo":"right","Parent":"name"}}},
@@ -360,7 +350,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>charsheet_header_details</ControlName>
- <ZIndex>23</ZIndex>
+ <ZIndex>25</ZIndex>
<ControlClass>FGButton</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -421,7 +411,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>class</ControlName>
- <ZIndex>18</ZIndex>
+ <ZIndex>20</ZIndex>
<ControlClass>FGStringField</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -484,7 +474,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>class_label</ControlName>
- <ZIndex>19</ZIndex>
+ <ZIndex>21</ZIndex>
<ControlClass>FGLabel</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor","AdvancedAnchor":{"EdgeAnchor":"right","AnchorTo":"right","Parent":"name"}}},
@@ -593,7 +583,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>level</ControlName>
- <ZIndex>21</ZIndex>
+ <ZIndex>23</ZIndex>
<ControlClass>FGNumberField</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -657,7 +647,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>level_label</ControlName>
- <ZIndex>22</ZIndex>
+ <ZIndex>24</ZIndex>
<ControlClass>FGLabel</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor","AdvancedAnchor":{"EdgeAnchor":"right","AnchorTo":"right","Parent":"name"}}},
EDIT: Is there a log file for more specifics on the RW error in the first image?
57935
I am running RW 0.8.8. I previously had 0.8.7 and updated.
From my commit comment, it was the commit that I realized I didn't need the "alignment" text box I originally had since I had superimposed the alignment combobox control over it.
Removed Alignment Stringfield
- Interim commit: added some unconfigured numberfields
- Added new AC frame for "main" AC and intend on using original for "Surprised"/"Flanked"
Now, since the gui appears to pile all the remaining controls on top of each other with same h/w/x/y settings, maybe that is simply it - I did something there that pulled the rug out form my controls? But his sheet I did purely by WYSIWYG placement. The charsheet_main was mostly with template positioning.
The odd thing, is if it happened here... on Jun14 checkin, it is odd that I didn't notice it bite me until now. I've been generating for days (including today many times) until the moment I clicked on "charsheet" and it tossed this error. Then I purposely "generated" to see what would happen and only THEN did the output look messed up like the RW gui now for that sheet (wish I saved first output, but I can recreate charsheet from way older dir copy on 6th since it was the first thing I created)
57936
57937
57938
And this is what the last N contols on "charsheet" have for x/y/h/w which appears to be evidence of the corruption:
57939
PS-> I see that the Ruleset.rwp file contains stuff in windname.rwf files. If the answer to this is not obvious, is there a way I can grab an earlier charsheet.rwf and "import it" or use it to "replace" the current one and have it get "loaded"? into add.rwp project correctly?
Or maybe I delete the "charsheet" element in the project then "import" charsheet.rwf from a prior save in git???
The diff of the last time I changed charsheet.rwf
$ git diff HEAD~4 ./AdventuresDarkAndDeep/windows/charsheet.rwf
diff --git a/AdventuresDarkAndDeep/windows/charsheet.rwf b/AdventuresDarkAndDeep/windows/charsheet.rwf
index c7bad3c..59672ce 100644
--- a/AdventuresDarkAndDeep/windows/charsheet.rwf
+++ b/AdventuresDarkAndDeep/windows/charsheet.rwf
@@ -1,29 +1,29 @@
<DocumentElement xmlns="https://tempuri.org/Ruleset.xsd">
<WindowControls>
<WindowName>charsheet</WindowName>
- <ControlName>abilities</ControlName>
- <ZIndex>2</ZIndex>
- <ControlClass>FGSubWindow</ControlClass>
+ <ControlName />
+ <ZIndex>18</ZIndex>
+ <ControlClass>FGCustomControl</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
- {"Name":"Activate"},
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
- {"Name":"AdvancedTemplate"},
...
+ {"Name":"YPos","Value":{"@xsi:type":"xsd:int","#text":"5"}}
]}}</Definition>
<LUACode />
<GroupIndex>0</GroupIndex>
@@ -56,49 +54,40 @@
</WindowControls>
<WindowControls>
<WindowName>charsheet</WindowName>
- <ControlName>alignment</ControlName>
- <ZIndex>16</ZIndex>
- <ControlClass>FGStringField</ControlClass>
+ <ControlName>abilities</ControlName>
+ <ZIndex>2</ZIndex>
+ <ControlClass>FGSubWindow</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
+ {"Name":"Activate"},
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
{"Name":"AdvancedTemplate"},
...
+ {"Name":"XPos","Value":{"@xsi:type":"xsd:int","#text":"5"}},
+ {"Name":"YPos","Value":{"@xsi:type":"xsd:int","#text":"100"}}
]}}</Definition>
<LUACode />
<GroupIndex>0</GroupIndex>
@@ -119,8 +109,8 @@
</WindowControls>
<WindowControls>
<WindowName>charsheet</WindowName>
- <ControlName>alignment_combo</ControlName>
- <ZIndex>20</ZIndex>
+ <ControlName>alignment</ControlName>
+ <ZIndex>22</ZIndex>
<ControlClass>FGComboBox</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -128,7 +118,7 @@
{"Name":"BackgroundColor","Value":{"@xsi:type":"xsd:string","#text":"0;0;0;0"}},
...
{"Name":"Tooltip"},
@@ -179,7 +169,7 @@
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>alignment_label</ControlName>
- <ZIndex>17</ZIndex>
+ <ZIndex>19</ZIndex>
<ControlClass>FGLabel</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor","AdvancedAnchor":{"EdgeAnchor":"right","AnchorTo":"right","Parent":"name"}}},
@@ -360,7 +350,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>charsheet_header_details</ControlName>
- <ZIndex>23</ZIndex>
+ <ZIndex>25</ZIndex>
<ControlClass>FGButton</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -421,7 +411,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>class</ControlName>
- <ZIndex>18</ZIndex>
+ <ZIndex>20</ZIndex>
<ControlClass>FGStringField</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -484,7 +474,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>class_label</ControlName>
- <ZIndex>19</ZIndex>
+ <ZIndex>21</ZIndex>
<ControlClass>FGLabel</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor","AdvancedAnchor":{"EdgeAnchor":"right","AnchorTo":"right","Parent":"name"}}},
@@ -593,7 +583,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>level</ControlName>
- <ZIndex>21</ZIndex>
+ <ZIndex>23</ZIndex>
<ControlClass>FGNumberField</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor"}},
@@ -657,7 +647,7 @@ end</LUACode>
<WindowControls>
<WindowName>charsheet</WindowName>
<ControlName>level_label</ControlName>
- <ZIndex>22</ZIndex>
+ <ZIndex>24</ZIndex>
<ControlClass>FGLabel</ControlClass>
<Definition>{"ArrayOfFGControlPropertyInfo":{"@xmlns:xsd":"https://www.w3.org/2001/XMLSchema","@xmlns:xsi":"https://www.w3.org/2001/XMLSchema-instance","FGControlPropertyInfo":[
{"Name":"AdvancedAnchoring","Value":{"@xsi:type":"ArrayOfAdvancedAnchor","AdvancedAnchor":{"EdgeAnchor":"right","AnchorTo":"right","Parent":"name"}}},
EDIT: Is there a log file for more specifics on the RW error in the first image?