view system_check.py @ 206:ab271cbd05c8 alpha

Traipse Alpha 'OpenRPG' {100427-07} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary (Patch-2) New Features: New Namespace method with two new syntaxes New Namespace Internal is context sensitive, always! New Namespace External is 'as narrow as you make it' New Namespace FutureCheck helps ensure you don't receive an incorrect node New PluginDB access for URL2Link plugin New to Forms, they now show their content in Design Mode New to Update Manager, checks Repo for updates on software start Fixes: Fix to Server GUI startup errors Fix to Server GUI Rooms tab updating Fix to Chat and Settings if non existant die roller is picked Fix to Dieroller and .open() used with .vs(). Successes are correctly calculated Fix to Alias Lib's Export to Tree, Open, Save features Fix to alias node, now works properly Fix to Splitter node, minor GUI cleanup Fix to Backgrounds not loading through remote loader Fix to Node name errors Fix to rolling dice in chat Whispers Fix to Splitters Sizing issues Fix to URL2Link plugin, modified regex compilation should remove memory leak Fix to mapy.py, a roll back due to zoomed grid issues Fix to whiteboard_handler, Circles work by you clicking the center of the circle Fix to Servers parse_incoming_dom which was outdated and did not respect XML Fix to a broken link in the server welcome message Fix to InterParse and logger requiring traceback Fix to Update Manager Status Bar Fix to failed image and erroneous pop up Daily-0?: I was having problems with Chat tabs. All fixed now. Daily-0?: Chat tabs an a small urgency with the Server, plus I kept working. Daily-05: Cuz I messed up just a little. Daily-06: Copied the wrong file for the Update Manager update. Daily-07: This time with the wrong repo. Oops.
author sirebral
date Tue, 27 Apr 2010 23:26:15 -0500
parents 4385a7d0efd1
children
line wrap: on
line source

import sys
import time
import platform
import wx
import orpg.orpg_version

class system_check:

    def start(self,log_file='openrpg_sysinfo.txt'):
        self.log_file = open(log_file,'w')
        self.log_file.write("OpenRPG System Info " + time.strftime( '%m-%d-%y', time.localtime( time.time() ) ))
        self.check_openrpg()
        self.check_py()
        self.check_wxpython()
        self.check_platform()
        self.log_file.close()

    def check_wxpython(self):
        self.log_file.write("\nwxPython Version: " + wx.__version__)

    def check_py(self):
        self.log_file.write("\nPython: " + sys.version)

    def check_platform(self):
        self.log_file.write("\nPlatform: " + platform.platform())

    def check_openrpg(self):
        self.log_file.write("\nOpenRPG Version: " + orpg.orpg_version.VERSION)
        self.log_file.write("\nOpenRPG Build: " + orpg.orpg_version.BUILD)



if __name__ == "__main__":
    syscheck = system_check()
    syscheck.start()