Home › Forums › Help and Support › File invalid on importing colorimeter corrections
- This topic has 16 replies, 2 voices, and was last updated 8 years, 8 months ago by Florian Höch.
-
AuthorPosts
-
2015-08-17 at 13:56 #917
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.
2015-08-17 at 21:18 #918Sorry, I can’t reproduce this, it’s working fine here (Ubuntu 15.04). Please attach the DeviceCorrections.txt
2015-08-18 at 4:34 #919Here 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 ?
2015-08-18 at 5:00 #921I 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.Calibrite Display Pro HL on Amazon
Disclosure: As an Amazon Associate I earn from qualifying purchases.2015-08-18 at 5:44 #922I found the command in the log and ran :
$ oeminst -v -Sl iColorDisplay_3_8_3_4_Setup.exeLoading 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 ?
2015-08-18 at 5:52 #923Here 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
- This reply was modified on 2015-08-18 05:54:04 by berturion.
2015-08-18 at 6:30 #924So, 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.
2015-08-18 at 9:52 #925Well, 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 ?2015-08-18 at 13:48 #926Would 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):
$ 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.
$ 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.
2015-08-19 at 6:22 #927My 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 :
$ python2 .cache/0install.net/implementations/sha1new=19100fd8e445330fed01723991f603b1609f7b48/dispcalGUI/ccmx.py Bureau/tmp/DeviceCorrections.txt
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.
2015-08-21 at 17:16 #928A 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
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:
$ cd .cache/0install.net/implementations/sha1new=19100fd8e445330fed01723991f603b1609f7b48 $ python2 -c "from dispcalGUI import config; print repr(config.get_argyll_data_dir()); print config.get_argyll_data_dir()"
This should print the directory where it tries to save the CCMX files.
- This reply was modified on 2015-08-21 17:17:21 by fhoech.
2015-08-24 at 5:30 #929$ python2 -c "from dispcalGUI import config; print repr(config.get_argyll_data_dir()); print config.get_argyll_data_dir()" u'/home/bertrand/.local/share/color' /home/bertrand/.local/share/color
This directory didn’t exist so I cerated it. But the problem remains the same, “File Invalid”.
2015-08-24 09:29:38,160 -------------------------------------------------------------------------------- 2015-08-24 09:29:38,161 Working directory: 2015-08-24 09:29:38,161 / 2015-08-24 09:29:38,161 tmp/ 2015-08-24 09:29:38,162 dispcalGUI-jOF5Fl/ 2015-08-24 09:29:38,162 2015-08-24 09:29:38,162 Command line: 2015-08-24 09:29:38,162 oeminst 2015-08-24 09:29:38,162 -v 2015-08-24 09:29:38,162 -Sl 2015-08-24 09:29:38,163 2015-08-24 09:29:38,176 dispcalGUI: Waiting for EOF 2015-08-24 09:29:38,238 Password: 2015-08-24 09:29:38,239 2015-08-24 09:29:38,246 Looking for OEM install files .. 2015-08-24 09:29:38,247 Looking for CDROM to install from .. 2015-08-24 09:29:38,247 oeminst: Error - Didn't locate any files to install - no CD present ? 2015-08-24 09:29:38,248 2015-08-24 09:29:38,248 dispcalGUI: Reached EOF (OK) 2015-08-24 09:29:38,317 2015-08-24 09:29:38,349 ...aborted. 2015-08-24 09:29:40,071 Import colorimeter corrections from other display profiling
And without option “system-wide” :
2015-08-24 09:32:22,327 -------------------------------------------------------------------------------- 2015-08-24 09:32:22,328 Working directory: 2015-08-24 09:32:22,328 / 2015-08-24 09:32:22,328 tmp/ 2015-08-24 09:32:22,328 dispcalGUI-jOF5Fl/ 2015-08-24 09:32:22,329 2015-08-24 09:32:22,329 Command line: 2015-08-24 09:32:22,329 oeminst 2015-08-24 09:32:22,329 -v 2015-08-24 09:32:22,329 2015-08-24 09:32:22,339 Looking for OEM install files .. 2015-08-24 09:32:22,339 Looking for CDROM to install from .. 2015-08-24 09:32:22,340 oeminst: Error - Didn't locate any files to install - no CD present ? 2015-08-24 09:32:22,372 2015-08-24 09:32:22,450 2015-08-24 09:32:24,024 Import colorimeter corrections from other display profiling software... 2015-08-24 09:32:24,025 /home/bertrand/Downloads/DeviceCorrections.txt 2015-08-24 09:32:24,086 File invalid.
- This reply was modified on 2015-08-24 05:34:03 by berturion.
2015-08-24 at 18:28 #930$ 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.
2015-08-25 at 4:42 #931So 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 ?
2015-08-25 at 15:49 #932It 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.
-
AuthorPosts