|
|
| Author |
Message |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 04 July 2008, 4:11 AM Post subject: What does this error message mean? |
|
|
Often, once or twice per compilation (1280n) I recieve an error message in a pop-up dialog, roughly along the lines of:
"Some commands are still waiting to be executed. Continue anyway?
Why does this appear?
It doesn't happen for VM devices, only native mode devices. |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 04 July 2008, 18:03 PM Post subject: Re: What does this error message mean? |
|
|
| pjc30943 wrote: | | Why does this appear? It doesn't happen for VM devices, only native mode devices. | The back-end compiler for native mode adds quite a bit of time to the compilation process. With the compile-and-download command (F5), the download has to wait for the compilation to complete before the download can begin. The IDE has a loop that waits for completion but it has a timeout on it just in case something causes the compile to never complete. It's when the completion wait timeout occurs that you get the message box.
If this is the cause of what you're seeing, you can avoid it by first pressing F7 to compile and, when that is complete, pressing F5 to download. Alternately, you can increase the wait time by adding an entry to your User Options file like the one below which specifies a wait time of 20,000mS. The default value is 5,000.
| Code: | | command.go.wait=20000 |
You can edit the User Options file in the IDE by selecting "Open User Options file" on the Options menu. In most cases, you need to exit the IDE and restart for the change to take effect.
Note: the current version of the IDE displays a different message than the one that you indicated but I think that the discussion above still applies. The method for increasing the wait time was implemented as far back as v1.3.3. What version of the IDE are you using? |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 04 July 2008, 20:12 PM Post subject: |
|
|
Thanks Don.
Yes, you are right, this seems to be the cause (the IDE is the latest version).
I added the entry suggested, resulting in no change. Which is okay, since I'll just use F7 followed by F5, instead of just compile-download-run F5.
F7-F5 works fine, and the message no longer appears. |
|
| Back to top |
|
 |
twesthoff
Joined: 17 Mar 2006
Posts: 191
Location: Fredericksburg, VA
|
|
Posted: 04 July 2008, 20:38 PM Post subject: What does this error message mean? |
|
|
FYI,
I am using the newest version, and I still get the error. The newest version sometimes works OK, but the previous version always gave the error.
I also get the error (or a similar one) if I use "Go" and the Com port is already open with another program like Hyperterminal.
With the VM devices I get an error saying the port is not available.
Tom W.
Subject: RE: What does this error message mean?
Note: the current version of the IDE displays a different message than the one that you indicated but I think that the discussion above still applies. The method for increasing the wait time was implemented as far back as v1.3.3. What version of the IDE are you using?
------------------------
- Don Kinzer |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 16 September 2008, 19:11 PM Post subject: |
|
|
After installing the latest compiler, the timeout occured again; entering 'command.go.wait = 20000' back into all the options files has made no difference.
Any ideas why? |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 16 September 2008, 19:35 PM Post subject: |
|
|
| pjc30943 wrote: | | entering 'command.go.wait = 20000' back into all the options files has made no difference. | You should only need to put it in your User Options file (accessed via "Open User Options File" on the Options menu). The installer never modifies your user options file so your changes will carry over from one version to the next.
| pjc30943 wrote: | | Any ideas why? | It is possible that the compiler is just enough slower (with the addition of native mode stack analysis) that it takes longer than the specified wait time. However, 20 seconds seems quite long. If you compile separately using F7, approximately how long does it take? |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 16 September 2008, 21:42 PM Post subject: |
|
|
EDIT: Just verifying that it is in the User Options file, and the timeout occurs.
~~~~~~~~~~~~~~~~~~~~~
Compiling takes about 7 seconds, which is about the same as before.
Previously I found that just placing the command in the User Options file did not work, but placing it into Global Options did. It was then working for quite some time until this release, after which I was immediately given this error.
I should first check and verify that there is nothing else that has been changed. Regardless, the command is currently in the User Options file, and the timeout occurs. |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 18 September 2008, 19:58 PM Post subject: |
|
|
| Anyone have further thoughts on how to remove the timeout message? |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 19 September 2008, 1:03 AM Post subject: |
|
|
| pjc30943 wrote: | | Anyone have further thoughts on how to remove the timeout message? | I don't know yet why it occurs in your case. Is it true that if you separately compile and then download (i.e. F7, wait for completion, F5) operates as you would expect? |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 19 September 2008, 1:29 AM Post subject: |
|
|
| dkinzer wrote: | | Is it true that if you separately compile and then download (i.e. F7, wait for completion, F5) operates as you would expect? |
Yes. Then it works correctly.
Of course it's pretty simple to just continue to do F7-F5 separately, so no loss either way. |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 17 July 2009, 23:43 PM Post subject: |
|
|
Still occurs with 2.8.
Anyone else had this problem, and then figured out the solution?
It's not a big problem...just a nuisance. I keep hoping that with new releases it will magically go away! |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 18 July 2009, 0:28 AM Post subject: |
|
|
| pjc30943 wrote: | | Still occurs with 2.8. Anyone else had this problem, and then figured out the solution? | The current version of the IDE is 1.4.14. You can determine the version of the IDE that you're using by selecting 'About ZBasic IDE' from the Help menu in the IDE.
I'd like to see your User Options file. You can find it at "Documents and Settings/<user name>/SciTEUser.properties" where <user name> is your user name. If you would, send it to me as an attachment using the email address dkinzer at zbasic dot net.
What OS are you using, by the way? |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 20 July 2009, 21:22 PM Post subject: |
|
|
Woops: the 2.8 was the ZBasic installer version. The IDE is 1.4.14.
Thanks--the User Options file has been sent via email.
EDIT: The OS is Win XP Pro |
|
| Back to top |
|
 |
|