Re: Problems installing built application

2018-07-25 Thread Donald Koffman via 4D_Tech
Working with tech support, the issue is resolved.
I was able to perform the build on another computer, so It looks like
that’s the problem with the failed attempts to code sign some frameworks.
Also, it was important to not launch the built app . I zipped it,
transferred it to my original computer, unzipped it and moved the app to
the Applications folder. It opened and is healthy.
Thanks for all the helpful comments - they  put me on the right path.

On Mon, Jul 23, 2018 at 2:34 PM Donald Koffman via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I am using an Apple supplied Developer ID installed in my keychain via
> Xcode.  I reinstalled it and made sure it had the default setting (not
> trust) which got rid of the not self signed problem.
> I then used the approach outlining the code that uses the shell script in
> the 4D app bundle (sign app.sh) and LEP to code sign.
> It still fails, but now I can examine stdout and stderr to uncover the
> details.
> The shell script tries to sign all the sub components (up to 3 times) and
> fails on the following frameworks:
> 4DJavaScriptSystem. framework
> 4DJavaScriptCore.framework
> Three attempts each.
> This results in the code sign failure of the app.
> I then removed the 2 frameworks and ran my method again. This time all the
> Frameworks succeeded in code signing but the app itself still failed.
>
> At this point, I am at a loss to continue. Any ideas?
>
>
>
> Sent from my iPhone
>
> > On Jul 23, 2018, at 11:06 AM, Timothy Penner via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Are you using an apple provided certificate?  The error mentions self
> signed...
> >
> > -Tim
> >
> >
> >
> > -Tim
> > (sent from mobile)
> >
> >
> >
> > On Jul 22, 2018 2:21 PM, donkoff via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> > Thanks for the reply.
> >
> > I tried what you provided.
> > I get the following repeated many times: Warning: unable to build chain
> to
> > self-signed root for signer "Developer ID Application: 
> >
> > then when I try to verify I get
> > /Users/donaldk/Desktop/FCAT folder/FCAT_Build/Final Application/FCAT.app:
> > CSSMERR_TP_NOT_TRUSTED
> >
> > so no luck yet.
> >
> >
> >
> >
> > --
> > Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Localization: Simulating another Language

2018-07-25 Thread John J Foster via 4D_Tech
Hey All,

I’m getting ready to setup a v17 (Mac/WIn) standalone app so that it can be 
localized for different languages. I have a potential client base in Japan, 
Spanish countries, French, etc.

In order to debug I would like to switch languages to simulate and test.

I know I can switch language by changing the "Language & Region” in the System 
Preferences.

That seems easy! Certain langauges require a “Keyboard Preference” as well. 
Might be trickier?

So… is that all that’s required?

Or is it trickier than that?

Thanks,
John…


**
4D Internet Users Group (4D iNUG)
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: 4D v16 Server and Windows Server 2016

2018-07-25 Thread Epperlein, Lutz (agendo) via 4D_Tech
> I am leaning towards using a user to run the 4D servers and lock the session 
> between
> RDC sessions.

We have done this in the past. But we will never do it again. It's calling for 
trouble. Every nightly Windows update stops your application beside other 
problems, e.g. admins not aware that they must not close the server gui. And 
so on.
Even 4D server performs better as a service, at least is this our experience.

Regards
Lutz

**
4D Internet Users Group (4D iNUG)
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: POW Function

2018-07-25 Thread Jeremy Roussak via 4D_Tech
> On 24 Jul 2018, at 17:32, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> 
> In 4D I’m doing this:
> 
> $rRange:=1200-50
> $rExponent:=Int(Log($rRange))
> $rMagnitude:=10^$rExponent
> 
> But I’m getting an exponent of 7 instead of 3. Any ideas what I’m doing wrong?
> 
> Thanks.


You’re using log base e. It’s not clear from the docs that 4D has a log base 10 
function. You might have to divide by 10 in a loop.

Jeremy
**
4D Internet Users Group (4D iNUG)
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: POW Function

2018-07-25 Thread Keisuke Miyako via 4D_Tech
I won't recommend it, but just to illustrate the difference:

$rRange:=1200-50
C_LONGINT($rExponent)
Begin SQL
SELECT LOG10(:$rRange) FROM _USER_SCHEMAS LIMIT 1 INTO :$rExponent
End SQL
$rMagnitude:=10^$rExponent


> But I’m getting an exponent of 7 instead of 3. Any ideas what I’m doing wrong?





**
4D Internet Users Group (4D iNUG)
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: 4D v16 Server and Windows Server 2016

2018-07-25 Thread Uist Macdonald via 4D_Tech

Hi Jeff

I agree in normal circumstances the OPEN ADMINISTRATION WINDOW view is 
fine.  It is in the case where something unexpected has gone wrong, 
although you might think you have covered every error scenario with an 
ON ERROR proc.  With V16 if you don't use Interactive Services Detection 
then your 4D procedure running on the server will just abort quietly as 
soon as it tries to put up a dialog, or have I read the docs incorrectly.


If 4D Server would at least write the dialog message to the system event 
log then you would get a clue what was wrong.


Uist Macdonald

On 25/07/2018 00:31, Jeffrey Kain via 4D_Tech wrote:

What do you need to do on the server itself compared to what's available in the 
OPEN ADMINISTRATION WINDOW view from the client?

--
Jeffrey Kain
jeffrey.k...@gmail.com


On Jul 24, 2018, at 5:29 PM, Uist Macdonald via 4D_Tech <4d_tech@lists.4d.com> 
wrote:

The gotcha with Server2016 is that although you can enable Interactive Services 
Detection, session 0 does not accept keyboard and mouse events. Microsoft 
argues this is not a bug, but a defence against hacking, however so many people 
use RDC for remote server management that they are hoping pester power will 
change their minds.
An alternative option is VNC in its various flavours, but is frowned upon by 
system admins.
I am leaning towards using a user to run the 4D servers and lock the session 
between RDC sessions.


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

---
This email has been checked for viruses by AVG.
https://www.avg.com



--
**
4D Internet Users Group (4D iNUG)
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: 4D v16 Server and Windows Server 2016

2018-07-25 Thread Jeffrey Kain via 4D_Tech
Agreed.  I've used FireDaemon in the past to manage 4D Servers running as a 
service but I don't think that works on WS2016 either.

> On Jul 25, 2018, at 9:36 AM, Uist Macdonald via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I agree in normal circumstances the OPEN ADMINISTRATION WINDOW view is fine.  
> It is in the case where something unexpected has gone wrong, although you 
> might think you have covered every error scenario with an ON ERROR proc.  
> With V16 if you don't use Interactive Services Detection then your 4D 
> procedure running on the server will just abort quietly as soon as it tries 
> to put up a dialog, or have I read the docs incorrectly.
> 
> If 4D Server would at least write the dialog message to the system event log 
> then you would get a clue what was wrong.

**
4D Internet Users Group (4D iNUG)
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: 4D v16 Server and Windows Server 2016

2018-07-25 Thread Uist Macdonald via 4D_Tech

Good point.

On 25/07/2018 08:19, Epperlein, Lutz (agendo) via 4D_Tech wrote:

I am leaning towards using a user to run the 4D servers and lock the session
between
RDC sessions.


We have done this in the past. But we will never do it again. It's calling for
trouble. Every nightly Windows update stops your application beside other
problems, e.g. admins not aware that they must not close the server gui. And
so on.
Even 4D server performs better as a service, at least is this our experience.






--
**
4D Internet Users Group (4D iNUG)
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: 13.x Quick Report Export Max Output File Size?

2018-07-25 Thread Benedict, Tom via 4D_Tech
Tim Penner writes:



>Is the file system Fat32?

>If so, then keep in mind that a Fat32 file system is limited to 4GB files.



It's Windows Server 2008 R2 SP1. I'm pretty sure the disk that the file is 
being written to is NTFS. And there are other files, like the .4DD, on that 
disk which are larger than 4GB.



And Mr Miyako writes:



>besides, Quick Report, as the name suggests, is for quick and simple tasks.

>to be honest, I don't think it was designed to handle files larger than 4GB.



In that case I guess I'll have to write some code.



Thanks,



Tom Benedict

Optum



This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
**
4D Internet Users Group (4D iNUG)
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: 13.x Quick Report Export Max Output File Size?

2018-07-25 Thread Tim Nevels via 4D_Tech
On Jul 25, 2018, at 2:00 PM, Benedict, Tom wrote:

>> besides, Quick Report, as the name suggests, is for quick and simple tasks.
>> to be honest, I don't think it was designed to handle files larger than 4GB.
> 
> In that case I guess I'll have to write some code.

Don’t forget about EXPORT DATA(“”) command. You can easily dump the data with 
that from any table. All records or the current selection. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
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: What do you use to monitor your offsite servers?

2018-07-25 Thread Kirk Brooks via 4D_Tech
Hey folks,
I wanted to say how much I appreciate the suggestions and discussions on
this thread. After looking things over I've decided to go with SplashTop
for a year. I like the look and feel, works on my Mac and will for less
than LogMeIn let's me have access to all my company computers.

Check back next year to the next chapter.

On Sun, Jul 15, 2018 at 1:27 PM Kirk Brooks  wrote:

> I've been using LogMeIn for a few years. It was great at $100/year. It was
> OK at $200/year but now it's going up to $350/year and it's time to loo for
> something else.
>
> Suggestions?
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *We go vote - they go home*
>
>

-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
4D Internet Users Group (4D iNUG)
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: POW Function

2018-07-25 Thread Cannon Smith via 4D_Tech
Hi Andrew,

Thanks for the answer. Also, thanks to Miyako and Jeremy. Spencer actually 
helped me get this figured out offline, but I didn’t realize we’d gone offline. 
So its all taken care of.

Thanks.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




> On Jul 24, 2018, at 8:17 PM, Andrew Hickey via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> As Spencer mentioned you need to transform the log from a natural log to
> base 10.

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