Re: Overlapping Objects in Data Segment #65

2019-08-08 Thread Jeffrey Kain via 4D_Tech
It seemed to be a problem with the address table. I had to end task while 
indexing during an R5 upgrade of one of our mirrors due to the cache memory 
release issue in current versions, and address table errors during journal file 
integrations appeared shortly after bringing the mirror back online in R5.

I restored that data file back to the 17.1 version and verified it and it came 
back with a completely clean bill of health.  I'll try the R5 reindex once 
again after I figure out how to get it to complete without locking up when the 
cache memory (~ 400GB) is full.  

I'm thinking I'll set the cache very high (higher than physical memory) and let 
Windows handle the memory overflow, so 4D never has to release cache memory. Or 
buy more RAM.

Jeff

P.S. - I think issues in the .4DIndy are always indicated by a reference to the 
table "Resources".

> On Aug 8, 2019, at 8:19 PM, Spencer Hinsdale  wrote:
> 
> no but i feel like _you_ posted a while back that is the indy index of 
> structure ;)
> 
> https://kb.4d.com/assetid=76692
> 
> Spencer
> 
> 
> On Aug 8, 2019, at 4:58 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
>> I ran a verify of our data file, and records were fine, indexes were fine, 
>> but at the end of the log was an error:
>> 
>> Error: Overlapping Objects in data segment # 65 : Address overlaps(31;140)
>> 
>> 
>> Does anyone know what this means?

**
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: Windows shutdown with 4D Server running as a service

2019-08-08 Thread Tarawerkz via 4D_Tech
Hi,

Even when initiated from the 4D-end, it might not always be a graceful exit 
because the service times out when trying to stop.
Had encountered this on more than a few occasions with a client, end up we had 
to rebuild the “damaged” data file and indices.
The error message at end of repair is something to the effect that data 
flushing did not complete (the database application has a 24/7 listener that 
receives incoming messages from other systems).



Sent: Thursday, August 8, 2019 1:20 PM
To: s.o...@the-aquila-group.com ; 4D iNug 
Technical <4d_tech@lists.4d.com >
Subject: Re: Windows shutdown with 4D Server running as a service

I am assuming that your Administrative function runs on a client? Sounds like a 
good idea, but wondering if it might be a bit over kill for me. 

Bottom line is that at some point the server is quit without regard to who is 
logged in at the time whether done with a quit command or issued by the Windows 
service. The admin can see who is logged by firing up a client on the server 
and opening the Administration window before shutting down the computer or 
shutting down the service. If after hours the admin may have no choice but to 
let 4D server boot the clients off.

> From what I gather from the responses, it really does not matter as for as 4D 
> is concerned, it will “gracefully" quit any 4D client hanger ons before 
> quitting no matter how it is told to quit. There should never be any damage 
> to the data. 

Thanks to those who responded.

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: Overlapping Objects in Data Segment #65

2019-08-08 Thread Spencer Hinsdale via 4D_Tech
no but i feel like _you_ posted a while back that is the indy index of 
structure ;)

https://kb.4d.com/assetid=76692

Spencer


> On Aug 8, 2019, at 4:58 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I ran a verify of our data file, and records were fine, indexes were fine, 
> but at the end of the log was an error:
> 
> Error: Overlapping Objects in data segment # 65 : Address overlaps(31;140)
> 
> 
> Does anyone know what this means?
> 
> 
> --
> Jeffrey Kain
> jeffrey.k...@gmail.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
**

Overlapping Objects in Data Segment #65

2019-08-08 Thread Jeffrey Kain via 4D_Tech
I ran a verify of our data file, and records were fine, indexes were fine, but 
at the end of the log was an error:

Error: Overlapping Objects in data segment # 65 : Address overlaps(31;140)


Does anyone know what this means?


--
Jeffrey Kain
jeffrey.k...@gmail.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
**

v13 - array listbox column Compiler definition

2019-08-08 Thread Chip Scheide via 4D_Tech
I have a component.
In the component, I have a published (shared) method which opens an 
array listbox in its own window.

The data to be shown is passed from the host.
I place the data from the host into the listbox using the following 
commands
LISTBOX INSERT 
COLUMN(lb_Listbox;1;"obj_Listbox_Column1";Listbox_Column1;"obj_Col_Header";Col_Header)
copy array($Host_Data->;listbox_Column1)

How do I declare the array listbox_column1 so that:
- the component will compile
- the component will not complain once built and used with a host

Thanks for any insight
Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: Windows shutdown with 4D Server running as a service

2019-08-08 Thread Stephen J. Orth via 4D_Tech
John,

You need to be very careful on a service shutdown that you did not initiate, 
meaning the OS initiated it, or someone went to the "Services" control panel 
and told it to shut down.

As was mentioned earlier, it will shut down in 60 seconds no matter what, even 
if your clients are not ready to be shut down.  We have this issue with every 
client because we simply cannot get certain clients to gracefully shutdown in 
60 seconds or less...just not possible.

As a result, we want things controlled via an interface on our side, and we 
also educate the IT organization on how they have to shut down our system.

Best,

Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: JOHN BAUGHMAN  
Sent: Thursday, August 8, 2019 1:20 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Windows shutdown with 4D Server running as a service

I am assuming that your Administrative function runs on a client? Sounds like a 
good idea, but wondering if it might be a bit over kill for me. 

Bottom line is that at some point the server is quit without regard to who is 
logged in at the time whether done with a quit command or issued by the Windows 
service. The admin can see who is logged by firing up a client on the server 
and opening the Administration window before shutting down the computer or 
shutting down the service. If after hours the admin may have no choice but to 
let 4D server boot the clients off.

From what I gather from the responses, it really does not matter as for as 4D 
is concerned, it will “gracefully" quit any 4D client hanger ons before 
quitting no matter how it is told to quit. There should never be any damage to 
the data. 

Thanks to those who responded.

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: Windows shutdown with 4D Server running as a service

2019-08-08 Thread JOHN BAUGHMAN via 4D_Tech
I am assuming that your Administrative function runs on a client? Sounds like a 
good idea, but wondering if it might be a bit over kill for me. 

Bottom line is that at some point the server is quit without regard to who is 
logged in at the time whether done with a quit command or issued by the Windows 
service. The admin can see who is logged by firing up a client on the server 
and opening the Administration window before shutting down the computer or 
shutting down the service. If after hours the admin may have no choice but to 
let 4D server boot the clients off.

From what I gather from the responses, it really does not matter as for as 4D 
is concerned, it will “gracefully" quit any 4D client hanger ons before 
quitting no matter how it is told to quit. There should never be any damage to 
the data. 

Thanks to those who responded.

John



> On Aug 8, 2019, at 3:36 AM, Stephen J. Orth via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> John,
> 
> In our OEM system, which always runs as a service on Windows, we created an 
> Administrative function specifically designed to shutdown the Server.  This 
> walks the Admin through a series of "checks" just to be sure they want to 
> shut down, and how long they want to provide users.  Once they accept this, 
> we log it into the database and then execute a method on the Server using the 
> QUIT 4D command.
> 
> Hope that helps...
> 
> Best,
> 
> 
> Steve
> 
> *
>  Stephen J. Orth
>  The Aquila Group, Inc.  Office:  (608) 834-9213
>  P.O. Box 690   Mobile:  (608) 347-6447
>  Sun Prairie, WI 53590
> 
>  E-Mail:  s.o...@the-aquila-group.com
> *
>>> On Aug 8, 2019, at 01:14, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> 
>>> wrote:
>>> 
>>> What is the best practice for shutting down a windows computer when 4D 
>>> Server is running as a service?
>>> 
>>> I have been opening the administration window too see if there are any 
>>> users connected. If so, I have been disconnecting them before shutting down 
>>> the computer.
>>> 
>>> Just shutting down the computer seems to work as well, but what does 4D 
>>> server do in this case?
>>> 
>>> Thanks,
>>> 
>>> John
>>> 
>>> 
>>> 
>>> John Baughman
>>> Kailua, Hawaii
>>> (808) 262-0328
>>> john...@hawaii.rr.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
**

Re: My 4D Experience Blog

2019-08-08 Thread Narinder Chandi via 4D_Tech
Gabriel,

Thanks for your blog - great effort, keep up the good work!

I really like the look of the Cobalt2 theme for 4D that you replicated from Wes 
Bos so I downloaded it and I'm going to give that a test drive in my local v17 
4D Dev this afternoon!

I think for most devs writing tips about the new features in v17 would be of 
great benefit. Of course 4D Blog is writing quite a lot about this already but 
having an independent developer's own tips can be of much use to the 4D 
community too.

Regards,
 
Narinder Chandi,
ToolBox Systems Ltd.
-- 

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List 
<4d_tech@lists.4d.com>
Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Date: Thursday, 8 August 2019 at 14:32
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: GI - AJAR 
Subject: My 4D Experience Blog

Hi Everyone,

I would like to share with you my blog about my experience with this great 
development tool (for those who didn’t see it yet).

I write my ideas, and experiences I can have within my company AJAR SA as a 
consultant, first level support and 4D developer.

I wish to write more posts but it can be time consuming and time is always 
missing. I have a growing list of stuff I would like to write on it, mainly 
based on trying to explain how 4D work in deep. Let me know if you have any 
ideas on how to improve my blog.

As a small gift for the readers, I have put a small spoil of what coming 
next in the AJ Suite components. I’m sure it will be well appreciated in the 4D 
community.

Here is the link : https://www.my4dexperience.com 


Thanks for your attention.

Best Regards,

Gabriel Inzirillo
— 
4D Developer
AJAR S.A.
—
https://ch-fr.4d.com/ 
https://www.my4dexperience.com
twitter: ajar_info
Tél : +41 (0)32 3422684

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

RE: Windows shutdown with 4D Server running as a service

2019-08-08 Thread Stephen J. Orth via 4D_Tech
John,

In our OEM system, which always runs as a service on Windows, we created an 
Administrative function specifically designed to shutdown the Server.  This 
walks the Admin through a series of "checks" just to be sure they want to shut 
down, and how long they want to provide users.  Once they accept this, we log 
it into the database and then execute a method on the Server using the QUIT 4D 
command.

Hope that helps...

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
>> On Aug 8, 2019, at 01:14, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> What is the best practice for shutting down a windows computer when 4D 
>> Server is running as a service?
>> 
>> I have been opening the administration window too see if there are any users 
>> connected. If so, I have been disconnecting them before shutting down the 
>> computer.
>> 
>> Just shutting down the computer seems to work as well, but what does 4D 
>> server do in this case?
>> 
>> Thanks,
>> 
>> John
>> 
>> 
>> 
>> John Baughman
>> Kailua, Hawaii
>> (808) 262-0328
>> john...@hawaii.rr.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
**

My 4D Experience Blog

2019-08-08 Thread GI - AJAR via 4D_Tech
Hi Everyone,

I would like to share with you my blog about my experience with this great 
development tool (for those who didn’t see it yet).

I write my ideas, and experiences I can have within my company AJAR SA as a 
consultant, first level support and 4D developer.

I wish to write more posts but it can be time consuming and time is always 
missing. I have a growing list of stuff I would like to write on it, mainly 
based on trying to explain how 4D work in deep. Let me know if you have any 
ideas on how to improve my blog.

As a small gift for the readers, I have put a small spoil of what coming next 
in the AJ Suite components. I’m sure it will be well appreciated in the 4D 
community.

Here is the link : https://www.my4dexperience.com 


Thanks for your attention.

Best Regards,

Gabriel Inzirillo
— 
4D Developer
AJAR S.A.
—
https://ch-fr.4d.com/ 
https://www.my4dexperience.com
twitter: ajar_info
Tél : +41 (0)32 3422684

**
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: Windows shutdown with 4D Server running as a service

2019-08-08 Thread Chuck Miller via 4D_Tech
Shouldn’t you first stop the service, which will quit 4D

Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Aug 8, 2019, at 8:03 AM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi John,
> 
> I believe that 4D Server does a 1 minute countdown when downing while running 
> as a service, so that should notify any connected users. At least that’s what 
> it did when I tested NET STOP and NET START some years ago. I don’t know 
> whether that also happens when downing Windows. I would hope so. Do you see 
> any evidence of that on the client?
> 
> Tom Benedict
> 
>> On Aug 8, 2019, at 01:14, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> What is the best practice for shutting down a windows computer when 4D 
>> Server is running as a service?
>> 
>> I have been opening the administration window too see if there are any users 
>> connected. If so, I have been disconnecting them before shutting down the 
>> computer.
>> 
>> Just shutting down the computer seems to work as well, but what does 4D 
>> server do in this case?
>> 
>> Thanks,
>> 
>> John
>> 
>> 
>> 
>> John Baughman
>> Kailua, Hawaii
>> (808) 262-0328
>> john...@hawaii.rr.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
**

Re: Windows shutdown with 4D Server running as a service

2019-08-08 Thread Tom Benedict via 4D_Tech
Hi John,

I believe that 4D Server does a 1 minute countdown when downing while running 
as a service, so that should notify any connected users. At least that’s what 
it did when I tested NET STOP and NET START some years ago. I don’t know 
whether that also happens when downing Windows. I would hope so. Do you see any 
evidence of that on the client?

Tom Benedict

> On Aug 8, 2019, at 01:14, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> What is the best practice for shutting down a windows computer when 4D Server 
> is running as a service?
> 
> I have been opening the administration window too see if there are any users 
> connected. If so, I have been disconnecting them before shutting down the 
> computer.
> 
> Just shutting down the computer seems to work as well, but what does 4D 
> server do in this case?
> 
> Thanks,
> 
> John
> 
> 
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.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
**

Re: v17 obsolete commands SET DOCUMENT CREATOR / SET DOCUMENT TYPE

2019-08-08 Thread Jörg Knebel via 4D_Tech


> On 8 Aug 2019, at 18:36 AEST, Peter Bozek via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I believe they are obsolete as they are no longer used and supported by
> macOS and document type is defined by extension.


Just as I suspected - building phones must be more important. :-(

When one changes the extension of any file to “.exe” on Windows the system 
tries to “run" it after a double click. :o)

Cheers
**
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: v17 obsolete commands SET DOCUMENT CREATOR / SET DOCUMENT TYPE

2019-08-08 Thread Peter Bozek via 4D_Tech
Dňa št, 8. aug 2019, 7:13 Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com>
napísal(a):

> G’day All,
>
> Does someone has already developed a replacement (LEP or other) for both
> platforms?
>

I believe they are obsolete as they are no longer used and supported by
macOS and document type is defined by extension.

--
Peter Bozek

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

Windows shutdown with 4D Server running as a service

2019-08-08 Thread JOHN BAUGHMAN via 4D_Tech
What is the best practice for shutting down a windows computer when 4D Server 
is running as a service?

I have been opening the administration window too see if there are any users 
connected. If so, I have been disconnecting them before shutting down the 
computer.

Just shutting down the computer seems to work as well, but what does 4D server 
do in this case?

Thanks,

John



John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.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
**