Re: Attempt to read beyond end of stream

2020-12-03 Thread Tarawerkz via 4D_Tech
Peter and Chip, Thank you both for the constructive feedback on the possibilities. As the cause of the issue and the consequent resolution (if indeed possible) is one black-box, I have decided to go back to the most recent stable version and re-do the necessary changes. Regards, Ronnie

Re: Running AppleScripts from 4D under Catalina

2020-12-03 Thread Keisuke Miyako via 4D_Tech
it depends on how you implement automation. are you calling osascript via launch-external-process? to control the Mail app, normally you need to use AEDeterminePermissionToAutomateTarget https://github.com/miyako/4d-plugin-apple-file-promises/blob/master/apple-file-promises/4DPlugin.cpp to

Re: Running AppleScripts from 4D under Catalina

2020-12-03 Thread nug via 4D_Tech
I have no experience with this — at all— I remember reading that there are issues using Apple script with 10.14+ I believe there are new commands in 4D to manage email directly - Try looking into those. Also, sad as I am to say this, you will get better response from the new forum. Chip > On

Running AppleScripts from 4D under Catalina

2020-12-03 Thread Peter Adam via 4D_Tech
I have an app where when the user wants to send an email from 4D, the program builds an AppleScript to communicate with either Mail or Outlook. This has been working fin from v17R6 under Mojave but returns a message that it can’t find Mail on Catalina. I have code signed and notarised the app,

Re: Attempt to read beyond end of stream

2020-12-03 Thread nug via 4D_Tech
My first thought would be damage to the file from the hardware (bad block(s) on the disk, but I do not know your situation there Another thought would be a crash/power outage/etc that occurred while 4D was writing the structure to disk, Or before the cache (4D’s structure, or disk) was flushed

Re: Attempt to read beyond end of stream

2020-12-03 Thread Peter Bozek via 4D_Tech
On Thu, Dec 3, 2020 at 4:59 PM Tarawerkz via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Thanks Chip, > > I’ll try that, hopefully can find a version from not too far back. > > Any idea what could have caused this? My info is not very recent, but few years ago I analysed structure of data and

Re: Attempt to read beyond end of stream

2020-12-03 Thread Tarawerkz via 4D_Tech
Thanks Chip, I’ll try that, hopefully can find a version from not too far back. Any idea what could have caused this? Regards, Ronnie Tarawerkz > On 3 Dec 2020, at 9:27 PM, nug <4d_o...@pghrepository.org> wrote: > > Ronie, > -Go back to the originally damaged structure and try MSC on it

Re: Attempt to read beyond end of stream

2020-12-03 Thread Chuck Miller via 4D_Tech
Like Chip stetted, almost all are on discuss forum now. I don’t think support will help on a v15 db as they no longer support it. Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed

Re: Attempt to read beyond end of stream

2020-12-03 Thread nug via 4D_Tech
Ronie, -Go back to the originally damaged structure and try MSC on it again. -go back to a previous version of the structure (backup) -contact 4D support While I personally do not like it…. Also there is a new forum, where nearly ever one is now. You will get more help/eyeballs on this issue

Attempt to read beyond end of stream

2020-12-03 Thread Tarawerkz via 4D_Tech
Hi All, I would like seek advice on an issue I encountered with a v15 structure file which has been in use for a long time. Recently, when I logged in with the designer password to make some amendments to the code, I encounter a memory allocation error on a resource blob. So I did a structure