Re: Current User and 4D User on Server Are Different

2022-02-06 Thread Dave Nasralla via 4D_Tech
Hi Keisuke, Sorry for the delayed response. I’ll have to come up with a way to check (when it happens have the user make a change.) I didn’t realize the literal user alias name (and not just an ID) is stored in the Journal record. I’ll contact Tony Ringsmith (in case he does see this!) and ask

Re: 4D <-> Development

2022-01-25 Thread Dave Nasralla via 4D_Tech
Hi Jody, Well, I started completely from scratch (regarding frontend development) about 6 months ago. I'd been avoiding it and finally had a situation where it was needed. I don't know if this is the best route, but it's the one I took. Javascript: I choose scrimba.com for learning HTML, CSS,

Current User and 4D User on Server Are Different

2022-01-25 Thread Dave Nasralla via 4D_Tech
Hi all, I'm running a built application in 4D v18.4 with Mac and Windows clients on a Mac server. I have an odd situation. I run a custom users and groups which switches the current user in the background to match the user that's login in. On the 4D Server Administration window on the users tab,

Re: Can't surf to my dev environment

2021-11-10 Thread Dave Nasralla via 4D_Tech
Nevermind. I restarted my mac and now it works as expected. That was weird. dave On Wed, Nov 10, 2021 at 11:24 AM Dave Nasralla wrote: > > Hey All, > > I feel like I am missing something. > I am running Mac OS Big Sur 11.6.1 on a Macbook Pro > The web server is turned on for port 2000. > I can

Can't surf to my dev environment

2021-11-10 Thread Dave Nasralla via 4D_Tech
Hey All, I feel like I am missing something. I am running Mac OS Big Sur 11.6.1 on a Macbook Pro The web server is turned on for port 2000. I can surf to http://localhost:2000 and I get the index page. If I try 127.0.0.1 or my IP address I get no connection. I am running Little Snitch, but I have

Re: File Excel created from 4D

2021-09-14 Thread Dave Nasralla via 4D_Tech
We also use the Pluggers product and find it works well. Like anything, there is a small learning curve, but he provides examples. dave > On Sep 14, 2021, at 9:05 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > We use > https://www.pluggers.nl/product/xl-plugin/ > > Pat > >

"Search References" Behavior Change

2021-09-13 Thread Dave Nasralla via 4D_Tech
Hey all, In the past, I would right-click a method name and select "Search References" and I would get a list of literal references to that exact method. Now, when I do that, I get more of a text search of the database. For example: If I right click on the method name "Post_Data", I'll get hits

How do you get a Vertical Splitter's Horizontal 'Move' Resizing Attribute to work?

2021-04-28 Thread Dave Nasralla via 4D_Tech
Hey All, Maybe you can't do this, but imagine you have two text boxes side by side with a vertical splitter between them. When pull the window wider, I'd like the text box on the left to grow, and the splitter and text box on the right to move. (If I have only a vertical on a form with the

Some Mail Command Broken in v18.4 Internet Commands Plugin

2021-04-23 Thread Dave Nasralla via 4D_Tech
Hey All, Just FYI. Several people have run into issues when moving to v18.4. MSG_MessageSize and MSG_GetBody broke (at least for text emails) as well as a few other commands. Reverting to the v18.1 plugin seems to resolve the issue. Tech support has filed a case. Take care! dave -- David

Straw Poll - Does Get 4D file(Last backup file) fail for anyone?

2020-08-25 Thread Dave Nasralla via 4D_Tech
This is mostly just curiosity. Most people probably never use this command A bug report has been filed. If you are bored - test the command by simply doing a File -> Backup And then run the command: Alert(Get 4D file(Last backup file)) If it doesn't work you simply get a path that is completely

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

2020-08-25 Thread Dave Nasralla via 4D_Tech
ke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: >> >> 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

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

2020-08-19 Thread Dave Nasralla via 4D_Tech
help. Dave On Tue, Aug 18, 2020 at 6:54 PM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > 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:2

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

2020-08-18 Thread Dave Nasralla via 4D_Tech
ormation 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<mailto:4d_tech@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

Here's a great Mac App for testing and consuming REST services

2020-03-03 Thread Dave Nasralla via 4D_Tech
Hey all, Just a quick plug for the Mac app JSON Editor by Vlad Badea (available on the App store.) I'm writing a backend REST server so a third party can pull data from our system. It's been a huge help to test the REST Server. I've also had to integrate one of your system with Bamboo (HR

Re: Transferring Build Mac Client via Google Drive Web Interface Fails

2018-11-20 Thread Dave Nasralla via 4D_Tech
e --verify --verbose --sign > \”xx\" "+$appPath) > > > Extended attributes must be removed before signing, it seems, hence the first > line. I don’t know whether all the flags to codesign are necessary; I do know > that it works, and frankly that’s good enough for my pu

Re: Transferring Build Mac Client via Google Drive Web Interface Fails

2018-11-19 Thread Dave Nasralla via 4D_Tech
Here is a followup for what I did. I created and Applescript to remove the quarantine attribute from the downloaded client: set theDocument to choose file with prompt "Select the 4D Client application:" set filepath to POSIX path of theDocument do shell script "xattr -d com.apple.quarantine \"" &

Re: Transferring Build Mac Client via Google Drive Web Interface Fails

2018-11-19 Thread Dave Nasralla via 4D_Tech
Thanks Keisuke. Is there information on signing a built app? We did find the command xattr -d com.apple.quarantine filepath but if signing the app will work, I'd like to do that. dave On Mon, Nov 19, 2018 at 11:57 AM Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > the information

Transferring Build Mac Client via Google Drive Web Interface Fails

2018-11-19 Thread Dave Nasralla via 4D_Tech
Hey All, For a long time we would distribute our built mac clients via google drive using the google drive web interface. We simply zip the built client and upload. Since the auto-update feature works quite well we haven't used it recently. Until today: - I have a working built client - I zip

Re: Mac Mojave and v17?

2018-11-12 Thread Dave Nasralla via 4D_Tech
t;mailto:4d_tech@lists.4d.com>> wrote: > > > > Nothing too serious in my experience. There's some odd flickering when you > > resize windows, but I haven't had any functionality issues. > > > >> On Nov 9, 2018, at 3:18 PM, Dave Nasralla via 4D_Tech > >

Mac Mojave and v17?

2018-11-09 Thread Dave Nasralla via 4D_Tech
Hi, Anyone have any experience with this? I just picked up one of the new 6 core Mac Minis with 32GB of RAM. Just wondering if anyone is aware of any gotcha's or issues. I'll be running 64bit v17 apps and one v17 32bit app. dave -- David Nasralla Clean Air Engineering

Re: Isolating the Cause of a Server Crash

2018-09-06 Thread Dave Nasralla via 4D_Tech
Hi JPR, Thanks for your comments. - On each crash report, it is a different thread. Twice it was similar to what I'll post at the end of this message (ServerNet select I/O handler). Once it was the LabProjects List, but there is nothing unique about that list of records. - Range checking is on

Re: Isolating the Cause of a Server Crash

2018-08-31 Thread Dave Nasralla via 4D_Tech
Thanks to all that have responded. - I rebooted the machine this evening. (In the past it has run as long as a year without a reboot - which was only done for a system update.) - No virus scans running on it - Backblaze runs, but the .4DD files are skipped. - MCS Scans came back clean -

Isolating the Cause of a Server Crash

2018-08-31 Thread Dave Nasralla via 4D_Tech
One of our systems is crashing about every 3 days and I can't seem to isolate the cause. Lately these are crashes with a Mac crash report appearing on the screen. Some system details are: - 4D Built Server app with v17.0 HF1 (64 bit Server with 64 Mac and 32 bit Windows Clients) - Mac and

Re: Team Developer - Do all developers need to be on same minor version?

2018-08-28 Thread Dave Nasralla via 4D_Tech
Thanks, Tim. We use the "Current version:" setting to for all the clients to update to the same version as the server. What do you do about components? 4D POP is a good example. Those are not distributed as source code, but rather compiled .4DC files. As far as I can tell there are no v17

Re: Team Developer - Do all developers need to be on same minor version?

2018-08-28 Thread Dave Nasralla via 4D_Tech
ocol they'll block it. For deployment > we try to have matching versions always. > > > On Aug 28, 2018, at 2:24 PM, Dave Nasralla via 4D_Tech > > <4d_tech@lists.4d.com> wrote: > > > > One of our systems is developed with 4D Server (Team Developer) with > > sev

Team Developer - Do all developers need to be on same minor version?

2018-08-28 Thread Dave Nasralla via 4D_Tech
Hi all, One of our systems is developed with 4D Server (Team Developer) with several coders connecting to make changes. If I move the Server from, say v17.0 to v17.0 HF1 or a nightly build, do all the other developers need to update their versions? 4D does not complain when you connect, as long

Re: New record numbering system and CALL WORKER

2018-08-28 Thread Dave Nasralla via 4D_Tech
Hi Bernd, I ran into a similar situation with Proposal and Project numbers. My decision was to not give the number out until they saved the record. This prevented people from using the number elsewhere (say for purchasing, etc) without a saved record in the system. dave On Tue, Aug 28, 2018 at

Re: Help please - Compiling

2018-08-17 Thread Dave Nasralla via 4D_Tech
Hi Chip, I"m using v17HF1 and it does not compile on the last sort. This does: C_POINTER($1;$Handle) C_TEXT($formula) C_LONGINT($i;$2;$Sort_Column;$3;$Direction;$Sze) $Handle:=$1 $Direction:=$2 $Sort_Column:=$3 `errutl_Start $Sze:=Size of array($Handle->) C_Pointer($a;$b;$c) If

Re: First day experience using 4D v17.0 HF1

2018-08-16 Thread Dave Nasralla via 4D_Tech
I'm on the slower end of things with a DSL line that does 25down/2up. Latency seems to be more critical for me. If it stays under, say, 70ms, everything seems to work remarkably well, even searches. dave On Thu, Aug 16, 2018 at 8:58 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> wrote: >

Re: E-Mail in 4D

2018-08-16 Thread Dave Nasralla via 4D_Tech
Hi Jody, I think the new Gmail interface is technically following the RFCs for rendering emails. If you are sending plain text emails, right before the send command, I do a simple replace like: $MessageBody_vt:=replace string(MessageBody_vt;<>CR;<>CRLF) Where: <>CR:=Char(13)

Re: V17 and Edit menu (Copy)

2018-08-14 Thread Dave Nasralla via 4D_Tech
On Tue, Aug 14, 2018 at 11:12 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> wrote: > Thanks for the tip - I ran across this too and had already changed all of > those. I'm going to double-check though. > >> On Aug 14, 2018, at 11:53 AM, Dave Nasralla via 4D_Tech >

Some Older PCs Unable to run 4D Client in 64 bit

2018-08-14 Thread Dave Nasralla via 4D_Tech
Hi All, Just wondering if anyone else has run into this. We have a older Dell PC - Optiplex 745 - purchased in 2008. It is currently running Windows 10 64bit. We were experiencing crashes (very predictable) with certain button clicks which ran fairly benign code when I moved to a 64bit Windows

Re: V17 and Edit menu (Copy)

2018-08-14 Thread Dave Nasralla via 4D_Tech
Yes I have seen this. The first thing I would look at is the command: SET MENU ITEM PROPERTY(<>Fnd_Menu_FileMenu_t;-1;Associated standard action;ak quit) The old constants need to be updated to the new ones (eg. ak quit) . I found if I "touched" a method with the old constants, they no longer

Re: OFF - Reconditioning SSD Drives

2018-08-09 Thread Dave Nasralla via 4D_Tech
Thanks Tim, On the next system maintenance I'll look into the Samsung software. I'm seeing mixed reports about TRIM on the Mac - everything from: "it does not work on external SSDs" to a command line 'trimforce' which has a disclaimer to not use it on production machines as it may cause data

OFF - Reconditioning SSD Drives

2018-08-08 Thread Dave Nasralla via 4D_Tech
Hey All, This isn't related to 4D per se, but our 4D server is running a mirrored RAID with two Samsung 850 Pro drives on Mac OS 10.13.x. Recently I wiped the RAID and upgraded to the current OS from scratch doing a clean install of everything. Now I am seeing a fairly noticeable performance hit

Re: Scheduled ISP Maintenance @ 4D Office (France)

2018-08-07 Thread Dave Nasralla via 4D_Tech
The 4D store is up and running again. Just got my licenses. dave On Tue, Aug 7, 2018 at 8:27 AM, Alan Chan via 4D_Tech <4d_tech@lists.4d.com> wrote: > I guess most engineers of its ISP were on vacation (the famous French summer > vacation). > > Alan Chan > > 4D iNug Technical

Re: Frequent and Random Crashes - since 16 conversion

2018-08-07 Thread Dave Nasralla via 4D_Tech
Hey Bob, Just read your post. FYI - There is no 4D Pack for v16R6. In general there are equivalent commands you can use that are native, but it must be removed. dave On Fri, Aug 3, 2018 at 2:02 PM, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi Everyone, > > I've recently completed a

Re: Scheduled ISP Maintenance @ 4D Office (France)

2018-08-07 Thread Dave Nasralla via 4D_Tech
I have been trying to get licensing since Friday Still no luck. dave On Tue, Aug 7, 2018 at 4:26 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > I'm still unable to register a licence as of Tuesday 11 AM UK time ... > > On Mon, 6 Aug 2018 at 15:24, Tai Bui via 4D_Tech

New Gmail interface does not render carriage returns as Line breaks in 4D plain text Emails

2018-08-02 Thread Dave Nasralla via 4D_Tech
Hey all, This may be a bit obscure for most. Our system (for decades) has sent plain text emails (mostly alerts and short notices). It's never been an issue until the new Gmail interface. The new interface does not render line breaks sent as a carriage return. Everything just runs together. Line

Re: Trouble Decoding Base64 Text

2018-06-29 Thread Dave Nasralla via 4D_Tech
Nevermind, though I'm not entirely sure this isn't a kind of bug. If you change the Encoding by adding two equal signs to the end "eyJ1c2VySWQiOiJiMDhmODZhZi0zNWRhLTQ4ZjItOGZhYi1jZWYzOTA0NjYwYmQifQ==" It properly decodes to: {"userId":"b08f86af-35da-48f2-8fab-cef3904660bd"} Some online decoding

Trouble Decoding Base64 Text

2018-06-29 Thread Dave Nasralla via 4D_Tech
Can anyone tell me what I am doing wrong here. In the code below I am getting back the same text I and trying to decode. C_BLOB($Blob_vx) C_TEXT($EncodedText_vt) $EncodedText_vt:="eyJ1c2VySWQiOiJiMDhmODZhZi0zNWRhLTQ4ZjItOGZhYi1jZWYzOTA0NjYwYmQifQ" TEXT TO BLOB($EncodedText_vt;$Blob_vx;UTF8 text

Re: Printer Issues

2018-06-28 Thread Dave Nasralla via 4D_Tech
Hi Kirk, Here is a method that isn't always pretty... If it's a limited number of forms (like a standard Invoice or Quote) you can have the 4D Server generate uniform PDF file that the client can print. This is what we do where we have a mixed Mac/Windows environment and we want all the

Has Anyone Used the Google Admin SDK to Update Google Users?

2018-06-28 Thread Dave Nasralla via 4D_Tech
Hey All, I'm hoping I'm not the first to try this :-). When a user changes their password in my 4D Server app, I want the 4D Server to update their google password to reflect the change. (Note: This is for our domain in G Suites and I have admin access.) There appear to be several routes you

Re: Is there any reason to not use Windows 64bit for v16R6 clients (Mac 64bit Server)?

2018-06-14 Thread Dave Nasralla via 4D_Tech
to do things dave On Thu, Jun 14, 2018 at 10:28 AM, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> wrote: > I’d run 64 bit if I could (plugins permitting etc). > > On Fri, 15 Jun 2018 at 00:54, Dave Nasralla via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >>

Is there any reason to not use Windows 64bit for v16R6 clients (Mac 64bit Server)?

2018-06-14 Thread Dave Nasralla via 4D_Tech
Hey All, We recently moved all our 4D apps to v16R6, partly to get ready for the Macs going 64bit only. (I thought High Sierra was the last OS to support 32bit, but Apple announced that the next OS, Mojave will still support it - and be the last). Our 4D server is Mac as well, and now everything

Re: Anyone using Thomas Maul's Email Component in v16.x?

2018-04-23 Thread Dave Nasralla via 4D_Tech
ithub.com/miyako/4d-tips-send-mail > https://github.com/miyako/4d-plugin-gmime > > > 4d-plugin-gmime was particularly helpful for me to work out my own set of > methods for sending HTML emails. > > > On Wed, Apr 18, 2018 at 9:12 AM, Dave Nasralla via 4D_Tech < > 4d_tech

Re: Anyone using Thomas Maul's Email Component in v16.x?

2018-04-20 Thread Dave Nasralla via 4D_Tech
Hi Magnus. Wow. The original Tech Note was published over 9 years ago! http://kb.4d.com/assetid=75229 I've asked Thomas to republish it again somewhere. It's a testimony that it's been used for so long. dave On Fri, Apr 20, 2018 at 12:50 PM, Magnus Torell via 4D_Tech <4d_tech@lists.4d.com>

Re: Legacy network layer or not: 4D v15 on Mac OS server and v15.5

2018-04-20 Thread Dave Nasralla via 4D_Tech
Dougie, Yes. We started using it when we moved to v15.x. (We had some issues in v14 and I think I had an engineer tell me something to the effect of "Right. Use v15." We do get the concessional ghost session which is mostly a licensing annoyance. We starting the move to v16R6 and doing a lot of

Re: Legacy network layer or not: 4D v15 on Mac OS server and v15.5

2018-04-20 Thread Dave Nasralla via 4D_Tech
FWIW, I don't think the 64Bit Mac Servers support the old network layer dave On Fri, Apr 20, 2018 at 3:46 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> wrote: > Paul - All versions continue to support the legacy network layer for 32 bit > applications and Windows 64 bit server.

Re: Downloading files via FTP

2018-04-20 Thread Dave Nasralla via 4D_Tech
Hi Pat, I would try a regular ftp client and see what paths work for it (and that it does work), and then compare (I like Fetch). dave On Fri, Apr 20, 2018 at 6:39 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > Using v16.3 32-bit and 64-bit > > I'm trying to download some files via

Re: Anyone using Thomas Maul's Email Component in v16.x?

2018-04-20 Thread Dave Nasralla via 4D_Tech
Hi Tim, Thanks for your post. I did look at your forum link, and yes, I was seeing the exact same thing. Unfortunately, none of their work-arounds worked for me. I still would end up with a Base64 encoded email being presented to the user. This morning, Thomas Maul emailed me with a link to his

Re: Anyone using Thomas Maul's Email Component in v16.x?

2018-04-18 Thread Dave Nasralla via 4D_Tech
haviour is that no more CRLF is inserted by the >> command. If CRLF is needed, it's up to the develop to insert it. > > https://bugs.4d.fr/fixedbugslist?Version=16.3_HF2 > > > John DeSoi, Ph.D. > > >> On Apr 18, 2018, at 11:12 AM, Dave Nasralla via 4D_Tech >> <4d_t

Re: What's the easiest way to edit an existing constants file?

2018-03-12 Thread Dave Nasralla via 4D_Tech
Is there a reason why you cannot edit your existing constants file using the > same 4D Pop component? > > Kind regards, > Koen > >> Op 8 mrt. 2018, om 00:31 heeft Dave Nasralla via 4D_Tech >> <4d_tech@lists.4d.com> het volgende geschreven: >> >> I fou

What's the easiest way to edit an existing constants file?

2018-03-07 Thread Dave Nasralla via 4D_Tech
Hi All, I found the 4DPop_Constant_Editor for creating a new constants file. How do I edit one that already exists? I'd rather not use a text editor. (I looked at a custom constants .xlf file and the syntax did not seem overly obvious to me.) dave -- David Nasralla Clean Air Engineering

Are All Your Tables Getting Logged?

2017-12-27 Thread Dave Nasralla via 4D_Tech
Hey All, I ran into an issue today where I was surprised (understatement) to see some tables did not show up in my log file. It turns out the little check box "Include in Log File" on the table definitions was unchecked. (24 tables out of 229) For those of you who use custom primary keys, it's

Re: What Texting Services Are People Using?

2017-12-06 Thread Dave Nasralla via 4D_Tech
/www.twilio.com/>. > > -- > Jeff Grann > SuccessWare, Inc. > >> On Dec 6, 2017, at 2:22 PM, Dave Nasralla via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Hey All, >> >> I'm looking at the option of adding texting to mobile phones to one

What Texting Services Are People Using?

2017-12-06 Thread Dave Nasralla via 4D_Tech
Hey All, I'm looking at the option of adding texting to mobile phones to one of our systems. Anyone using a system/API they like? I've briefly looked at https://www.eztexting.com. dave -- David Nasralla Clean Air Engineering

Re: What's the Longest you can DELAY PROCESS?

2017-10-16 Thread Dave Nasralla via 4D_Tech
cks. (We have an old //comment > from 2006 that thinks so anyway) > > On Mon, Oct 16, 2017 at 12:20 PM, Dave Nasralla via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hey All, >> >> Ran into an odd issue. Like many of you have have a Cron Daemon to run >>

What's the Longest you can DELAY PROCESS?

2017-10-16 Thread Dave Nasralla via 4D_Tech
Hey All, Ran into an odd issue. Like many of you have have a Cron Daemon to run daily tasks. Usually I have it wake up at least once a day. In one newer system, there was a job that only had to run once a month. I tried to delay the process for 30 days it is fails - like does not delay AT ALL.