[argyllcms] Re: DispcalGUI error (0.2.6b)

  • From: Florian Höch <lists+argyllcms@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Thu, 25 Jun 2009 14:26:30 +0200

Thanks. Well, atleast that should be easily fixable :) I'll post when the fixed version is ready.

You may fix it in your version by editing line 39 of
/usr/lib/python26/dist-packages/dispcalGUI/dispcalGUI.py:

Change

pyver = map(int, sys.version.split()[0].split("."))

to

pyver = map(int, sys.version.split()[0].split(".")[0:2])

Regards,

Florian Höch

Patrice Vetsel schrieb:
Florian Höch a écrit :
Ok, this is a bit unexpected. Can you run `python -c "import sys; print sys.version; print sys.version_info"` on a terminal and post its output?

Regards,

Florian Höch

Patrice Vetsel schrieb:
I'v used autopackage 0.2.6b on Ubuntu 9.10 64Bits (not released yet but argyllcms is included ;) )

I'v this error :

kagou@kagou-laptop:~$ dispcalGUI
Traceback (most recent call last):
 File "/usr/bin/dispcalGUI", line 4, in <module>
   from dispcalGUI.dispcalGUI import main
File "/usr/lib/python2.6/dist-packages/dispcalGUI/dispcalGUI.py", line 39, in <module>
   pyver = map(int, sys.version.split()[0].split("."))
ValueError: invalid literal for int() with base 10: '2+'
kagou@kagou-laptop:~$


python -c "import sys; print sys.version; print sys.version_info"

kagou@kagou-laptop:~$ python -c "import sys; print sys.version; print sys.version_info"
2.6.2+ (release26-maint, Jun 19 2009, 15:16:33)
[GCC 4.4.0]
(2, 6, 2, 'final', 0)
kagou@kagou-laptop:~$


Other related posts: