RailsLogVisualizer meets Adobe AIR 13
I recompiled the Log Visualizer with Adobe AIR. You can download it here.

I tried it under Windows XP (Parallels) and it seems that the File.browseForOpen doesn’t fire the Event.SELECT event under Windows. So the bug is that you can open a file, but the application doesn’t know when you selected it. I was contacted by Logan today who wanted to know if there is a Windows version. So sorry for the Windows users out there for the moment. Note that the Apollo version of the Log Visualizer was working under windows.
Download: RailsLogVisualizer0.5.air
hi, File.browseForOpen works but you can’t initialize the file and the eventlistener in the same function. this works …
<mx:Script> <![CDATA[ import flash.filesystem.File; import flash.events.Event; private var myFile:File = File.desktopDirectory; private function openFile():void { try { myFile.browseForOpen("open file..."); } catch(e:Error) { } myFile.addEventListener(Event.SELECT, onSelectFileToOpen); } private function onSelectFileToOpen(e:Event):void { trace("onSelectFileToOpen() " + e.target); } ]]> </mx:Script>Now that you mention it, I had the same issue with the WebSnapshot browseForSave. I guess is was a little too late for me yesterday. I’ll try to Fix that and see if it works on both Windows and OSX. Still strange that it works on OSX. The fix Philipp mentions allows to avoid the File reference to be garbage collected I assume. At least that seemed to have been the issue with my browseForSave problem. Thanks.
Hey, I’m actualy running on MS Win, can you recompile the application for me, so I can use it. Thank you,
Nice app! Does your Air app talk to a Rails server?
I am unclear how the two can communicate. Thank you.
The RailsLogVisualizer his is a pure AIR/Flex application. The first version had an embedded Ruby web server (not Rails but GServer) to allow accessing the file system. But since an Adobe AIR application provide that functionality I dropped the Ruby part. Hope that clarifies.
Is there anywhere I can go to overview the features of this app? Want to check it out against Google Analytics. Also what would you say the reliablity of the results are. I recently played about with collecting analytical data from PHP, to find out there are a great number of pitfalls you can fall into.
The source code of a prior version that wasn’t pure Flex/AIR can be seen on http://rubyforge.org/projects/railslogvislzr/. I haven’t changed much on the analytical part. Now I can not garantie any reliability of the results :-) but the approach I took is pretty simple and all of the data that is aggregated comes from individual lines in the log files, so I avoid issues where some request data is spread over several lines but where the lines can be intermingled, resulting in erroneous analytical data. Any other pitfalls you could point me to?
Same problem as stated above but on Mac OS X. The file dialog only works if you define the variable out of the function scope. So it’s not only a Vista thing. That’s why it’s still beta probably…
Did you try version 0.6 ?
Not work whit lastest air
Excellent application. I have been playing with the features and I find it very useful and very easy to use. I look forward to future releases.
Is there anywhere I can go to overview the features of this app? Want to check it out against Google Analytics. Also what would you say the reliablity of the results are. I recently played about with collecting analytical data from PHP, to find out there are a great number of pitfalls you can fall into.
Wow, nice application