RailsLogVisualizer meets Adobe AIR 27

Posted by Daniel Wanja Tue, 03 Jul 2007 03:22:59 GMT

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

20070702RailsLogVisualizer.jpg

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

Comments

Leave a response

  1. philipp Tue, 03 Jul 2007 14:54:11 GMT

    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>
    
  2. Daniel Wanja Tue, 03 Jul 2007 17:15:03 GMT

    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.

  3. Ladislav Martincik Thu, 05 Jul 2007 08:48:23 GMT

    Hey, I’m actualy running on MS Win, can you recompile the application for me, so I can use it. Thank you,

  4. E Lee Mon, 09 Jul 2007 21:45:13 GMT

    Nice app! Does your Air app talk to a Rails server?

    I am unclear how the two can communicate. Thank you.

  5. Daniel Wanja Mon, 09 Jul 2007 23:14:53 GMT

    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.

  6. Mutiny Design Tue, 17 Jul 2007 23:20:54 GMT

    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.

  7. Daniel Wanja Wed, 18 Jul 2007 13:55:26 GMT

    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?

  8. Simon Fri, 10 Aug 2007 22:14:38 GMT

    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…

  9. Daniel Wanja Sat, 11 Aug 2007 14:43:35 GMT

    Did you try version 0.6 ?

  10. DAddYE Wed, 24 Oct 2007 11:03:37 GMT

    Not work whit lastest air

  11. Gabbo Web Design Thu, 10 Apr 2008 09:50:56 GMT

    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.

  12. Web Design Atlanta Sat, 26 Jul 2008 09:03:11 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  13. Web Design Atlanta Sat, 26 Jul 2008 09:03:11 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  14. Web Design Atlanta Sat, 26 Jul 2008 09:49:33 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  15. Web Design Atlanta Sat, 26 Jul 2008 09:50:05 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  16. Web Design Atlanta Sat, 26 Jul 2008 09:51:26 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  17. Web Design Atlanta Sat, 26 Jul 2008 09:52:18 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  18. Web Design Atlanta Sat, 26 Jul 2008 09:54:19 GMT

    This application is excellent in each and every regard. It’s easy and compatible with applications.

  19. ICTINSITE Fri, 15 Aug 2008 13:42:11 GMT

    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.

Comments