I have a problem though. I am on Linux Mint 17.2 (based on Ubuntu 14.04), DispcalGUI 3.0.4 and I have a Spyder 3 colorimeter. When I try to "import colorimeter corrections from other display profiling software". DispcalGUI downloads a "iColorDisplay_3_8_3_4_Setup.exe" file, ok.
But then, I always get the error "File invalid".
I took the resulting file "DeviceCorrections.txt" from /tmp directory and tried to manually import it with the button "Select file" but I get the same error again and again. What can I do ?
Would it be a problem with file encoding, an unsupported one ? My system is in fr_FR.UTF-8. It would be strange if it was that because UTF-8 is usually well supported.
Is there a way to import it manually with a command line ?
I found the command in the log and ran :
$ oeminst -v -Sl iColorDisplay_3_8_3_4_Setup.exe
Loading file 'iColorDisplay_3_8_3_4_Setup.exe'..done
'iColorDisplay_3_8_3_4_Setup.exe' is unknown
oeminst: Error - Reading 'iColorDisplay_3_8_3_4_Setup.exe' failed with 'Error at line 0 of file 'Mem': No CGATS file identifier found'
Here is the ouput of the unique importation that works (but I don't need) :
$ oeminst -v -Sl Spyder4Elite_4.5.4__Setup.exe
Loading file 'Spyder4Elite_4.5.4__Setup.exe'..done
'Spyder4Elite_4.5.4__Setup.exe' seems to be a VISE archive
Input file 'Spyder4Elite_4.5.4__Setup.exe' is a VISE archive file base 0x10008
Failed to locate file 'CVSpyder.dll' in VISE archiveInput file 'Spyder4Elite_4.5.4__Setup.exe' is a VISE archive file base 0x10008
Located driver entry 'dccmtr.dll' at offset 0x78923
Located driver file 'dccmtr.dll' at offset 0xe6a21
Located and decompressed file 'dccmtr.dll' from VISE archive
Returning 'dccmtr.dll' length 106496 from 'Spyder4Elite_4.5.4__Setup.exe'
Failed to locate Spyder 2 firmware in 'dccmtr.dll'
Returning 'spyd4cal.bin' length 1968 from 'dccmtr.dll'
Wrote '/usr/local/share/ArgyllCMS/spyd4cal.bin'1968 bytes
Last edit: Berturion 2015-08-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, I continued my investigations and think it's a problem of Argyllcms version on Ubuntu 14.04. This version is 1.5.1.
So I added a PPA : ppa:pmjdebruijn/argyll-testing and was able to upgrade to argyll 1.6.3.
Now I can run this command with following output :
$ oeminst -v -Sl i1ProfilerSetup_1_6_1.exe
Loading file 'i1ProfilerSetup_1_6_1.exe'..done
'i1ProfilerSetup_1_6_1.exe' seems to be an Inno archive
Attempting to extract 'XRD_i1d3.cab' from 'i1ProfilerSetup_1_6_1.exe'
.cab identifier file not found
Attempting to extract 'XRD_Manager.cab' from 'i1ProfilerSetup_1_6_1.exe'
.cab identifier file not found
Attempting to extract 'disk1.cab' from 'i1ProfilerSetup_1_6_1.exe'
Extacted 'disk1.cab' length 5737230
Wrote 'temp.cab'5737230 bytes
Attempting to extract '*.edr' from 'disk1.cab'
Found 8 .edr files out of 31 files in .cab
Translating 'CCFLFamily_07Feb11.edr'(43868 bytes)
Translating 'OLEDFamily_20Jul12.edr'(12456 bytes)
Translating 'PlasmaFamily_20Jul12.edr'(12456 bytes)
Translating 'ProjectorFamily_07Feb11.edr'(39068 bytes)
Translating 'RGBLEDFamily_07Feb11.edr'(30412 bytes)
Translating 'RG_Phosphor_Family_25Jul12.edr'(59880 bytes)
Translating 'WGCCFLFamily_07Feb11.edr'(30412 bytes)
Translating 'WLEDFamily_07Feb11.edr'(43868 bytes)
Wrote '/usr/local/share/ArgyllCMS/WLEDFamily_07Feb11.ccss'56462 bytes
But this one is still in error :
$ oeminst -v -Sl iColorDisplay_3_8_3_4_Setup.exe
Loading file 'iColorDisplay_3_8_3_4_Setup.exe'..done
'iColorDisplay_3_8_3_4_Setup.exe' is unknown
oeminst: Error - Reading 'iColorDisplay_3_8_3_4_Setup.exe' failed with 'Error at line 0 of file '**Mem**': No CGATS file identifier found'
I will try later to compile latest version of Argyll (1.7.0) and report.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I saw Argyll documentation for compiling the software and I am afraid this is not for me, too complicated... I am looking for an alternative solution.
@fhoech, which version of Argyll do you have in Ubuntu 15.04 ?
Do you think it is a problem of a too old Argyll version ?
Could the exe files be corrupted ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would it be a problem with file encoding, an unsupported one ?
No, the DeviceCorrections.txt is a 7-bit ASCII file. The "File invalid" error in this case can only occur on de-/encoding or JSON errors though which is strange.
Please try the following in a terminal (change the paths accordingly):
If you're using 0install, substitute /home/yourusername/dispcalGUI-3.0.4/dispcalGUI/ with /home/yourusername/.cache/0install/implementations/sha1new=19100fd8e445330fed01723991f603b1609f7b48/dispcalGUI/
If you're using a system-installed dispcalGUI, substitute /home/yourusername/dispcalGUI-3.0.4/dispcalGUI/ with /usr/lib/python2.7/dist-packages/dispcalGUI/
/path/to/ needs to be writable.
$ oeminst -v -Sl iColorDisplay_3_8_3_4_Setup.exe
This can't work because importing the corrections from iColorDisplay is a functionality specific to dispcalGUI.
Well, I saw Argyll documentation for compiling the software and I am afraid this is not for me, too complicated... I am looking for an alternative solution.
If you're looking to use the latest Argyll CMS (which I'd recommend regardless), head over to argyllcms.com and download the Linux binaries.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My dispcalGUI is installed with 0install ubuntu .deb package taken from your official site (since my distro is Linux Mint based on Ubuntu 14.04).
As you recommended, I took argyll 1.7.0 binaries (x64) from official site and removed the system package. Even with these changes, I can't import iColorDisplay colorimeter corrections (File Invalid error).
This created 73 .ccmx files with names corresponding with DeviceCorrections.txt content.
A strange thing I noted is that dispcalGUI doesn't download iColorDisplay_3_8_3_4_Setup.exe file anymore but always retrieve a DeviceCorrections.txt even if I delete it from everywhere (I used the linux find command from the system root path '/' ).
I deleted all iColor* file and all DeviceCorrections* from my system and dispcalGUI always create a /home/myusername/Download/DeviceCorrections.txt with a content that seems to be ok. Where it comes from ??? A cache ?
Importation of that mysterious file is always a failure :
2015-08-19 10:12:28,869 --------------------------------------------------------------------------------
2015-08-19 10:12:28,869 Répertoire de travail :
2015-08-19 10:12:28,870 /
2015-08-19 10:12:28,870 tmp/
2015-08-19 10:12:28,871 dispcalGUI-bSfhMF/
2015-08-19 10:12:28,871
2015-08-19 10:12:28,871 Ligne de commande :
2015-08-19 10:12:28,871 oeminst
2015-08-19 10:12:28,871 -v
2015-08-19 10:12:28,871 -Sl
2015-08-19 10:12:28,872
2015-08-19 10:12:28,894 dispcalGUI: Waiting for EOF
2015-08-19 10:12:28,968 Password:
2015-08-19 10:12:28,971 Looking for OEM install files ..
2015-08-19 10:12:28,973 Looking for CDROM to install from ..
2015-08-19 10:12:28,974 oeminst: Error - Didn't locate any files to install - no CD present ?
2015-08-19 10:12:28,975
2015-08-19 10:12:28,975 dispcalGUI: Reached EOF (OK)
2015-08-19 10:12:29,042
2015-08-19 10:12:29,076 ... interrompu.
2015-08-19 10:12:50,584 Importer les corrections du colorimètre d'un autre logiciel de profilage d'écrans...
2015-08-19 10:12:50,584 /home/bertrand/Downloads/DeviceCorrections.txt
2015-08-19 10:12:50,647 Fichier invalide.
I don't understand... I think I must clean some directories or something to force dispcalGUI to download agan the iColorDisplay package but I can't find which ones.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So that the files go to /home/bertrand/.local/share/color ?
This command ouputs nothing and the directory /home/bertrand/.local/share/color remains empty.
But the 73 ccmx files are generated in /home/bertrand/Downloads.
It is like the last argument was ignored... Maybe the cause of my problem ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there, thanks for this amazing software.
I have a problem though. I am on Linux Mint 17.2 (based on Ubuntu 14.04), DispcalGUI 3.0.4 and I have a Spyder 3 colorimeter. When I try to "import colorimeter corrections from other display profiling software". DispcalGUI downloads a "iColorDisplay_3_8_3_4_Setup.exe" file, ok.
But then, I always get the error "File invalid".
I took the resulting file "DeviceCorrections.txt" from /tmp directory and tried to manually import it with the button "Select file" but I get the same error again and again. What can I do ?
2015-08-13 16:39:05,774 --------------------------------------------------------------------------------
2015-08-13 16:39:05,775 Working directory:
2015-08-13 16:39:05,776 /
2015-08-13 16:39:05,776 tmp/
2015-08-13 16:39:05,777 dispcalGUI-Hoje8C/
2015-08-13 16:39:05,778
2015-08-13 16:39:05,778 Command line:
2015-08-13 16:39:05,779 7z
2015-08-13 16:39:05,780 e
2015-08-13 16:39:05,780 -y
2015-08-13 16:39:05,781 /home/bertrand/Downloads/iColorDisplay_3_8_3_4_Setup.exe
2015-08-13 16:39:05,782 DeviceCorrections.txt
2015-08-13 16:39:05,782
2015-08-13 16:39:05,929 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
2015-08-13 16:39:05,929 p7zip Version 9.20 (locale=fr_FR.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
2015-08-13 16:39:05,929
2015-08-13 16:39:05,929 Processing archive: /home/bertrand/Downloads/iColorDisplay_3_8_3_4_Setup.exe
2015-08-13 16:39:05,929
2015-08-13 16:39:05,929 Extracting DeviceCorrections.txt
2015-08-13 16:39:05,929
2015-08-13 16:39:05,929 Everything is Ok
2015-08-13 16:39:05,930
2015-08-13 16:39:05,930 Size: 23419
2015-08-13 16:39:05,930 Compressed: 30842723
2015-08-13 16:39:05,930 Import colorimeter corrections from other display profiling software...
2015-08-13 16:39:05,931 /tmp/dispcalGUI-Hoje8C/DeviceCorrections.txt
2015-08-13 16:39:05,996 File invalid.
Thank you.
Sorry, I can't reproduce this, it's working fine here (Ubuntu 15.04). Please attach the DeviceCorrections.txt
Here it is.
Would it be a problem with file encoding, an unsupported one ? My system is in fr_FR.UTF-8. It would be strange if it was that because UTF-8 is usually well supported.
Is there a way to import it manually with a command line ?
I tried to import other corrections.
The Spyder 4/5 is correctly downloaded and imported.
The i1 Profiler says "Error - Didn't locate any files to install - no CD present ?" with log :
2015-08-18 08:59:15,401 --------------------------------------------------------------------------------
2015-08-18 08:59:15,402 Working directory:
2015-08-18 08:59:15,402 /
2015-08-18 08:59:15,402 home/
2015-08-18 08:59:15,402 bertrand/
2015-08-18 08:59:15,403 Downloads/
2015-08-18 08:59:15,403
2015-08-18 08:59:15,403 Command line:
2015-08-18 08:59:15,403 oeminst
2015-08-18 08:59:15,403 -v
2015-08-18 08:59:15,403 -Sl
2015-08-18 08:59:15,404 i1ProfilerSetup.exe
2015-08-18 08:59:15,404
2015-08-18 08:59:15,418 dispcalGUI: Waiting for EOF
2015-08-18 08:59:15,479 Password:
2015-08-18 08:59:15,482
2015-08-18 08:59:15,542 Loading file 'i1ProfilerSetup.exe'..done
2015-08-18 08:59:15,543 'i1ProfilerSetup.exe' seems to be an Inno archive
2015-08-18 08:59:15,543 Attempting to extract 'XRD_i1d3.cab' from 'i1ProfilerSetup.exe'
2015-08-18 08:59:15,560
2015-08-18 08:59:15,685 .cab not found
2015-08-18 08:59:15,685 Attempting to extract 'XRD_Manager.cab' from 'i1ProfilerSetup.exe'
2015-08-18 08:59:15,828 .cab not found
2015-08-18 08:59:15,828 Warning: unhandled 'i1ProfilerSetup.exe' discarded
2015-08-18 08:59:15,829 oeminst: Error - Didn't locate any files to install - no CD present ?
2015-08-18 08:59:15,829
2015-08-18 08:59:15,829 dispcalGUI: Reached EOF (OK)
2015-08-18 08:59:15,930 ...aborted.
I found the command in the log and ran :
$ oeminst -v -Sl iColorDisplay_3_8_3_4_Setup.exe
Loading file 'iColorDisplay_3_8_3_4_Setup.exe'..done
'iColorDisplay_3_8_3_4_Setup.exe' is unknown
oeminst: Error - Reading 'iColorDisplay_3_8_3_4_Setup.exe' failed with 'Error at line 0 of file 'Mem': No CGATS file identifier found'
Is this file taken from : http://www.graphiland.ch/downloads/Quato/iColorDisplay_3_8_3_4_Setup.exe ?
Here is the ouput of the unique importation that works (but I don't need) :
Last edit: Berturion 2015-08-18
So, I continued my investigations and think it's a problem of Argyllcms version on Ubuntu 14.04. This version is 1.5.1.
So I added a PPA : ppa:pmjdebruijn/argyll-testing and was able to upgrade to argyll 1.6.3.
Now I can run this command with following output :
But this one is still in error :
I will try later to compile latest version of Argyll (1.7.0) and report.
Well, I saw Argyll documentation for compiling the software and I am afraid this is not for me, too complicated... I am looking for an alternative solution.
@fhoech, which version of Argyll do you have in Ubuntu 15.04 ?
Do you think it is a problem of a too old Argyll version ?
Could the exe files be corrupted ?
No, the DeviceCorrections.txt is a 7-bit ASCII file. The "File invalid" error in this case can only occur on de-/encoding or JSON errors though which is strange.
Please try the following in a terminal (change the paths accordingly):
$ python2 /home/yourusername/dispcalGUI-3.0.4/dispcalGUI/ccmx.py /path/to/DeviceCorrections.txt
If you're using 0install, substitute /home/yourusername/dispcalGUI-3.0.4/dispcalGUI/ with /home/yourusername/.cache/0install/implementations/sha1new=19100fd8e445330fed01723991f603b1609f7b48/dispcalGUI/
If you're using a system-installed dispcalGUI, substitute /home/yourusername/dispcalGUI-3.0.4/dispcalGUI/ with /usr/lib/python2.7/dist-packages/dispcalGUI/
/path/to/ needs to be writable.
This can't work because importing the corrections from iColorDisplay is a functionality specific to dispcalGUI.
If you're looking to use the latest Argyll CMS (which I'd recommend regardless), head over to argyllcms.com and download the Linux binaries.
My dispcalGUI is installed with 0install ubuntu .deb package taken from your official site (since my distro is Linux Mint based on Ubuntu 14.04).
As you recommended, I took argyll 1.7.0 binaries (x64) from official site and removed the system package. Even with these changes, I can't import iColorDisplay colorimeter corrections (File Invalid error).
As you asked, I executed this :
This created 73 .ccmx files with names corresponding with DeviceCorrections.txt content.
A strange thing I noted is that dispcalGUI doesn't download iColorDisplay_3_8_3_4_Setup.exe file anymore but always retrieve a DeviceCorrections.txt even if I delete it from everywhere (I used the linux find command from the system root path '/' ).
I deleted all iColor* file and all DeviceCorrections* from my system and dispcalGUI always create a /home/myusername/Download/DeviceCorrections.txt with a content that seems to be ok. Where it comes from ??? A cache ?
Importation of that mysterious file is always a failure :
I don't understand... I think I must clean some directories or something to force dispcalGUI to download agan the iColorDisplay package but I can't find which ones.
Yes, I changed the redirection so that the file is downloaded directly.
Your error seems not related to the file itself. Please do the following:
This should print the directory where it tries to save the CCMX files.
Last edit: Florian Hoech 2015-08-21
This directory didn't exist so I cerated it. But the problem remains the same, "File Invalid".
And without option "system-wide" :
Last edit: Berturion 2015-08-24
$ python2 .cache/0install.net/implementations/sha1new=19100fd8e445330fed01723991f603b1609f7b48/dispcalGUI/ccmx.py /home/bertrand/Downloads/DeviceCorrections.txt /home/bertrand/.local/share/color
Should import the files to the correct location.
So that the files go to /home/bertrand/.local/share/color ?
This command ouputs nothing and the directory /home/bertrand/.local/share/color remains empty.
But the 73 ccmx files are generated in /home/bertrand/Downloads.
It is like the last argument was ignored... Maybe the cause of my problem ?
My bad, I forgot that the script only takes a single argument (the path of DeviceCorrections.txt).
You can move them to the location.
No problem. Thanks I will do that. So there is a problem with the same command in DispcalGUI ? It is not related to my environment if I understand ?
dispcalGUI runs the same function as when using the script, so it is still unclear to me what causes the error.