Calibration freezes on step 3.
Status: Beta
Brought to you by:
smilzoboboz
marsjan@lena~$ calise
Calise-0.4.0 (C) 2011 Nicolo' Barbon
Step 1 of 7
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
This passage gets a valid profile name to be stored as config file's filename.
>>> profile name: default
>>> profile path: /home/marsjan/.config/calise/default.conf
Step 2 of 7
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
This passage lists all available sysfs backlight directories and, if more than one, asks wich has to be used.
>>> sysfs backlight path: /sys/class/backlight/intel_backlight/brightness
Step 3 of 7
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
This passage obtains available backlight steps with selected sysfs backlight path and displays them ordered from lower to higher backlight level.
The program will now try to semi-automatically find the minimum backlight level (before "power-off") for this machine.
NOTE: If you'll get a blank screen don't worry and just wait the default timeout (20 seconds)
Hit ENTER or RETURN when ready
And... nothing. ^C:
Traceback (most recent call last):
File "/usr/bin/calise", line 120, in <module>
CliCalibration(defName, brPath=calise.options.arguments.path)
File "/usr/lib/python2.7/dist-packages/calise/calibration.py", line 392, in __init__
self.BacklightPassage()
File "/usr/lib/python2.7/dist-packages/calise/calibration.py", line 570, in BacklightPassage
bkofs = getMinimumLevel(self.bfile)
File "/usr/lib/python2.7/dist-packages/calise/calibration.py", line 65, in getMinimumLevel
with open(blpath, 'w') as fp:
KeyboardInterrupt
Hi and thank you for reporting the bug.
If you're using calise version 0.4.0 give a try at current latest version 0.4.2 or just try the git-master version in the meanwhile.
You will find instructions on how to build/install it on http://calise.sourceforge.net/mediawiki/index.php/Installation#Obtain_Calise
Anyway, about the bug you reported, it's quite strange for the program to freeze on fileopen.
Did you press Return or Enter when asked (sorry about this question but I need to know as much as i can about the situation)?
Last edit: Nicolò Barbon 2015-07-02
I'm getting the same error on two different Ubuntu installs (15.04 and 14.04), and yes I pressed enter. When running #env python setup.py build I got an error message: Python module msvcrt not found, which I doubt is relevant (since that's a Windows library from what I can discover).
I think, perhaps, this recommendation from the included INSTALL file may be more helpful:
permissions to the file returned by step 2 (sysfs backlight path):
$ interface= #type here the file returned on calibration-step 2 (eg. /sys/class/backlight/acpi_video0/brightness)
# chmod 666 $interface*
Which I'm struggling to understand / do. Thanks!
Last edit: Tamsyn 2015-07-27
I'm getting the exact same error on OpenSUSE 42.1 and indeed
sudo chmod 666 /sys/class/backlight/intel_backlight/brightness
fixes it.
Last edit: Escoban 2016-04-05