Gamestudio Links
Zorro Links
Newest Posts
Zorro tutorial ideas?
by mistery. 09/19/26 17:09
Trades during a running bar
by Martin_HH. 09/18/26 12:45
Capital slider is not saving in Z12
by frutza. 09/17/26 13:36
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
What are you working on?
by rayp. 09/16/26 20:20
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (3run), 1,816 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
mistery, lokkalyansamiti, rahulbuilds, speedx, liop
19236 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Broker or Zorro Messages? [Re: DdlV] #485906
05/05/22 17:15
05/05/22 17:15
Joined: Jul 2000
Posts: 28,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,133
Frankfurt
You cannot open a file while another app is just writing into it. But you can open it while Zorro is not writing, for instance when you click Stop and the Messagebox pops up.

Re: Broker or Zorro Messages? [Re: DdlV] #485908
05/05/22 19:22
05/05/22 19:22
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @jcl.

Yes, I understand write locks. However, it seems *diag.txt is _always_ locked - as compared to log files which seem to be copy-able any time.

I will try the Stop trick.

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #485912
05/09/22 04:21
05/09/22 04:21
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
@jcl,

Tried the Stop trick - didn't work - tried with both prompt windows open - Zorro still has diag.txt locked.

Any other ideas?

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #485914
05/09/22 11:22
05/09/22 11:22
Joined: Jul 2000
Posts: 28,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,133
Frankfurt
It's clear that the diag.txt file is often locked because Zorro writes all the time into it. But it should not be locked when nothing is written. I'll inquire what may be the reason, and wil then get back to you.

Update: The diag file indeed remains locked during the whole session for speed reasons. So you must really stop the session for reading it, then restart the session. I've put reading it with the stop trick on our todo list. It will be implemented in the next beta.

Re: Broker or Zorro Messages? [Re: DdlV] #485916
05/09/22 19:09
05/09/22 19:09
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks @jcl.

I don't suppose this qualifies as a "critical bug"? laugh (Even though it's been a quite annoying issue since the beginning...) I'll keep looking...

Thanks.

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1