Can't Open a TDM File With a Leading Space in Its Name in DIAdem™

Updated Apr 15, 2026

Reported In

Software

  • DIAdem

Issue Details

I have a script in DIAdem that generates TDM files, but when I try to load them in the Data Portal, I get the following error:

 

 

Solution

This issue occurs because the script generates the file with a leading space in the file name:

 

 

Windows cannot store files with a leading space so the file with that name does not exist in your computer. To solve this:

 

  1.  Change the extension of the TDM file to a .zip file:



  2. Once the TDM file is converted to a ZIP file go ahead and unzip the file, and you will see a header.xml file, open the header.xml with a text editor and erase the leading space:




  3. Finally, zip back the folder and change its extension back to .tdm file extension and the TDM should work correctly.