4D Server - "unregister task" in system.log - v17 macOS

2018-09-02 Thread James Brown via 4D_Tech
The system.log on our 4D Server v17.0 is getting heaps of lines like this: Sep 3 11:11:42 Sapphire-Server-2 SapphireOne17.0[720]: [SapphireOne17.0.APPL] 4D server user (0x7fe235ddd450), unregister task, 4d task (0x7fe23d6c5a10), db4d task (0x0), 2 task(s) left, task #147719 Sep 3 11:11:57

Re: Sending multipart emails to Yahoo

2018-09-02 Thread Keisuke Miyako via 4D_Tech
what you could do is compose an email with a similar structure manually, send to self and compare the headers with the one created by code. the gobbledygook headers are probably not involved, focus on the boundary and the content-type that defines each part. > 2018/09/03 8:14、Pat Bensky via

Re: Sending multipart emails to Yahoo

2018-09-02 Thread Pat Bensky via 4D_Tech
Hi Miyako, To be honest, that stuff is all gobbledygook to me :) I have no idea what to look out for, that would indicate a problem. Can you see anything obvious in this header info: Mime-Version: ⁨1.0⁩ X-Spam-Cmauthority: ⁨v=2.2 cv=bZkbaKHB c=1 sm=1 tr=0 a=dalC6LMGHhPl1sqVw4/W9Q==:17

Re: UUID query ignores characters 33 to n.... didn't know that!

2018-09-02 Thread Keisuke Miyako via 4D_Tech
it's not that "query ignores characters", it has more to do with how string-to-uuid conversion works. to understand how it works, create a UUID field, create a record, assign a value. e.g. CREATE RECORD([Table_1]) [Table_1]Field_2:="www" you will notice that Field_2 which is a UUID, evaluates

UUID query ignores characters 33 to n.... didn't know that!

2018-09-02 Thread Jim Labos - infobase via 4D_Tech
Mac OS Yosemite, 4D v15.6 If I am querying a UUID field, I use a UUID var of course. However there is no UUID variable type so like everyone I use a text var. What I never noticed before as I didn't need to check, is that *if* the var itself contains the UUID in the first 32 characters but has

Re: Connection to 4D via ODBC makes connection but cannot see tables

2018-09-02 Thread Keisuke Miyako via 4D_Tech
to narrow down the possible cause, why not try with a 4D to 4D direct connection ("pass thru", no ODBC), then a 4D to 4D ODBC connection? 2018/09/03 1:50、mferguson--- via 4D_Tech <4d_tech@lists.4d.com>のメール: tried to do an ODBC query to list tables but it said there

Re: Sending multipart emails to Yahoo

2018-09-02 Thread Keisuke Miyako via 4D_Tech
I agree in that of all the possible violations, bad header information seems most likely. you might want to send the same message to a non-yahoo account, receive with an email client (not web) and examine the raw SMTP source.

Re: Storage + New shared object

2018-09-02 Thread Keisuke Miyako via 4D_Tech
typo: $a.prop:="whatever" you can simply $a:="whatever" ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Re: Storage + New shared object

2018-09-02 Thread Keisuke Miyako via 4D_Tech
as others have correctly pointed out, each sub-object or sub-collection you add to a shared object must themselves be shared objects or shared collection. regarding object notation: if you do something like $a:=New shared object $b:=New shared object("a";$a) then there is no need to

Re: Storage + New shared object

2018-09-02 Thread Kirk Brooks via 4D_Tech
David, You need to define the objects as shared objects. You will also want to use collections instead of arrays because I don't think you can have a shared array. This works without error : *C_COLLECTION*($DeleteRecord_ob) $DeleteRecord_ob:=*New shared collection*

Re: Storage + New shared object

2018-09-02 Thread Christian Sakowski via 4D_Tech
David, use the dot-Notation and use Collections as Arrays. -- Grüße/Regards, [heubach-media] | Christian Sakowski christian.sakow...@heubach-media.de iChat/AIM: SakowskiF Tel: +49/(0)40/52 10 59-23 > Am 02.09.2018 um 05:35 schrieb David Ringsmuth via 4D_Tech > <4d_tech@lists.4d.com>: > >

WS SEND BLOB encoding?

2018-09-02 Thread JOHN BAUGHMAN via 4D_Tech
I have a Web App running on the same machine as 4D Sever and all requests to 4D are done over localhost. I am currently displaying PDFs by having the Web App get the path to the pdf file from 4D then serve the file to it’s viewer in the browser. This all works fine, but after some testing have

Connection to 4D via ODBC makes connection but cannot see tables

2018-09-02 Thread mferguson--- via 4D_Tech
Hi, I am using LibraOffice, the open source equivalent Microsoft Office, to make an ODBC connection to a v16 database. LibraOffice sees the 4D ODBC 32 bit driver and verifies the connection on test, but says that there are no tables in the database. I have not set up the 4D password system so