[RELEASE] SpeedFan Information Display

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #1
ABOUT
This XBMC plugin parses and displays information from the SpeedFan log. While this plugin works on any platform, SpeedFan only works on Windows, so it is optimally built for people using XBMC on Windows.

GETTING SPEEDFAN
SpeedFan is available at http://www.almico.com/speedfan.php

COMPATIBILITY
This plugin has been tested with SpeedFan 4.44. It should work with any version of SpeedFan that outputs the log file in the same format as 4.44. It has been tested on XBMC Eden (11.0) betas 2 and 3 on Windows and Macintosh. It has not been tested on Dharma (10.1) and likely will not work on Dharma.

GETTING SPEEDFANINFO
SpeedFanInfo is available for Eden in the main XBMC repo under programs. If you're on Dharma and really want to see if this works, you can get it from my GitHub site: https://github.com/pkscout/script.speedfaninfo

SPECIAL LOG CONFIGURATION CONSIDERATIONS
This post is not meant to be a tutorial on how to setup SpeedFan or enable logging. The SpeedFan web site is available to help you with that. To get SpeedFanInfo to properly parse the log file, you do need to label the various SpeedFan items in a specific way. SpeedFanInfo knows about four kinds of log items: temperatures, fan speeds, voltages, and fan speed percentages.

Temperatures
This is the first tab in the SpeedFan configuration window (labeled Temperatures). Any item you are logging needs it's label to end with .temp (not case sensitive) for SpeedFanInfo to parse it. (i.e. CPU.temp)

Fan Speeds
This is the second tab in the SpeedFan configuration window (labeled Fans). Any item you are logging needs it's label to end with .speed (not case sensitive) for SpeedFanInfo to parse it. (i.e. CPU Fan.speed)

Voltages
This is the third tab in the SpeedFan configuration window (labeled Voltages). Any item you are logging needs it's label to end with .voltage (not case sensitive) for SpeedFanInfo to parse it. (i.e. +12V.voltage)

Fan Speed Percentages
This is the fourth tab in the SpeedFan configuration window (labeled Speeds). Any item you are logging needs it's label to end with .percent (not case sensitive) for SpeedFanInfo to parse it. (i.e. CPU Fan.percent) A special note about fan speed percentages. They will only show on the SpeedFanInfo screen if you are logging the same number of fan speeds as you are fan percentages. SpeedFan logs these in a predictable order, so as long as you don't log four of your five fan speeds and then a different four of your five fan speed percentages, you should be fine.

SETUP
After you install this plugin, go to the plugin settings. There are four options to set.

SpeedFan Log Folder
The folder in which the SpeedFan log file resides. Be default SpeedFan stores this file in C:\Program Files\SpeedFan\

Log Temperature Scale
This should be set to match the temperature scale to which you have SpeedFan set. This setting just tells the plugin what to put after the integer value for the temperature. This plugin will not convert from Celcius to Farenheit (or vice versa).

Window Update Interval (in seconds)
The number of seconds between updates to the screen. Please note that SpeedFan will sometimes get it's logging a little out of sync, so sometimes the fan speed and fan speed percentages don't actually match. This only happens when your fan speeds are fluctuating pretty rapidly, so if you wait through a couple of screen refreshes, the numbers usually start matching again.

Enable Verbose Logging
This drops a metric crapload of stuff into the XBMC log file. It's really only useful for debugging, so I wouldn't enable it unless you're asked to do so by the developer to assist with troubleshooting.

GETTING HELP
Please us this thread for any support or feature requests (or comments).
(This post was last modified: 2012-02-11 20:35 by pkscout.)
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #2
0.3.3 02/10/2012
-First public release
-Added visual notice if there is no log file location defined or no log file in the defined location
-Fixed a typo in one of the verbose logging outputs
-added a README file with instructions on how to setup the SpeedFan log file

0.3.2 02/03/2012
-Fixed issue with voltage headings not displaying correctly. Required a change in the way you format the SpeedFan log, but since nobody is using it at this point but me, it doesn't matter. '-)
-Fixed the way the setting.xml passes the temperature scale to default.py so that the code is a little easier to read.

0.3.1 02/02/2012
-Fixes to logging engine
-Updated display XML to be skin independent (mostly having to do with font settings)
-Moved all text strings into language file so that the plugin can be localized
-Added icon

0.3.0 01/31/2012
-Implemented new logging engine to make it easier to have a basic log for day to day use and full log for troubleshooting
-updated code to make better use of boolean objects

0.2.0 01/30/2012
-Added ability to update screen based on arbitary interval (set by user)

0.1.1 01/29/2012
-Fixed some code issues that caused the script not to work on Windows (that's what you get when you develop on a Mac and deploy to Windows)

0.1.0 01/28/2012
-Initial internal release
find quote
cape-city Offline
Junior Member
Posts: 4
Joined: Feb 2012
Reputation: 0
Post: #3
Hi,

i only get some .csv files when enabling the logging function in speedfan.
i tried the 4.44 version aswell...what i'm doing wrong?

thx
(This post was last modified: 2012-02-27 16:26 by cape-city.)
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #4
cape-city Wrote:i only get some .csv files when enabling the logging function in speedfan.
i tried the 4.44 version aswell...what i'm doing wrong?

.csv is all SpeedFan puts out. If you haven't yet, you go into the addon settings and set the option that points the add-on to the log folder for SpeedFan. Please read the readme as well, because in SpeedFan you need to name the items you are logging a particular way so that the add-on can display the information.

If you continue having issues, please enable verbose logging in the add-on settings and post a pastebin of your xbmc.log file. A screen shot of what you're seeing after you run the plugin would be nice too.
find quote
cape-city Offline
Junior Member
Posts: 4
Joined: Feb 2012
Reputation: 0
Post: #5
Hi,

ok....found my first issue Wink now the .csv file looks like this:

Code:
"Seconds    System.temp    CPU.temp    GPU.temp    CPU Fan.speed    Vcore.voltage    +12V.voltage    AVcc.voltage    GPU Vddc.voltage"
"76468    47,0    65,5    63,0    1061    1,32    11,8272    3,376    1,1"
"76471    48,0    60,0    66,0    1061    1,32    11,8272    3,376    1,1"
"76474    47,0    63,5    64,0    1048    1,32    11,8272    3,376    1,1"
"76477    47,0    65,5    64,0    1048    1,32    11,8272    3,376    1,1"

The Screen from SpeedFanInfo is still black, but no Error that he can't
find the log-files!

And here is the xbmc.log

Code:
21:03:43 T:3980  NOTICE: -->Python Interpreter Initialized<--
21:03:43 T:3980   ERROR: Exception in python script callback execution
21:03:43 T:3980   ERROR: Traceback (most recent call last):
21:03:43 T:3980   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 39, in onInit
21:03:43 T:3980   ERROR: self.populateFromLog()
21:03:43 T:3980   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 63, in populateFromLog
21:03:43 T:3980   ERROR: temps, speeds, voltages, percents = lp.parseLog()
21:03:43 T:3980   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 213, in parseLog
21:03:43 T:3980   ERROR: s_value = str(int(round(float(s_value.rstrip()))))
21:03:43 T:3980   ERROR: ValueError
21:03:43 T:3980   ERROR: :
21:03:43 T:3980   ERROR: invalid literal for float(): 46,0
21:03:46 T:2256  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:07
21:04:03 T:1520   ERROR: Exception in thread Thread-1:
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 532, in __bootstrap_inner
                                                self.run()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 484, in run
                                                self.__target(*self.__args, **self.__kwargs)
                                              File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 255, in updateWindow
                                                w.populateFromLog()
                                              File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 63, in populateFromLog
                                                temps, speeds, voltages, percents = lp.parseLog()
                                              File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 213, in parseLog
                                                s_value = str(int(round(float(s_value.rstrip()))))
                                            ValueError: invalid literal for float(): 46,0
21:08:26 T:3948   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo
21:08:27 T:744  NOTICE: -->Python Interpreter Initialized<--
21:08:27 T:744   ERROR: Exception in python script callback execution
21:08:27 T:744   ERROR: Traceback (most recent call last):
21:08:27 T:744   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 39, in onInit
21:08:27 T:744   ERROR: self.populateFromLog()
21:08:27 T:744   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 63, in populateFromLog
21:08:27 T:744   ERROR: temps, speeds, voltages, percents = lp.parseLog()
21:08:27 T:744   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 213, in parseLog
21:08:27 T:744   ERROR: s_value = str(int(round(float(s_value.rstrip()))))
21:08:27 T:744   ERROR: ValueError
21:08:27 T:744   ERROR: :
21:08:27 T:744   ERROR: invalid literal for float(): 47,0
21:08:47 T:4012   ERROR: Exception in thread Thread-1:
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 532, in __bootstrap_inner
                                                self.run()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 484, in run
                                                self.__target(*self.__args, **self.__kwargs)
                                              File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 255, in updateWindow
                                                w.populateFromLog()
                                              File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 63, in populateFromLog
                                                temps, speeds, voltages, percents = lp.parseLog()
                                              File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 213, in parseLog
                                                s_value = str(int(round(float(s_value.rstrip()))))
                                            ValueError: invalid literal for float(): 47,0
21:14:44 T:3948   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo
21:14:45 T:616  NOTICE: -->Python Interpreter Initialized<--
21:14:45 T:616   ERROR: Exception in python script callback execution
21:14:45 T:616   ERROR: Traceback (most recent call last):
21:14:45 T:616   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 39, in onInit
21:14:45 T:616   ERROR: self.populateFromLog()
21:14:45 T:616   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 63, in populateFromLog
21:14:45 T:616   ERROR: temps, speeds, voltages, percents = lp.parseLog()
21:14:45 T:616   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 213, in parseLog
21:14:45 T:616   ERROR: s_value = str(int(round(float(s_value.rstrip()))))
21:14:45 T:616   ERROR: ValueError
21:14:45 T:616   ERROR: :
21:14:45 T:616   ERROR: invalid literal for float(): 48,0
21:14:52 T:3948   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo
21:15:07 T:3500 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
21:15:08 T:2336  NOTICE: -->Python Interpreter Initialized<--
21:15:08 T:2336  NOTICE: [speedfaninfo] attempting to create main script object
21:15:08 T:2336  NOTICE: [speedfaninfo] running __init__ from SpeedFanInfoWindow class
21:15:08 T:2336  NOTICE: [speedfaninfo] worker thread started
21:15:08 T:2336  NOTICE: [speedfaninfo] request window open via doModal
21:15:08 T:2956  NOTICE: [speedfaninfo] running the worker thread from inside the def
21:15:08 T:2956  NOTICE: [speedfaninfo] start counting the delay set in the preference
21:15:08 T:2956  NOTICE: [speedfaninfo] window is still open, sleep 1 second
21:15:08 T:2336  NOTICE: [speedfaninfo] running inInit from SpeedFanInfoWindow class
21:15:08 T:2336  NOTICE: [speedfaninfo] running populateFromLog from SpeedFanInfoWindow class
21:15:08 T:2336  NOTICE: [speedfaninfo] create new LogParser object
21:15:08 T:2336  NOTICE: [speedfaninfo] running __init__ from LogParser class
21:15:08 T:2336  NOTICE: [speedfaninfo] ask the LogParser to get temps, speeds, voltages, and percents
21:15:08 T:2336  NOTICE: [speedfaninfo] running parseLog from LogParser class
21:15:08 T:2336  NOTICE: [speedfaninfo] started parsing log
21:15:08 T:2336  NOTICE: [speedfaninfo] read the log file
21:15:08 T:2336  NOTICE: [speedfaninfo] running readLogFile from LogParser class
21:15:08 T:2336  NOTICE: [speedfaninfo] trying to open logfile C:\Program Files (x86)\SpeedFan\SFLog20120227.csv
21:15:08 T:2336  NOTICE: [speedfaninfo] opened logfile C:\Program Files (x86)\SpeedFan\SFLog20120227.csv
21:15:08 T:2336  NOTICE: [speedfaninfo] first line: Seconds    System.temp    CPU.temp    GPU.temp    CPU Fan.speed    Vcore.voltage    +12V.voltage    AVcc.voltage    GPU Vddc.voltage
21:15:08 T:2336  NOTICE: [speedfaninfo] last line: 76508    47,0    66,5    63,0    1048    1,336    11,7216    3,36    1,1
21:15:08 T:2336  NOTICE: [speedfaninfo] pair up the heading with the value
21:15:08 T:2336   ERROR: Exception in python script callback execution
21:15:08 T:2336   ERROR: Traceback (most recent call last):
21:15:08 T:2336   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 39, in onInit
21:15:08 T:2336   ERROR: self.populateFromLog()
21:15:08 T:2336   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 63, in populateFromLog
21:15:08 T:2336   ERROR: temps, speeds, voltages, percents = lp.parseLog()
21:15:08 T:2336   ERROR:   File "C:\Users\Monty\AppData\Roaming\XBMC\addons\script.speedfaninfo\default.py", line 213, in parseLog
21:15:08 T:2336   ERROR: s_value = str(int(round(float(s_value.rstrip()))))
21:15:08 T:2336   ERROR: ValueError
21:15:08 T:2336   ERROR: :
21:15:08 T:2336   ERROR: invalid literal for float(): 47,0

Thx
CC
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #6
cape-city Wrote:Hi,

ok....found my first issue Wink now the .csv file looks like this:

Code:
"Seconds    System.temp    CPU.temp    GPU.temp    CPU Fan.speed    Vcore.voltage    +12V.voltage    AVcc.voltage    GPU Vddc.voltage"
"76468    47,0    65,5    63,0    1061    1,32    11,8272    3,376    1,1"
"76471    48,0    60,0    66,0    1061    1,32    11,8272    3,376    1,1"
"76474    47,0    63,5    64,0    1048    1,32    11,8272    3,376    1,1"
"76477    47,0    65,5    64,0    1048    1,32    11,8272    3,376    1,1"

I see the problem. Your Speedfan log is providing the numbers with a comma instead of a decimal point. I'm in the US and have limited exposure to other languages. I wasn't aware there were any languages that used the comma instead of a decimal point. Learn something new every day. '-) Is there an easy way to have SpeedFan output stuff to the log with decimal points instead of commas? That would be the short term fix. I'll get on my to-do list to update the script to handle this scenario and get it pushed out as soon as I can.
find quote
cape-city Offline
Junior Member
Posts: 4
Joined: Feb 2012
Reputation: 0
Post: #7
Hi,

"a decimal point instead of a comma" - so easy can life be Wink

I was able to change it directly in SpeedFan and now everything with
u're AddOn works fine for me Wink

Thx for it! Thumbs up!!!
(This post was last modified: 2012-02-27 23:23 by cape-city.)
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #8
cape-city Wrote:Hi,

"a decimal point instead of a comma" - so easy can life be Wink

I was able to change it directly in SpeedFan and now everything with
u're AddOn works fine for me Wink

Thx for it! Thumbs up!!!

Good to know. I'm assuming that a comma separator is what you use in your country though, right (like 47,6 instead of 47.6)? If so I'd like to add that option to the addon so you could have it displayed in the correct way for your area.
find quote
cape-city Offline
Junior Member
Posts: 4
Joined: Feb 2012
Reputation: 0
Post: #9
pkscuot Wrote:Good to know. I'm assuming that a comma separator is what you use in your country though, right (like 47,6 instead of 47.6)? If so I'd like to add that option to the addon so you could have it displayed in the correct way for your area.

Yes, in germany we use a comma as separator!
find quote
josz Offline
Member
Posts: 73
Joined: Jan 2011
Reputation: 0
Location: Netherlands
Post: #10
Works a charm for me, thanks a bunch for this addon!
Like to make a feature suggestion; supporting the xAP protocol would be nice. So You would be able to monitor other systems on your network as well.
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #11
josz Wrote:Works a charm for me, thanks a bunch for this addon!
Like to make a feature suggestion; supporting the xAP protocol would be nice. So You would be able to monitor other systems on your network as well.

I'll look into it. Displaying information from multiple devices would require a pretty substantial change to the interface, and I've never worked with xAP before, so it may take awhile.
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #12
I updated SpeedFan Information Display to support languages that use the comma as the ordinal separator for the decimal point. I put in a pull request, so this show up in the repo sometime this week.
find quote
donnieb113 Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #13
I'm having a strange bug where Speedfan Info Display dosn't throw any "not found" errors but the information screen shows up blank, with verbose logging enabled it looks like it is reading the file, so I have no clue what's wrong.

Code:
3:29:46 T:1792  NOTICE: [speedfaninfo] attempting to create main script object
13:29:46 T:1792  NOTICE: [speedfaninfo] running __init__ from SpeedFanInfoWindow class
13:29:46 T:1328  NOTICE: [speedfaninfo] running the worker thread from inside the def
13:29:46 T:1328  NOTICE: [speedfaninfo] start counting the delay set in the preference
13:29:46 T:1328  NOTICE: [speedfaninfo] window is still open, sleep 1 second
13:29:46 T:1792  NOTICE: [speedfaninfo] worker thread started
13:29:46 T:1792  NOTICE: [speedfaninfo] request window open via doModal
13:29:46 T:3940   ERROR: Control 200 in window 13000 has been asked to focus, but it can't
13:29:46 T:1792  NOTICE: [speedfaninfo] running inInit from SpeedFanInfoWindow class
13:29:46 T:1792  NOTICE: [speedfaninfo] running populateFromLog from SpeedFanInfoWindow class
13:29:46 T:1792  NOTICE: [speedfaninfo] create new LogParser object
13:29:46 T:1792  NOTICE: [speedfaninfo] running __init__ from LogParser class
13:29:46 T:1792  NOTICE: [speedfaninfo] ask the LogParser to get temps, speeds, voltages, and percents
13:29:46 T:1792  NOTICE: [speedfaninfo] running parseLog from LogParser class
13:29:46 T:1792  NOTICE: [speedfaninfo] started parsing log
13:29:46 T:1792  NOTICE: [speedfaninfo] read the log file
13:29:46 T:1792  NOTICE: [speedfaninfo] running readLogFile from LogParser class
13:29:46 T:1792  NOTICE: [speedfaninfo] trying to open logfile C:\Program Files\SpeedFan\SFLog20120522.csv
13:29:46 T:1792  NOTICE: [speedfaninfo] opened logfile C:\Program Files\SpeedFan\SFLog20120522.csv
13:29:46 T:1792  NOTICE: [speedfaninfo] first line: Seconds    GPU    Local    HD0    Core 0    Core 1
13:29:46 T:1792  NOTICE: [speedfaninfo] last line: 48585    40.0    40.0    36.0    28.0    28.0
13:29:46 T:1792  NOTICE: [speedfaninfo] pair up the heading with the value
13:29:46 T:1792  NOTICE: [speedfaninfo]
13:29:46 T:1792  NOTICE: Previous line repeats 3 times.
13:29:46 T:1792  NOTICE: [speedfaninfo] ended parsing log, displaying results
13:29:46 T:1792  NOTICE: [speedfaninfo] starting to convert output for window
13:29:46 T:1792  NOTICE: [speedfaninfo] add fancy degree symbol to temperatures
13:29:46 T:1792  NOTICE: [speedfaninfo] reset the window to prep it for data
13:29:46 T:1792  NOTICE: [speedfaninfo] put in all the temperature information
13:29:46 T:1792  NOTICE: [speedfaninfo] put in all the speed information (including percentages)
13:29:46 T:1792  NOTICE: [speedfaninfo] put in all the voltage information
13:29:46 T:1792  NOTICE: [speedfaninfo] completed putting information into lists, displaying window
13:29:47 T:1328  NOTICE: [speedfaninfo] window is still open, sleep 1 second
13:29:52 T:3940  NOTICE: Previous line repeats 5 times.
13:29:52 T:3940   ERROR: Control 200 in window 13000 has been asked to focus, but it can't
13:29:52 T:1792  NOTICE: [speedfaninfo] running onAction from SpeedFanInfoWindow class
13:29:52 T:1792  NOTICE: [speedfaninfo] user initiated previous menu or back
13:29:52 T:1792  NOTICE: [speedfaninfo] set windowopen to false
13:29:52 T:1792  NOTICE: [speedfaninfo] tell the window to close
13:29:52 T:1792  NOTICE: [speedfaninfo] attempting to delete main object
13:29:52 T:1792  NOTICE: [speedfaninfo] attempting to delete worker thread
13:29:52 T:1792  NOTICE: [speedfaninfo] main object deleted
13:29:52 T:1792  NOTICE: [speedfaninfo] worker thread deleted
13:29:52 T:1792  NOTICE: [speedfaninfo] exiting script
13:29:53 T:3940   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.speedfaninfo
13:29:54 T:1788  NOTICE: -->Python Interpreter Initialized<--
13:29:54 T:1788  NOTICE: [speedfaninfo] attempting to create main script object
13:29:54 T:1788  NOTICE: [speedfaninfo] running __init__ from SpeedFanInfoWindow class
13:29:54 T:1772  NOTICE: [speedfaninfo] running the worker thread from inside the def
13:29:54 T:1772  NOTICE: [speedfaninfo] start counting the delay set in the preference
13:29:54 T:1788  NOTICE: [speedfaninfo] worker thread started
13:29:54 T:1788  NOTICE: [speedfaninfo] request window open via doModal
13:29:54 T:1772  NOTICE: [speedfaninfo] window is still open, sleep 1 second
13:29:54 T:3940   ERROR: Control 200 in window 13000 has been asked to focus, but it can't
13:29:54 T:1788  NOTICE: [speedfaninfo] running inInit from SpeedFanInfoWindow class
13:29:54 T:1788  NOTICE: [speedfaninfo] running populateFromLog from SpeedFanInfoWindow class
13:29:54 T:1788  NOTICE: [speedfaninfo] create new LogParser object
13:29:54 T:1788  NOTICE: [speedfaninfo] running __init__ from LogParser class
13:29:54 T:1788  NOTICE: [speedfaninfo] ask the LogParser to get temps, speeds, voltages, and percents
13:29:54 T:1788  NOTICE: [speedfaninfo] running parseLog from LogParser class
13:29:54 T:1788  NOTICE: [speedfaninfo] started parsing log
13:29:54 T:1788  NOTICE: [speedfaninfo] read the log file
13:29:54 T:1788  NOTICE: [speedfaninfo] running readLogFile from LogParser class
13:29:54 T:1788  NOTICE: [speedfaninfo] trying to open logfile C:\Program Files\SpeedFan\SFLog20120522.csv
13:29:54 T:1788  NOTICE: [speedfaninfo] opened logfile C:\Program Files\SpeedFan\SFLog20120522.csv
13:29:54 T:1788  NOTICE: [speedfaninfo] first line: Seconds    GPU    Local    HD0    Core 0    Core 1
13:29:54 T:1788  NOTICE: [speedfaninfo] last line: 48591    39.0    40.0    36.0    27.0    27.0
13:29:54 T:1788  NOTICE: [speedfaninfo] pair up the heading with the value
13:29:54 T:1788  NOTICE: [speedfaninfo]
13:29:54 T:1788  NOTICE: Previous line repeats 3 times.
13:29:54 T:1788  NOTICE: [speedfaninfo] ended parsing log, displaying results
13:29:54 T:1788  NOTICE: [speedfaninfo] starting to convert output for window
13:29:54 T:1788  NOTICE: [speedfaninfo] add fancy degree symbol to temperatures
13:29:54 T:1788  NOTICE: [speedfaninfo] reset the window to prep it for data
13:29:54 T:1788  NOTICE: [speedfaninfo] put in all the temperature information
13:29:54 T:1788  NOTICE: [speedfaninfo] put in all the speed information (including percentages)
13:29:54 T:1788  NOTICE: [speedfaninfo] put in all the voltage information
13:29:54 T:1788  NOTICE: [speedfaninfo] completed putting information into lists, displaying window
13:29:55 T:1772  NOTICE: [speedfaninfo] window is still open, sleep 1 second
13:29:56 T:3940  NOTICE: Previous line repeats 1 times.
13:29:56 T:3940   ERROR: Control 200 in window 13000 has been asked to focus, but it can't
13:29:56 T:1788  NOTICE: [speedfaninfo] running onAction from SpeedFanInfoWindow class
13:29:56 T:1788  NOTICE: [speedfaninfo] user initiated previous menu or back
13:29:56 T:1788  NOTICE: [speedfaninfo] set windowopen to false
13:29:56 T:1788  NOTICE: [speedfaninfo] tell the window to close
13:29:56 T:1788  NOTICE: [speedfaninfo] attempting to delete main object
13:29:56 T:1788  NOTICE: [speedfaninfo] attempting to delete worker thread
13:29:56 T:1788  NOTICE: [speedfaninfo] main object deleted
13:29:56 T:1788  NOTICE: [speedfaninfo] worker thread deleted
13:29:56 T:1788  NOTICE: [speedfaninfo] exiting script
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #14
(2012-05-22 20:34)donnieb113 Wrote:  I'm having a strange bug where Speedfan Info Display dosn't throw any "not found" errors but the information screen shows up blank, with verbose logging enabled it looks like it is reading the file, so I have no clue what's wrong.
Code:
13:29:46 T:1792  NOTICE: [speedfaninfo] first line: Seconds    GPU    Local    HD0    Core 0    Core 1
13:29:46 T:1792  NOTICE: [speedfaninfo] last line: 48585    40.0    40.0    36.0    28.0    28.0

Take another look at the first post in the SPECIAL LOG CONFIGURATION CONSIDERATIONS section. The header lines need to end with .temp or .speed or .voltage so that the addon knows how to treat them. In your case it looks like you're only trying to look at temperatures, so GPU should really be GPU.temp (for instance). The addon will strip out the .temp suffix when displaying stuff.
find quote
donnieb113 Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #15
Oh man.... infinite face palms on my part, it took me a while to figure out how to change the labels (you click and wait... and if it don't become editable, you click some more and wait), but it's working now!
find quote
Post Reply