RE: Miyako zip plugin

2018-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako,

Ok, thanks.
Then I will handle this another way

Gr,
Piotr


Hello,

the is no code in the plugin to handle wild card matching.

you must specify a folder or file.

that said, the ZIP_Without_enclosing_folder (4) option might work in your 
situation.

https://github.com/miyako/4d-plugin-zip

Van: Piotr Chabot Stadhouders
Verzonden: dinsdag 13 november 2018 17:24
Aan: 4D iNug Technical <4d_tech@lists.4d.com>
Onderwerp: Re: Miyako zip plugin

Hi Kirk,

Thanks for the tip. I have downloaded the latest version
Unfortunately, now I end up with a zip file with in it, instead of text files, 
empty folders named after the text files.

Gr,
Piotr


Piotr,
If you haven't already check github to see if you are using the most recent
version of this plugin. It's one that Miyako maintains and updates
regularly. This may be an issue he's fixed already.
https://github.com/miyako?page=3=repositories

On Tue, Nov 13, 2018 at 2:33 AM Piotr Chabot Stadhouders via 4D_Tech <
4d_t...@xxx.xxx> wrote:

> Hi Miyako, or others,
>
> We are using Miyako's zip plugin, thanks for that!
>
> But now we are having difficulties (on Windows) with zipping text files
> within a folder.
> Previously we used the 7zip plugin from Miyako, and used *.txt to define
> all text files within the folder
>
> But now, when I use [FOLDER]\*.txt as source path I end up with a zip file
> containing the text files, but the text files are all empty
>
> $success:=Zip
> ($source_path;$dest_path;$password;ZIP_Compression_level_1;ZIP_With_attributes)
>
> Am I doing something wrong? What is the way to compress all text files
> within a folder without the enclosing folder?
>
> Thanks in advance,
> Piotr
>
> **
> 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...@xxx.xxx
> **
**
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 is the "REST" process for?

2018-11-13 Thread Keisuke Miyako via 4D_Tech
search for ACI0098723 on

https://bugs.4d.fr/fixedbugslist?branch=17_R3

I think it is the same issue.


**
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
**

What is the "REST" process for?

2018-11-13 Thread John DeSoi via 4D_Tech
4D 17.0 HF3 Mac 64bit. I'm experimenting with creating a lot of records 
concurrently (different tables) in 5 preemptive processes. As soon as each 
process launches, 4D launches a second process named "REST". It has origin -3 = 
Web process with no context. The web server is not on and I can't see anything 
in my code that would cause this. The processes are only there in 
compiled/preemptive mode. On the server the REST processes go away after each 
process completes. But in 4D Mono, they all stay alive in idle mode. 

Did I miss the details about this in the documentation?

John DeSoi, Ph.D.



"11": {
  "process": 11,
  "name": "Label",
  "state": 0,
  "time": 36,
  "visible": true,
  "preemptive": true,
  "processId": 18,
  "origin": 4
},
"12": {
  "process": 12,
  "name": "REST",
  "state": 2,
  "time": 136,
  "visible": true,
  "preemptive": false,
  "processId": 19,
  "origin": -3
},
**
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: Mojave, dark mode and v17

2018-11-13 Thread Jim Medlen via 4D_Tech


From: 4D_Tech 
<4d_tech-boun...@lists.4d.com> on behalf 
of "4d_tech-requ...@lists.4d.com" 
<4d_tech-requ...@lists.4d.com>
Reply-To: <4d_tech@lists.4d.com>
Date: Tuesday, November 13, 2018 at 3:00 PM
To: <4d_tech@lists.4d.com>
Subject: 4D_Tech Digest, Vol 138, Issue 25

I went through the 4D preferences for Methods Styles and colors and set up a 
Dark Theme set of colors.

The only thing is that 4D does not allow me to change the Highlight color, so 
the system applies a light colored highlight to light text on a black 
background unless I go to System preferences and change the highlight color.

I’m slightly surprised there’s been no response to this from anyone at 4D. Dark 
mode is a pleasant environment in which to write code and it’s curious that 4D 
seems not to support it.

Jeremy


On 6 Nov 2018, at 08:31, Jeremy Roussak via 4D_Tech 
<4d_tech@lists.4d.com> wrote:
Is there a way of getting applications built in v17 - and indeed v17 itself - 
to honour dark mode?
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
**

SSL Internal error

2018-11-13 Thread David Ringsmuth via 4D_Tech
It was the public.pem.

It should not be named .pem in the structure folder.



David Ringsmuth

**
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 Server Web Start Server SSL Error 49: srvr: SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

2018-11-13 Thread David Ringsmuth via 4D_Tech
OSX 10.13.6, 16GB RAM
4D Server 15.6.222813

On launch gives this error:
Undefined Database Event.  [-1] in the method 'A4D_Init', on line 77, Err 
Stack: [49] Method: A4D_Init
Line: 77
49: srvr: SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no 
start line
49: srvr: SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no 
start line
46: srvr: Failed to set SSL certificate

But the SSL Server works, so the certs are valid and working, the line endings 
are all char(10), the begin/end certificate lines all appear correct. I did not 
verify the chained cert sequence (user/intermediate/ca root).

Same cert/key documents work on Windows 10, 4D v15.6 without any error.

Please help!

David Ringsmuth

**
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
**

temporary folder command returning empty

2018-11-13 Thread Randy Jaynes via 4D_Tech
A customer just turned up a case running 4D Server v17HF2 on a Windows Server 
2012 box where the 4D command ’Temporary folder’ is returning an empty string.

Has anyone ever seen this before??

The command is being executed in a method with the ‘Execute on Server’ checkbox 
selected in the method’s properties.

Thanks,
Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com  • 845.687.3741 • PrintPoint, Inc 
• 57 Ludlow Lane • Palisades, NY 10964 
Please send all email contacts to supp...@printpoint.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: Bug with V17?

2018-11-13 Thread Uist Macdonald via 4D_Tech


That was it.

I pulled in object code from V16 and forgot about this.

Many thanks

Uist

On 13/11/2018 17:01, Dennis, Neil via 4D_Tech wrote:

c.push(obj)
On V17 it gives an error ":=" expected.
The 'push' is not syntactically highlighted like V16R6.



Did you turn on dot notation in the compatibility preference?

Neil






Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**
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: Bug with V17?

2018-11-13 Thread Dennis, Neil via 4D_Tech
>c.push(obj)
>On V17 it gives an error ":=" expected.
>The 'push' is not syntactically highlighted like V16R6.


Did you turn on dot notation in the compatibility preference?

Neil






Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**
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
**

Bug with V17?

2018-11-13 Thread Uist Macdonald via 4D_Tech

I have this code which works on V16R6 but not on V17.

C_COLLECTION(c)

c:=New collection

C_OBJECT(obj)

obj:=New object("name";"jim")

c.push(obj)

On V17 it gives an error ":=" expected.
The 'push' is not syntactically highlighted like V16R6.

Any thoughts?

Uist

--
**
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: Miyako zip plugin

2018-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Kirk,

Thanks for the tip. I have downloaded the latest version
Unfortunately, now I end up with a zip file with in it, instead of text files, 
empty folders named after the text files.

Gr,
Piotr


Piotr,
If you haven't already check github to see if you are using the most recent
version of this plugin. It's one that Miyako maintains and updates
regularly. This may be an issue he's fixed already.
https://github.com/miyako?page=3=repositories

On Tue, Nov 13, 2018 at 2:33 AM Piotr Chabot Stadhouders via 4D_Tech <
4d_t...@xxx.xxx> wrote:

> Hi Miyako, or others,
>
> We are using Miyako's zip plugin, thanks for that!
>
> But now we are having difficulties (on Windows) with zipping text files
> within a folder.
> Previously we used the 7zip plugin from Miyako, and used *.txt to define
> all text files within the folder
>
> But now, when I use [FOLDER]\*.txt as source path I end up with a zip file
> containing the text files, but the text files are all empty
>
> $success:=Zip
> ($source_path;$dest_path;$password;ZIP_Compression_level_1;ZIP_With_attributes)
>
> Am I doing something wrong? What is the way to compress all text files
> within a folder without the enclosing folder?
>
> Thanks in advance,
> Piotr
>
> **
> 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...@xxx.xxx
> **
**
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: Miyako zip plugin

2018-11-13 Thread Kirk Brooks via 4D_Tech
Piotr,
If you haven't already check github to see if you are using the most recent
version of this plugin. It's one that Miyako maintains and updates
regularly. This may be an issue he's fixed already.
https://github.com/miyako?page=3=repositories

On Tue, Nov 13, 2018 at 2:33 AM Piotr Chabot Stadhouders via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Miyako, or others,
>
> We are using Miyako's zip plugin, thanks for that!
>
> But now we are having difficulties (on Windows) with zipping text files
> within a folder.
> Previously we used the 7zip plugin from Miyako, and used *.txt to define
> all text files within the folder
>
> But now, when I use [FOLDER]\*.txt as source path I end up with a zip file
> containing the text files, but the text files are all empty
>
> $success:=Zip
> ($source_path;$dest_path;$password;ZIP_Compression_level_1;ZIP_With_attributes)
>
> Am I doing something wrong? What is the way to compress all text files
> within a folder without the enclosing folder?
>
> Thanks in advance,
> Piotr
>
> **
> 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
> **



-- 
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: Mojave, dark mode and v17

2018-11-13 Thread Jeffrey Kain via 4D_Tech
You can set up your own dark mode to write code. 

> On Nov 13, 2018, at 6:37 AM, Jeremy Roussak via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I’m slightly surprised there’s been no response to this from anyone at 4D. 
> Dark mode is a pleasant environment in which to write code and it’s curious 
> that 4D seems not to support it.
**
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: Mojave, dark mode and v17

2018-11-13 Thread Jeremy Roussak via 4D_Tech
I’m slightly surprised there’s been no response to this from anyone at 4D. Dark 
mode is a pleasant environment in which to write code and it’s curious that 4D 
seems not to support it.

Jeremy


> On 6 Nov 2018, at 08:31, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Is there a way of getting applications built in v17 - and indeed v17 itself - 
> to honour dark mode?
> 
> 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: Controlling Laptop Camera from 4D

2018-11-13 Thread David Samson via 4D_Tech
Hello Randy,

There is an old tech note about this:
http://kb.4d.com/assetid=77204

It was also demonstrated at the 4D roadshow a few years ago - so it is not
just theory, we saw it working.

HTH
David Samson
Manchester
UK


>
> I'm trying to run the camera on my laptop (Dell 7720) - yes - it's Windows
>
> I thought that Win32API might be able to do this, but all I can see using
> TWAIN_GetSources are some scanners on my network.
> So, apparently, my laptop camera is not a Twain or Wia device.
>
> Thought Qpix might do this, but same, all I see are the scanners.
>
> Camera on laptop is running, operatational, etc.
>
> Anyone know if it is possible to control the on-board camera from within
> 4D using anything?
>
> Thanks
>
> Randy Engle
>
>
>
**
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
**

Miyako zip plugin

2018-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, or others,

We are using Miyako's zip plugin, thanks for that!

But now we are having difficulties (on Windows) with zipping text files within 
a folder.
Previously we used the 7zip plugin from Miyako, and used *.txt to define all 
text files within the folder

But now, when I use [FOLDER]\*.txt as source path I end up with a zip file 
containing the text files, but the text files are all empty

$success:=Zip 
($source_path;$dest_path;$password;ZIP_Compression_level_1;ZIP_With_attributes)

Am I doing something wrong? What is the way to compress all text files within a 
folder without the enclosing folder?

Thanks in advance,
Piotr

**
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
**