Re: Get 4D file(Last backup file) v17.4 returning wrong file path

2020-08-18 Thread Keisuke Miyako via 4D_Tech
in v18 it is backupHistory.json, I think.

https://doc.4d.com/4Dv18R3/4D/18-R3/Configuration-and-trace-files.300-4919427.en.html

2020/08/19 9:21、Dave Nasralla via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
This makes me think something got corrupt. Do you know where the "Last
backup file" path information is stored?

**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Get 4D file(Last backup file) v17.4 returning wrong file path

2020-08-18 Thread Dave Nasralla via 4D_Tech
Thanks for the advice, Keisuke.

The command seems to work in a blank database (just running it in a
test method after doing a backup), but does not work in my main system
in a test method.
This makes me think something got corrupt. Do you know where the "Last
backup file" path information is stored?

dave

On Tue, Aug 18, 2020 at 5:09 PM Keisuke Miyako via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> sidebar
>
> technically you should move your fresh 4BK file after On Backup Shutdown, not 
> during,
> because 4D updates the backup history json file following the database event,
> and a  missing backup file will trigger a runtime error.
> one way to avoid this is to start a new process and wait a little before 
> moving the backup.
>
> I can't answer your question about Get 4D file + Last backup file
> other than to assume that the information is only updated after On Backup 
> Shutdown.
>
> https://doc.4d.com/4Dv18R4/4D/18-R4/Get-4D-file.301-4982837.en.html
>
> 2020/08/19 5:44、Dave Nasralla via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> In my "On Backup Shutdown" method I wanted to copy the backup file to
> another disk.
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
David Nasralla
Clean Air Engineering
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Get 4D file(Last backup file) v17.4 returning wrong file path

2020-08-18 Thread Keisuke Miyako via 4D_Tech
sidebar

technically you should move your fresh 4BK file after On Backup Shutdown, not 
during,
because 4D updates the backup history json file following the database event,
and a  missing backup file will trigger a runtime error.
one way to avoid this is to start a new process and wait a little before moving 
the backup.

I can't answer your question about Get 4D file + Last backup file
other than to assume that the information is only updated after On Backup 
Shutdown.

https://doc.4d.com/4Dv18R4/4D/18-R4/Get-4D-file.301-4982837.en.html

2020/08/19 5:44、Dave Nasralla via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
In my "On Backup Shutdown" method I wanted to copy the backup file to
another disk.
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Get 4D file(Last backup file) v17.4 returning wrong file path

2020-08-18 Thread Dave Nasralla via 4D_Tech
Hi,

In my "On Backup Shutdown" method I wanted to copy the backup file to
another disk.
When I call "Get 4D file(Last backup file)" I get a file path to a
very old backup. I get the same old path every time I do a backup.

Am I missing something?

Thanks,

dave

-- 
David Nasralla
Clean Air Engineering
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Error - can’t load JSON component

2020-08-18 Thread James Knight via 4D_Tech
Hi

I’ve just started getting a strange error message when launching a built 
application, but only on some computers.

The error is "Can’t load component “JSON_1-0-30.4DC”. This happens as soon as 
the app starts up. Once I dismiss the message, it proceeds to start up ok.

I seem to vaguely remember this being an old component which I used before 4D 
had JSON built in. But I removed it years ago and I can’t find any trace of it 
in my code. Everything was working fine until the most recent deployment today.

I’ve tried re-compiling and re-building several times, compacted structure & 
data file, restarted client, etc.

I’m on 4D 14.7.4, compiled and deployed to Macs.

It still runs fine on most client, but there are odd ones where I get the above 
error.

Does anyone have any clues?

Thanks.

James

 

**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't Disable Catalina Prompt "Do you want the Applicaiton "ApplicationName" to accept incoming network connections?

2020-08-18 Thread Robert McKeever via 4D_Tech
Before you built the app, probably before you compiled the app, did you disable 
the web server upon startup and the SQL server upon startup under Database 
Settings?

> On Aug 17, 2020, at 9:02 AM, Ken Eyring via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I've compiled and built a standalone version of my 4D database (with 
> v17.3HF2), and every time that I run it on Mac OS X 10.15.5 (Catalina), I get 
> a prompt "Do you want the Application 'ApplicationName' to accept incoming 
> network connections?"
> 
> I click "Yes" and the application opens.  I have also added the name of my 
> standalone application into the Security & Privacy control panel as an 
> exception to "allow incoming connections"... but I still get the prompt every 
> time I open the application.
> 
> Any suggestions on what I need to do to get the prompt to stop popping up is 
> greatly appreciated.
> 
> Thank you,
> Ken
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

_
Bob McKeever  http://www.mswl.com 
McKeever's Software Wizardry
Port Coquitlam, B.C.
bobmckee...@mac.com




**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't Disable Catalina Prompt "Do you want the Applicaiton "ApplicationName" to accept incoming network connections?

2020-08-18 Thread Bernd Fröhlich via 4D_Tech
Ken Eyring:

> I've compiled and built a standalone version of my 4D database (with 
> v17.3HF2), and every time that I run it on Mac OS X 10.15.5 (Catalina), 
> I get a prompt "Do you want the Application 'ApplicationName' to accept 
> incoming network connections?"
> 
> I click "Yes" and the application opens.  I have also added the name of 
> my standalone application into the Security & Privacy control panel as 
> an exception to "allow incoming connections"... but I still get the 
> prompt every time I open the application.
> 
> Any suggestions on what I need to do to get the prompt to stop popping 
> up is greatly appreciated.


Did you move the app into the applications-folder?
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**