Name conflict with an existing file


John Burton
 

Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 


Derek Kain
 

Hello Blakey1954,
Have you tried Validate. (File - Validate).
Derek

On Mon, 13 Apr 2020 at 07:20, <blakey1954@...> wrote:
Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 


Mike Tate
 

Hi,

When you enter source documents two things happen:

  1. A Media record is created that links to a Media file
  2. A Media file is added into the Project folder structure in the Media folder

When you delete the Media record it does not delete the Media file.

 

So one solution, when recreating the Media record is to browse to the Media file that still exists in the Media folder.

That will be at …\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name.

Otherwise, when you ask FH to recreate the Media file, Windows finds the file already there so gives the new one the (2) suffix.

 

Another solution is to run the Check for Unlinked Media Plugin, but as a newcomer, you may not have discovered Plugins yet.

The best way to learn about them is in the FHUG Knowledge Base > Family Historian Plugins at:

https://www.fhug.org.uk/wiki/doku.php?id=plugins:about

 

Also from your description, it is not clear whether you have a clear understanding of the Individual, Source & Media records structure.

There is much free introductory tutorial material in the FHUG Knowledge Base at https://www.fhug.org.uk/

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of blakey1954@...
Sent: 13 April 2020 03:31
To: family-historian@groups.io
Subject: [family-historian] Name conflict with an existing file

 

Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 


Virus-free. www.avast.com


John Burton
 

Hello Mike,

 

Thank you for the information.

 

Yes, I have found the ‘duplicate’ files in the Project Media folder. Bit disappointing though that when you delete the media record in FH it doesn’t delete the Media file as well. Weakness of the Delete function?

 

I did look at the Query options to look for these duplicates, however, it looks like a Custom query would need creating.

 

I will also take you advice regarding the Knowledge base.

 

Thanks again.

 

Regards

John Burton

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Monday, 13 April 2020 6:57 PM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hi,

When you enter source documents two things happen:

  1. A Media record is created that links to a Media file
  2. A Media file is added into the Project folder structure in the Media folder

When you delete the Media record it does not delete the Media file.

 

So one solution, when recreating the Media record is to browse to the Media file that still exists in the Media folder.

That will be at …\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name.

Otherwise, when you ask FH to recreate the Media file, Windows finds the file already there so gives the new one the (2) suffix.

 

Another solution is to run the Check for Unlinked Media Plugin, but as a newcomer, you may not have discovered Plugins yet.

The best way to learn about them is in the FHUG Knowledge Base > Family Historian Plugins at:

https://www.fhug.org.uk/wiki/doku.php?id=plugins:about

 

Also from your description, it is not clear whether you have a clear understanding of the Individual, Source & Media records structure.

There is much free introductory tutorial material in the FHUG Knowledge Base at https://www.fhug.org.uk/

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of blakey1954@...
Sent: 13 April 2020 03:31
To: family-historian@groups.io
Subject: [family-historian] Name conflict with an existing file

 

Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 

 

Virus-free. www.avast.com


Adrian Bruce
 

On Mon, 13 Apr 2020 at 15:26, John Burton <blakey1954@...> wrote:
... Bit disappointing though that when you delete the media record in FH it doesn’t delete the Media file as well. Weakness of the Delete function? ...

 

Hardly! I'd get very annoyed if I'd used a family photo in FH, decided I didn't want it any more in FH, so deleted the media record to find that it deleted the original family photo as well!

It actually gets quite tricky trying to think how people want to use stuff - what makes perfectly logical sense in one scenario, could be disastrous in another. That's one example.

Adrian


Mike Tate
 

For others who may be following this thread, there is a more complete answer in the FHUG Forums.

 

The reason why FH does not delete the Media file linked to a deleted Media record is it may be a precious file needed for other purposes.

That file may actually be linked to another Media record and the one being deleted is a duplicate.

Also remember, that FH can link to Media files outside the Project folder and thus may be used by other applications.

So FH fails safe and does not delete external files. You would not want the only photo of some special event to be deleted.

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of John Burton
Sent: 13 April 2020 15:26
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hello Mike,

 

Thank you for the information.

 

Yes, I have found the ‘duplicate’ files in the Project Media folder. Bit disappointing though that when you delete the media record in FH it doesn’t delete the Media file as well. Weakness of the Delete function?

 

I did look at the Query options to look for these duplicates, however, it looks like a Custom query would need creating.

 

I will also take you advice regarding the Knowledge base.

 

Thanks again.

 

Regards

John Burton

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Monday, 13 April 2020 6:57 PM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hi,

When you enter source documents two things happen:

  1. A Media record is created that links to a Media file
  2. A Media file is added into the Project folder structure in the Media folder

When you delete the Media record it does not delete the Media file.

 

So one solution, when recreating the Media record is to browse to the Media file that still exists in the Media folder.

That will be at …\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name.

Otherwise, when you ask FH to recreate the Media file, Windows finds the file already there so gives the new one the (2) suffix.

 

Another solution is to run the Check for Unlinked Media Plugin, but as a newcomer, you may not have discovered Plugins yet.

The best way to learn about them is in the FHUG Knowledge Base > Family Historian Plugins at:

https://www.fhug.org.uk/wiki/doku.php?id=plugins:about

 

Also from your description, it is not clear whether you have a clear understanding of the Individual, Source & Media records structure.

There is much free introductory tutorial material in the FHUG Knowledge Base at https://www.fhug.org.uk/

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of blakey1954@...
Sent: 13 April 2020 03:31
To: family-historian@groups.io
Subject: [family-historian] Name conflict with an existing file

 

Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 

_._,_._,_


Virus-free. www.avast.com


John Burton
 

Mike and Adrian,

 

Correct me if my understanding is wrong but when creating the record in FH a copy of the original file, eg, Photo, Birth Certificate goes into the Project file, eg, ‘…\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name’.

 

In my situation I end up with two copies, the original source file (eg, Photo, Birth cert.) in a completely separate folder on my PC, the second within FH in the Media folder above … File Explorer shows two files of the same name, one in FH, the other in a separate folder outside of FH.

 

So when I delete the record in FH I would have expected it, or advised me exactly what I was going to delete and given options, eg, record only, record and file etc., to have deleted the record and the copy of the original document in the Project media folder while I still retain my original source file completely separate from FH.

 

I’m trying to keep the number of file duplicates not only in FH but other applications to a manageable, less confusing, minimum.

 

One thing I have learnt early on, stressed to me by others doing geneaology, is to have backups of all one’s precious files.

 

Regards

John Burton.

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Tuesday, 14 April 2020 1:04 AM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

For others who may be following this thread, there is a more complete answer in the FHUG Forums.

 

The reason why FH does not delete the Media file linked to a deleted Media record is it may be a precious file needed for other purposes.

That file may actually be linked to another Media record and the one being deleted is a duplicate.

Also remember, that FH can link to Media files outside the Project folder and thus may be used by other applications.

So FH fails safe and does not delete external files. You would not want the only photo of some special event to be deleted.

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of John Burton
Sent: 13 April 2020 15:26
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hello Mike,

 

Thank you for the information.

 

Yes, I have found the ‘duplicate’ files in the Project Media folder. Bit disappointing though that when you delete the media record in FH it doesn’t delete the Media file as well. Weakness of the Delete function?

 

I did look at the Query options to look for these duplicates, however, it looks like a Custom query would need creating.

 

I will also take you advice regarding the Knowledge base.

 

Thanks again.

 

Regards

John Burton

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Monday, 13 April 2020 6:57 PM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hi,

When you enter source documents two things happen:

  1. A Media record is created that links to a Media file
  2. A Media file is added into the Project folder structure in the Media folder

When you delete the Media record it does not delete the Media file.

 

So one solution, when recreating the Media record is to browse to the Media file that still exists in the Media folder.

That will be at …\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name.

Otherwise, when you ask FH to recreate the Media file, Windows finds the file already there so gives the new one the (2) suffix.

 

Another solution is to run the Check for Unlinked Media Plugin, but as a newcomer, you may not have discovered Plugins yet.

The best way to learn about them is in the FHUG Knowledge Base > Family Historian Plugins at:

https://www.fhug.org.uk/wiki/doku.php?id=plugins:about

 

Also from your description, it is not clear whether you have a clear understanding of the Individual, Source & Media records structure.

There is much free introductory tutorial material in the FHUG Knowledge Base at https://www.fhug.org.uk/

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of blakey1954@...
Sent: 13 April 2020 03:31
To: family-historian@groups.io
Subject: [family-historian] Name conflict with an existing file

 

Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 


Victor Markham
 

When I save a media file I save it in my document folder. I then copy it into FH. Should I change my mind and delete the FH copy it always remains in my document folder unless I choose to delete that as well. To that is how things should be. My document folder lists separate surname folders, certificates and census details

On 14 Apr 2020, at 05:47, John Burton <blakey1954@...> wrote:

Mike and Adrian,

 

Correct me if my understanding is wrong but when creating the record in FH a copy of the original file, eg, Photo, Birth Certificate goes into the Project file, eg, ‘…\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name’.

 

In my situation I end up with two copies, the original source file (eg, Photo, Birth cert.) in a completely separate folder on my PC, the second within FH in the Media folder above … File Explorer shows two files of the same name, one in FH, the other in a separate folder outside of FH.

 

So when I delete the record in FH I would have expected it, or advised me exactly what I was going to delete and given options, eg, record only, record and file etc., to have deleted the record and the copy of the original document in the Project media folder while I still retain my original source file completely separate from FH.

 

I’m trying to keep the number of file duplicates not only in FH but other applications to a manageable, less confusing, minimum.

 

One thing I have learnt early on, stressed to me by others doing geneaology, is to have backups of all one’s precious files.

 

Regards

John Burton.

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Tuesday, 14 April 2020 1:04 AM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

For others who may be following this thread, there is a more complete answer in the FHUG Forums.

 

The reason why FH does not delete the Media file linked to a deleted Media record is it may be a precious file needed for other purposes.

That file may actually be linked to another Media record and the one being deleted is a duplicate.

Also remember, that FH can link to Media files outside the Project folder and thus may be used by other applications.

So FH fails safe and does not delete external files. You would not want the only photo of some special event to be deleted.

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of John Burton
Sent: 13 April 2020 15:26
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hello Mike,

 

Thank you for the information.

 

Yes, I have found the ‘duplicate’ files in the Project Media folder. Bit disappointing though that when you delete the media record in FH it doesn’t delete the Media file as well. Weakness of the Delete function?

 

I did look at the Query options to look for these duplicates, however, it looks like a Custom query would need creating.

 

I will also take you advice regarding the Knowledge base.

 

Thanks again.

 

Regards

John Burton

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Monday, 13 April 2020 6:57 PM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Hi,

When you enter source documents two things happen:

  1. A Media record is created that links to a Media file

  2. A Media file is added into the Project folder structure in the Media folder

When you delete the Media record it does not delete the Media file.

 

So one solution, when recreating the Media record is to browse to the Media file that still exists in the Media folder.

That will be at …\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name.

Otherwise, when you ask FH to recreate the Media file, Windows finds the file already there so gives the new one the (2) suffix.

 

Another solution is to run the Check for Unlinked Media Plugin, but as a newcomer, you may not have discovered Plugins yet.

The best way to learn about them is in the FHUG Knowledge Base > Family Historian Plugins at:

https://www.fhug.org.uk/wiki/doku.php?id=plugins:about

 

Also from your description, it is not clear whether you have a clear understanding of the Individual, Source & Media records structure.

There is much free introductory tutorial material in the FHUG Knowledge Base at https://www.fhug.org.uk/

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of blakey1954@...
Sent: 13 April 2020 03:31
To: family-historian@groups.io
Subject: [family-historian] Name conflict with an existing file

 

Hello,
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.
Thank you. 


Adrian Bruce
 

Depends how you do it. I drop all my images downloaded from websites straight into my project folder, so it's one copy only. Yes, *my* scans of family photos sit outside my project folder and I manually *copy* them into the project folder, but that doesn't mean that everybody works like that. Even I am not prepared to swear that an image of my relative in the project folder is duplicated elsewhere. I'm very organized - it's just that my organizations change often!

Adrian


Mike Tate
 

Different people work in different ways.

Some users copy the Media files directly into the Project’s Media folder, so there is no duplicate elsewhere.

FH also allows Media files to be linked from any location outside the Project, so there is no copy inside the Project. The copy mode is an option and not mandatory.

Those techniques keep the number of Media files to an absolute minimum, and users would not want FH to delete them, especially as I believe they do not even go into the Recycle Bin.

Also, as I said, the same Media file can be linked to more than one Media record, and deleting one record should not delete the file linked to another record.

 

Yes, FH could give options to delete record only or both record & file, but how would that work when bulk deleting many Media records at once?

Would it be a global option, or would FH ask for each record?

It is worth remembering that the number of scenarios where Media records need deleting are really very rare.

In your case, where I believe the Media record needed renaming, that could be done without deleting the Media record.

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of John Burton
Sent: 14 April 2020 05:48
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Mike and Adrian,

 

Correct me if my understanding is wrong but when creating the record in FH a copy of the original file, eg, Photo, Birth Certificate goes into the Project file, eg, ‘…\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name’.

 

In my situation I end up with two copies, the original source file (eg, Photo, Birth cert.) in a completely separate folder on my PC, the second within FH in the Media folder above … File Explorer shows two files of the same name, one in FH, the other in a separate folder outside of FH.

 

So when I delete the record in FH I would have expected it, or advised me exactly what I was going to delete and given options, eg, record only, record and file etc., to have deleted the record and the copy of the original document in the Project media folder while I still retain my original source file completely separate from FH.

 

I’m trying to keep the number of file duplicates not only in FH but other applications to a manageable, less confusing, minimum.

 

One thing I have learnt early on, stressed to me by others doing geneaology, is to have backups of all one’s precious files.

 

Regards

John Burton.

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Tuesday, 14 April 2020 1:04 AM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

For others who may be following this thread, there is a more complete answer in the FHUG Forums.

 

The reason why FH does not delete the Media file linked to a deleted Media record is it may be a precious file needed for other purposes.

That file may actually be linked to another Media record and the one being deleted is a duplicate.

Also remember, that FH can link to Media files outside the Project folder and thus may be used by other applications.

So FH fails safe and does not delete external files. You would not want the only photo of some special event to be deleted.

 

Regards, Mike Tate


Virus-free. www.avast.com


Lorna Craig
 

Another tip you may not be aware of is that you can link Media files to FH without ever using the Add Media > Insert from File method, thus bypassing the bit where FH asks if you want it to make a copy.   Once you have put the Media file where you want it (in my case in a sub-folder of the FH Media folder - I have many sub-folders) you can simply drag-and-drop the file from there onto the Media tab of the relevant record in FH (which may be an Individual record, Family record, Source record, Place record).  This immediately creates a new Media record linked to the other record.  It's very quick.  I have thousands of Media files linked to FH and would not want them all duplicated elsewhere on my PC.  I do have ample external backups of my whole FH project of course.

To explain my workflow: any media files which are relevant to FH but which are not yet linked to FH are kept in a folder called WIP (Work in Progress) outside FH.  This reminds me that anything in that folder still has to be dealt with.  When I am ready to link a file to FH I move it to the relevant sub-folder of the FH Media folder, than drag-and-drop as described above to link it to FH.

As you will discover, one of the strengths of FH is that it lends itself to a variety of ways of working.

Lorna

On 14/04/2020 10:19, Mike Tate wrote:

Different people work in different ways.

Some users copy the Media files directly into the Project’s Media folder, so there is no duplicate elsewhere.

FH also allows Media files to be linked from any location outside the Project, so there is no copy inside the Project. The copy mode is an option and not mandatory.

Those techniques keep the number of Media files to an absolute minimum, and users would not want FH to delete them, especially as I believe they do not even go into the Recycle Bin.

Also, as I said, the same Media file can be linked to more than one Media record, and deleting one record should not delete the file linked to another record.

 

Yes, FH could give options to delete record only or both record & file, but how would that work when bulk deleting many Media records at once?

Would it be a global option, or would FH ask for each record?

It is worth remembering that the number of scenarios where Media records need deleting are really very rare.

In your case, where I believe the Media record needed renaming, that could be done without deleting the Media record.

 

Regards, Mike Tate

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of John Burton
Sent: 14 April 2020 05:48
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

Mike and Adrian,

 

Correct me if my understanding is wrong but when creating the record in FH a copy of the original file, eg, Photo, Birth Certificate goes into the Project file, eg, ‘…\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name’.

 

In my situation I end up with two copies, the original source file (eg, Photo, Birth cert.) in a completely separate folder on my PC, the second within FH in the Media folder above … File Explorer shows two files of the same name, one in FH, the other in a separate folder outside of FH.

 

So when I delete the record in FH I would have expected it, or advised me exactly what I was going to delete and given options, eg, record only, record and file etc., to have deleted the record and the copy of the original document in the Project media folder while I still retain my original source file completely separate from FH.

 

I’m trying to keep the number of file duplicates not only in FH but other applications to a manageable, less confusing, minimum.

 

One thing I have learnt early on, stressed to me by others doing geneaology, is to have backups of all one’s precious files.

 

Regards

John Burton.

 

From: family-historian@groups.io <family-historian@groups.io> On Behalf Of Mike Tate
Sent: Tuesday, 14 April 2020 1:04 AM
To: family-historian@groups.io
Subject: Re: [family-historian] Name conflict with an existing file

 

For others who may be following this thread, there is a more complete answer in the FHUG Forums.

 

The reason why FH does not delete the Media file linked to a deleted Media record is it may be a precious file needed for other purposes.

That file may actually be linked to another Media record and the one being deleted is a duplicate.

Also remember, that FH can link to Media files outside the Project folder and thus may be used by other applications.

So FH fails safe and does not delete external files. You would not want the only photo of some special event to be deleted.

 

Regards, Mike Tate


Virus-free. www.avast.com