Forum

Configuration Files...
 

Configuration Files not loading properly  

  RSS

(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 8, 2019 4:03 pm  

I'm just getting started with developing different configurations and writing scripts so I have two different configurations set up in BruControl, one for writing and testing the scripts and another for the brewing process itself. When switching back and forth between configurations, the script area does not reload properly, it comes up blank (no script showing). The name of the script still shows up on the left as paused but no lines of code are showing up in the editing area and no data is showing in the variables and output area. I have to restart BruControl each time I change configurations to get the script area to properly display the script. I noticed this happens in both the original build of BruControl (v 1.0) and the new beta version (v 1.1). 


Quote
(@pbruno3)
Estimable Member Admin
Joined: 2 years ago
Posts: 241
March 8, 2019 10:06 pm  

We have seen this happen if you used some funky cut and pasted text. Please cut and paste your script from Notepad only. Copy / paste there... then delete out the scripts, then copy and past them into new entries and see if that fixes it.


ReplyQuote
(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 9, 2019 3:48 pm  

As suggested, I tried copying the scripts from BruControl and pasting them into Notepad. Then I deleted the scripts from BruControl, created new ones and copy & pasted from Notepad back into BruControl. I even tried deleting the scripts from BC and retyping them but neither of these resolved the issue.


ReplyQuote
(@pbruno3)
Estimable Member Admin
Joined: 2 years ago
Posts: 241
March 9, 2019 3:56 pm  

Would you mind trying some different themes? Office Black (inside The Bezier for 1.1 RC) is the default we use.


ReplyQuote
(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 9, 2019 3:57 pm  

I also tried creating new configurations and pasting the scripts from Notepad into the new configurations but it still did not resolve the issue.


ReplyQuote
(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 9, 2019 4:35 pm  

Changing themes has the same results (I tried Office Black inside The Bezier as suggested, also Metropolis and Metropolis Dark).

I also just noticed that none of the variables will not allow a change in properties. I am able to toggle User Control on and off and select the script in the drop down menu but when I close the variables properties, then reopen the variable's property window, the changes were not saved and there is no script associated with the variable. This happens with all the variables in all the work spaces and configurations.


ReplyQuote
(@pbruno3)
Estimable Member Admin
Joined: 2 years ago
Posts: 241
March 9, 2019 4:42 pm  

I'm not sure what is happening. I just tested Variable (now called Inspectors) dialog and it works as expected.

Maybe delete everything and start from scratch?


ReplyQuote
(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 9, 2019 4:48 pm  

Do you mean to uninstall and reinstall the app (all files and folders) or just delete the work spaces and configurations? 


ReplyQuote
(@pbruno3)
Estimable Member Admin
Joined: 2 years ago
Posts: 241
March 9, 2019 8:11 pm  

Close the application, delete the configurations, re-open the app and cut and paste your scripts from Notepad.


ReplyQuote
(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 9, 2019 9:12 pm  

Got it. Thanks, that seems to have resolved the issue. 


ReplyQuote
(@piggles22)
Active Member
Joined: 1 year ago
Posts: 13
March 11, 2019 3:05 am  

I spoke too soon; I'm still having the same problem with the script(s) not loading properly in the script window after changing between different configurations. This is happening on both ver 1.0 and the beta ver 1.1. I even switched my BC license to a newer, dedicated brewing PC thinking that running BC on a virtual machine on a Mac PowerBook may be causing the issue but the problem still exists on the PC. There is not much running on the PC since it has a clean install of Windows 10.

I have two different configurations with only a single script written for each configuration. Both are relatively short scripts setup for testing this issue. When I switch from one configuration to the other (and back again), the script area comes up blank and the user controls (run, resume, step, load, reset...) are dimmed out but the script is definitely running since all the screen controls and variables still respond to the script. I have found that by adding a second (blank) script (i.e. "Script 1") I can click on the blank script, then click back on the original script, the script areas does a refresh and the original script becomes visible again.


ReplyQuote
(@pbruno3)
Estimable Member Admin
Joined: 2 years ago
Posts: 241
March 11, 2019 3:07 am  

OK... maybe these aren't re-drawing correctly. We'll take a look. In the meantime, I suggest you don't switch configurations. 


ReplyQuote
Share: