NetLogo 6.2.2 BehaviorSpace not letting us select file to save results or run - netlogo

A student in my class is unable to get BehaviorSpace to work on his machine. We are able to design and save experiment. When we click on run the dialog box for Run options opens and we select Table output. Then the problem arises. After clicking Ok it goes right back to the BehaviorSpace dialog, rather than asking us where to save the results and running the experiment. If we click on Run again, we go back to Run options and so on. I have never seen this before. If you have any ideas, please let us know.
He is using a 2020 MacBook Air running macOS Monterey 12.0.1.
Sincerely, Dale S. Rothman

Related

NetLogo BehaviorSpace Crashing NetLogo

This is less of a coding question than a question about the program not working as a whole, apologies if it is mis-placed.
[Edit: I'm running NetLogo on MacOS Big Sur v11.1)
After a hiatus of about 5 months of not using NetLogo, I recently updated to 6.2.0 after my earlier version (6.0.3) had problems running BehaviorSpace.
When I opened BehaviorSpace in the old version, NetLogo ceased to be functional: all buttons were frozen, except for occasionally "Run" for an experiment. Running an experiment, along with the excel output, would occur, but I couldn't click any of the buttons (like Update View). Before running an experiment, I could not expand the BehaviorSpace window or edit any of the parameters that I had set up months ago. I'm also unable to create a new experiment.
This continues to happen with the new version of NetLogo (6.2.0)- everything freezes, including the NetLogo Menu, but I can run an experiment if I don't mind not altering anything.
[EDIT: I've opened a model from the included Model Library, and BehaviorSpace similarly freezes the entire program, so it's not just my file... which is a relief]
Has anyone seen this, too? Any suggestions for how to fix this?
Thanks in advance.

Crystal Reports has stopped working

On only certain reports, Crystal Reports crashes and gives this error (see attached picture).
I am still relatively new to Crystal and am not sure how to diagnose this error or where to find error logs that might point me in the right direction. I came across a post somewhere about windows version compatibility, but I'm not sure if that's it.
I'm running Crystal Reports product version 14.1.2.1121 on Windows 10. Has anyone else run into this issue?
Try to install Crystal Reports in Windows 8.1, then later update your OS to Windows 10,then it will work fine :)
This is something that may happen from time to time in CR, except if you get this every time you open a report in particular or too often. Although the information need some additions. Is this on client or developer end?
May you have to do following steps:
1. Right-click My Computer, then click Properties then click the Advanced tab.
Click the Performance Settings button then click the Data Execution Prevention tab.
Select the Turn on DEP for all programs and services except those I select: check box.
Add all of the Crystal Enterprise executables.
click ok. and close the window. open crystall report now.

Protractor test fails when launch directly on Windows Server 2012

I use Protractor 3.0.0 to measure UI performances of a web app.
I need to launch my test suites on a virtual machine running on Windows Server 2012. They run perfectly on my personal computer, but on the VM the tests go crazy:
My tests don't always properly click on dropdown menus (e.g. my debug messages indicate that the click on the logout link in a dropdown menu was successful but nothing happens)
When filling text fields A and B with values "valueA" and "valueB" in a form, the tests sometimes sends "valueAvalueB" in the field B
I tried launching tests with PhantomJS, and I still have the same problem with dropdown menus (I didn't check the values of text fields yet). In addition, the performance measurements seem to be too optimistic.
Does anyone encountered the same problem? I couldn't find anything describing that kind of problem...
I launch my tests directly from the VM (not using remote WebDriver or something).
Ok Link Pham this is what I feared... Headless browsers could fix the issues, but we want to measure times spent displaying items and refreshing them. Headless browsers could give too optimistic results (as I observed with PhantomJS when I gave it a try). I will try with headless Chrome.
I guess I will have a bunch of other questions, but your answer properly covers the scope of this specific question so I will close it. Thank you again .

Suggestions for a bad PowerShell Script

We have a legacy server service running on a Windows 7 desktop that keeps crashing with a popup window reporting a memory error. The popup stops all processing on the machine. Once the "OK" button is clicked on the popup the system recovers and moves on. The root problem appears to be inside a compiled DLL that the application uses.
This popup usually happens between 9pm and 11pm every couple days.
It happens when no one is signed into the PC, so the popup displays in front of the CTRL+ALT+Delete message for signing in.
I can click OK and it continues processing, signing into the computer.
CHALLENGE:
This is a legacy application that will be replaced when budget allows (maybe next Summer) so there is no budget for upgrade or paying a consultant to fix the root problem.
All we need to do is click the OK button when the "Application Popup" event is thrown (logged in the Event Manager)
I know that it would be WRONG to write a script to satisfy the popup. Fixing the root cause is the CORRECT action.. but we have no support to spend money at this time. And since it's a compiled DLL, we can't fix the code.
Is there a PowerShell script that could:
Watch for a specific event "Application Popup" and if it occurs simulate pressing the ENTER key?
Run in the background, signed out of a user account.
If PowerShell isn't the answer, is there a better macro or script tool to get us by?
I know it's "bad practice" but we just need to get along until we get some budget dollars.
Powershell probably isn't the best answer in this case. I'd suggest using something like AutoIt (the WinWaitActive function would be useful in your case).
I have used AutoIt in the past and have found it very useful for Windows GUI automation.

analoginput, starting in matlab

I am trying to display audio at real time using, analoginput, this is the code:
function Cspe()
daq_object = analoginput('winsound');
chan = addchannel(daq_object,1);
num_samples=1000;
set(daq_object,'SamplesPerTrigger',inf,'SamplesAcquiredFcnCount',num_samples,...
'SamplesAcquiredFcn',{#up,num_samples});
if(strcmp(daq_object.running,'On'))
return;
else
start(daq_object);
end
end
function up(num_samples)
data=getdata(daq_object,num_samples);
a=[1:num_samples];
plot(a,data);
drawnow;
end
but it keeps on giving me errors saying Winsound is already in use. i am not so sure what the problem is?, i made sure that if the device is on/running, don't do anything.
I am not sure how to just add a comment (or if I am just not able to yet)so here is my 'answer':
I had a similar problem with a data acquisition board using windows 7. The way to usually get around this problem is making sure you run the program as an administrator.
In windows 7 to do this you simply right click on your shortcut and select 'Run as administrator' or change the advanced properties of the shortcut to run the program as an administrator.
If you are in windows XP, you may want to check to see if your user account has administrative privileges (i.e. check Control Panel > Users, or just try and write something to a system folder).
If these do not work, then another program is likely using the sound card, this has sometimes happened with certain audio suites for me, and was solved by exiting the programs (or uninstalling them, possibly).
I realize this is long after the question was posted, but maybe this will be useful to someone else!