March 2007 Archives

2007-03-21 16:07:25

fahmon 2.1.5b.6 released

In this release we have some more bug fixes and some added features by request

Bugs fixed


  • Fixed bug which caused fahmon to crash when a FAHlog.txt without a Project identifier was loaded.
  • Fixed "bug" in the way PPD was grabbed from the benchmarks manager. It is now managed as part of the client class.

Features added


  • Sort by PPD now works, thanks to the above fix to PPD management
  • PPD is now not show for stopped clients, which means total PPD now only includes clients which are active or inactive, but not stopped or "dead".
  • The state of a client has now been added to it's own column, which allows sorting by client state.
  • As a partner to the above feature, a new option has been added to the General Preferences page that allows you to choose whether inaccessible clients are always shown last in the client list (this is the default behaviour). Disabling this may be useful for people monitoring large numbers of clients.
New preferences option

Download (Windows): fahmon_2.1.5b.6.zip

Download (Linux): fahmon_2.1.5b.6.tbz2


Posted by Andrew Schofield [uncle_fungus] | Permanent Link | Categories: fahmon updates

2007-03-18 18:16:07

Windows SMP Open Beta

Since for the moment psummary isn't displaying data for SMP WUs, I've created a mini psummary that will allow you to update fahmon's internal project database with Win SMP WUs and allow you to monitor them correctly.

  • Download WinSMP.html from http://fahmon.fahinfo.org/WinSMP.html (Right click, save as. In IE change the filename to WinSMP.html as by default it will try and save as WinSMP.htm which will not work)
  • Open up fahmon preferences and go to the advanced tab.
  • Select the option to use a local file, and select the WinSMP.html file you just downloaded.
  • Press OK
  • Manually update the project list, by using "Download New Projects" from the FahMon menu. - This will then load the local WinSMP.html file and update the internal database with the Win SMP WUs.
  • Go back to the fahmon preferences and deselect the local file option, this will ensure that any other projects are then updated correctly from psummary

Posted by Andrew Schofield [uncle_fungus] | Permanent Link | Categories: fahmon updates

2007-03-16 22:05:09

fahmon 2.1.5b.5 released

OK, so you may be wondering how/why I got this release out so quickly. Well the answer is, I've just finished my last lecture of the year, and wanted to relax before I start revising for finals and writing reports and essays.

So without further ado, here's what new (cringe):

  • Fixed a bug that causes fahmon not to update the Work Unit Information panel properly. See here. Thanks to RipD for the heads up on this one.
  • Added a system tray menu which display some useful info, and lets you show/hide the client and open the benchmarks and preferences windows
    New Systray Menu
  • Added an option to the per-client right-click menu, to allow you to open the containing folder. On the menu this is called "View Client Files". Thanks to Bruce for this suggestion.
    New Client Menu

This last option also introduces a change to the Preferences Dialog. A new "System" page has been added, the Browser configuration has been moved from the General page to Settings, and renamed to Web Browser. In addition, to support the "View Client Files" feature, another option has been added to the System Page: File Manager.

This comes in the form of a dropdown list containing common file manager selections for Windows and Linux, depending on host OS, and also a manual command box for you to either edit the default commands, or enter new ones.

Filemanager choice: KDE

Filemanager choice: Nautilus

Choosing an unavailable file manager, or incorrect/invalid command will fail silently.

Download (Windows): fahmon_2.1.5b.5.zip

Download (Linux): fahmon_2.1.5b.5.tbz2


Posted by Andrew Schofield [uncle_fungus] | Permanent Link | Categories: fahmon updates

2007-03-16 13:38:40

Fixing non existant projects

The problem: If a client you are monitoring is processing a project that happens to be missing from psummary, the Work Unit Information Panel isn't cleared. If you monitor multiple clients, switching to this "broken" client will leave all the information from the previous client in view, except for the project number. This happens if you have auto update projects enabled. The reason for this breakage, is that fahmon assumes that once the project database is updated it will then contain the data you need, and won't bother clearing it, it just waits for the information to be overwritten. Unfortunately there is no fallback procedure for when the updated database is still missing the data.

The solution: Reset all the data before updating the project list. This way everything gets set to N/A, and if the project info doesn't exist, it doesn't get overwritten.

mainDialog.diff

--- a/mainDialog.cpp	2007-02-01 00:02:29.000000000 +0000
+++ b/mainDialog.cpp	2007-03-16 13:16:04.000000000 +0000
@@ -377,6 +377,16 @@
     // This project can be unknown, if the database is not up to date
     if(project == NULL)
     {
+
+        // Fallback to reset all info in case psummary doesn't contain the data we need
+        // Otherwise bad things happen like the data remaining from the last client viewed
+
+        mProjectId->SetLabel(wxT("N/A"));
+        mCoreName->SetLabel(wxT("N/A"));
+        mCredit->SetLabel(wxT("N/A"));
+        mPreferredDeadline->SetLabel(wxT("N/A"));
+        mFinalDeadline->SetLabel(wxT("N/A"));
+
         // Update the database, if the user wants to
         // This update is not forced, it will occur only if the elapsed time since the last one is high enough
         // This way, we ensure that we won't perform many multiple requests for the file, while it does not

Posted by Andrew Schofield [uncle_fungus] | Permanent Link | Categories: Development

2007-03-15 15:00:00

fahmon 2.1.5b.4 released

A few minor patches applied today over the existing ones present in 2.1.5b.3

The new patches add the ability to change the project data download source. It can either be set as a web resource, with the appropriate settings, or as a local file.

Using a local file as an update source can be useful in cases where data on psummary is incorrect, or simply missing. It allows users to alter the file to correct erroneous data, like p2604 listing only 2 frames when in fact there are 100, or add projects manually which for one reason or another are not present on psummary.

New advanced preferences page

Using the advanced network settings


To contruct the url used to download new project data, fahmon does this:

http://$server:$port/$resource

Therefore with the default settings of:

  • server = fah-web.stanford.edu
  • port = 80
  • resource = psummary.html

Note the lack of trailing and leading backslashes in the above.
The contructed url is:

http://fah-web.stanford.edu:80/psummary.html

If you wanted to alter the download settings to connect to:

http://www.foo.com:8080/bar/psummary.html

The settings would be:

  • server = www.foo.com
  • port = 8080
  • resource = bar/psummary.html

Disabling the advanced settings causes fahmon to revert to its default internal values, which should always work.

This patch also fixes the regression introduced in 2.1.5b.1 which prevented fahmon from monitoring Tinker workunits.

Download (Windows): fahmon_2.1.5b.4.zip

Download (Linux): fahmon_2.1.5b.4.tbz2


Posted by Andrew Schofield [uncle_fungus] | Permanent Link | Categories: fahmon updates