Re: Problem with PDF Creation into Temporary Folder

2018-02-04 Thread Stephen Shaw via 4D_Tech
Also - you can successfully save the temporary file to a USB stick (Again Mac OS Extended on the affected computer, but path length is important or the number of nested folders as it fails after a while. Steve > On 4 Feb 2018, at 18:34, Stephen Shaw wrote: > > Further testing

Re: Problem with PDF Creation into Temporary Folder

2018-02-04 Thread Stephen Shaw via 4D_Tech
Further testing today - cloning the entire system onto a Mac OS Extended (Journalled) drive and everything works perfectly I believe this to be a bug with APFS Steve > On 4 Feb 2018, at 16:19, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > It also depends upon when doc was

Re: Problem with PDF Creation into Temporary Folder

2018-02-04 Thread Chuck Miller via 4D_Tech
It also depends upon when doc was created. Sometimes the O/S needs time to update itself. I have found that occasionally I have created a document and I have to wait via a repeat loop that looks like this Create document DocFound_B:=false repeat delay process(current process;60) test to see of

Re: Problem with PDF Creation into Temporary Folder (Follow-up)

2018-02-03 Thread Arnaud de Montard via 4D_Tech
> Le 3 févr. 2018 à 16:28, Stephen Shaw via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I have now spent some time on this: > > 3. Error -43 is returned on the following line >$error:=SMTP_Attachment ($smtp_id; $document; 2; 0; ””; ”application/PDF”) Sounds linked to SMTP_Attachment…

Re: Problem with PDF Creation into Temporary Folder (Follow-up)

2018-02-03 Thread Jeffrey Kain via 4D_Tech
This is where our application creates them. -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 3, 2018, at 11:05 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > It may be worth trying to use something other than Temporary folder. That is > a long and strange path. I have had

Re: Problem with PDF Creation into Temporary Folder (Follow-up)

2018-02-03 Thread John DeSoi via 4D_Tech
It may be worth trying to use something other than Temporary folder. That is a long and strange path. I have had problems using it with AppleScript as well as displaying PDFs in web areas. One alternative is to create something in ~/Library/Caches. For example, Get 4D folder(Current resources

Re: Problem with PDF Creation into Temporary Folder

2018-02-03 Thread Bernd Fröhlich via 4D_Tech
Stephen Shaw: > Error -43 is returned on the following line > $error:=SMTP_Attachment ($smtp_id; $document; 2; 0; ””; ”application/PDF”) Error -43 is the OS error "file not found". Maybe try a shorter path to a known good location for a test. Greetings from Germany, Bernd Fröhlich

Re: Problem with PDF Creation into Temporary Folder (Follow-up)

2018-02-03 Thread Jeffrey Kain via 4D_Tech
Are you able to try on 16.3? Our application mails a LOT of PDFs every day without problems, and a few of the computers are using High Sierra and APFS. -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 3, 2018, at 10:28 AM, Stephen Shaw via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > My gut

Problem with PDF Creation into Temporary Folder

2018-02-02 Thread Stephen Shaw via 4D_Tech
HI In emailing out 4DWrite documents we create a PDF in the temporary folder defined by the ‘temporary folder’command. This has stopped working in Mac OS X 10.13.x. Has anyone else come across this and offer any explanation / solution for this. Many thanks Steve Shaw UK