Changeset 479 in tmcsimulator for trunk/src


Ignore:
Timestamp:
08/23/2019 02:21:45 PM (7 years ago)
Author:
jdalbey
Message:

Update actitivylog watcher to obtain path from separate entry in config file. Because in production, the path will be in a separate directory from other log files.

Location:
trunk/src/python/unifiedlogger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/activitylog_watcher.py

    r478 r479  
    11import json, time, ConfigParser 
    2 from copy import deepcopy 
     2#from copy import deepcopy 
    33 
    44# Incident Activity log Watcher 
     
    2424    config = ConfigParser.ConfigParser() 
    2525    config.read('config/logging_service.cfg') 
    26     logfilepath  = config.get('Paths', 'UnifiedLogPath') 
     26    logfilepath = config.get('Paths', 'ActivityLogPath') 
     27    logfilename = "data.json"   #"IncidentActivity.log" 
     28    lines = [] 
    2729     
    28     lines = [] 
    2930    try: 
    30         json_file = open (logfilepath + "IncidentActivity.log",'r') 
     31        json_file = open (logfilepath + logfilename,'r') 
    3132    except IOError: 
    32         print "Error: missing "+logfilepath+"IncidentActivity.log file." 
     33        print "Error: missing "+logfilepath+logfilename+" file." 
    3334    else: 
    3435        jsonData=json_file.read() 
  • trunk/src/python/unifiedlogger/wing_project.wpr

    r478 r479  
    198198                       'toolbox-percent': 1.0, 
    199199                       'toolbox-tree-sel': ''})], 
    200         'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('activitylog_watcher.py'), 
    201         {'attrib-starts': [('getLogEntries|0|', 
    202                             42)], 
    203          'code-line': '        desiredFields = "Activity Log.,"+name+","+cod'\ 
    204                       'e+","+msg\n', 
    205          'first-line': 33L, 
     200        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('../../../config/logging_service.cfg'), 
     201        {'attrib-starts': [], 
     202         'code-line': 'ActivityLogPath = webapps/dynamicdata/\n', 
     203         'first-line': 0L, 
    206204         'folded-linenos': [], 
    207          'sel-line': 55L, 
    208          'sel-line-start': 1666L, 
    209          'selection_end': 1728L, 
    210          'selection_start': 1728L, 
     205         'sel-line': 2L, 
     206         'sel-line-start': 46L, 
     207         'selection_end': 84L, 
     208         'selection_start': 84L, 
    211209         'zoom': 0L}, 
    212         1564408367.809524], 
    213         [loc('cad_watcher.py'), 
    214          {'attrib-starts': [('getLogEntries|0|', 
    215                              24)], 
    216           'code-line': "            msgList = text_file.read().split('\\n')"\ 
    217                        "\n", 
    218           'first-line': 38L, 
    219           'folded-linenos': [], 
    220           'sel-line': 52L, 
    221           'sel-line-start': 1613L, 
    222           'selection_end': 1613L, 
    223           'selection_start': 1613L, 
    224           'zoom': 0L}, 
    225          1564408386.133798], 
    226         [loc('logging_service.py'), 
    227          {'attrib-starts': [('startup|0|', 
    228                              20)], 
    229           'code-line': '    #       Append simulation time and the log entri'\ 
    230                        'es to the Output Buffer\n', 
     210        1566600666.088779], 
     211        [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
     212         {'attrib-starts': [('ConfigParser|0|', 
     213                             85), 
     214                            ('ConfigParser|0|.get|0|', 
     215                             589)], 
     216          'code-line': '                raise NoSectionError(section)\n', 
     217          'first-line': 589L, 
     218          'folded-linenos': [], 
     219          'sel-line': 606L, 
     220          'sel-line-start': 22028L, 
     221          'selection_end': 22028L, 
     222          'selection_start': 22028L, 
     223          'zoom': 0L}, 
     224         1566600669.118991], 
     225        [loc('../../../config/logging_service.cfg'), 
     226         {'attrib-starts': [], 
     227          'code-line': 'ActivityLogPath = webapps/dynamicdata/\n', 
     228          'first-line': 0L, 
     229          'folded-linenos': [], 
     230          'sel-line': 2L, 
     231          'sel-line-start': 46L, 
     232          'selection_end': 84L, 
     233          'selection_start': 84L, 
     234          'zoom': 0L}, 
     235         1566600690.155041], 
     236        [loc('activitylog_watcher.py'), 
     237         {'attrib-starts': [], 
     238          'code-line': '#from copy import deepcopy\n', 
    231239          'first-line': 15L, 
    232240          'folded-linenos': [], 
    233           'sel-line': 55L, 
    234           'sel-line-start': 1843L, 
    235           'selection_end': 1851L, 
    236           'selection_start': 1851L, 
    237           'zoom': 0L}, 
    238          1564408404.830956], 
    239         [loc('cad_watcher.py'), 
    240          {'attrib-starts': [('getLogEntries|0|', 
    241                              24)], 
    242           'code-line': '            print pathToLog + " missing: assuming re'\ 
    243                        'set."\n', 
    244           'first-line': 35L, 
    245           'folded-linenos': [], 
    246           'sel-line': 37L, 
    247           'sel-line-start': 1087L, 
    248           'selection_end': 1143L, 
    249           'selection_start': 1143L, 
    250           'zoom': 0L}, 
    251          1564436972.290038], 
    252         [loc('logging_service.py'), 
    253          {'attrib-starts': [('startup|0|', 
    254                              20)], 
    255           'code-line': '    #       Append simulation time and the log entri'\ 
    256                        'es to the Output Buffer\n', 
    257           'first-line': 0L, 
    258           'folded-linenos': [], 
    259           'sel-line': 55L, 
    260           'sel-line-start': 1843L, 
    261           'selection_end': 1851L, 
    262           'selection_start': 1851L, 
    263           'zoom': 0L}, 
    264          1564436998.714792], 
    265         [loc('cad_watcher.py'), 
    266          {'attrib-starts': [('getLogEntries|0|', 
    267                              24)], 
    268           'code-line': '            print pathToLog + " missing: assuming re'\ 
    269                        'set."\n', 
    270           'first-line': 20L, 
    271           'folded-linenos': [], 
    272           'sel-line': 37L, 
    273           'sel-line-start': 1087L, 
    274           'selection_end': 1143L, 
    275           'selection_start': 1143L, 
    276           'zoom': 0L}, 
    277          1564437041.061947], 
    278         [loc('logging_service.py'), 
    279          {'attrib-starts': [('getSimTime|0|', 
    280                              13)], 
    281           'code-line': '\n', 
    282           'first-line': 0L, 
    283           'folded-linenos': [], 
    284           'sel-line': 24L, 
    285           'sel-line-start': 789L, 
    286           'selection_end': 789L, 
    287           'selection_start': 789L, 
    288           'zoom': 0L}, 
    289          1564438151.528836], 
    290         [loc('cad_watcher.py'), 
    291          {'attrib-starts': [('getLogEntries|0|', 
    292                              24)], 
    293           'code-line': '            print pathToLog + " missing: assuming re'\ 
    294                        'set."\n', 
    295           'first-line': 32L, 
    296           'folded-linenos': [], 
    297           'sel-line': 37L, 
    298           'sel-line-start': 1087L, 
    299           'selection_end': 1143L, 
    300           'selection_start': 1143L, 
    301           'zoom': 0L}, 
    302          1564438185.449366], 
     241          'sel-line': 1L, 
     242          'sel-line-start': 32L, 
     243          'selection_end': 33L, 
     244          'selection_start': 33L, 
     245          'zoom': 0L}, 
     246         1566600696.93349], 
    303247        [loc('logging_service.py'), 
    304248         {'attrib-starts': [('getSimTime|0|', 
     
    306250          'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    307251                       'S(seconds)\n', 
    308           'first-line': 0L, 
     252          'first-line': 3L, 
    309253          'folded-linenos': [], 
    310254          'sel-line': 21L, 
     
    313257          'selection_start': 649L, 
    314258          'zoom': 0L}, 
    315          1564440773.252122], 
    316         [loc('activitylog_watcher.py'), 
    317          {'attrib-starts': [('getLogEntries|0|', 
    318                              42)], 
    319           'code-line': '        desiredFields = "Activity Log.,"+name+","+co'\ 
    320                        'de+" "+msg\n', 
     259         1566600699.578844], 
     260        [loc('../../../config/logging_service.cfg'), 
     261         {'attrib-starts': [], 
     262          'code-line': 'ActivityLogPath = webapps/dynamicdata/\n', 
    321263          'first-line': 0L, 
    322264          'folded-linenos': [], 
    323           'sel-line': 55L, 
    324           'sel-line-start': 1666L, 
    325           'selection_end': 1723L, 
    326           'selection_start': 1723L, 
    327           'zoom': 0L}, 
    328          1564453007.218601], 
    329         [loc('cad_watcher.py'), 
    330          {'attrib-starts': [('getLogEntries|0|', 
    331                              24)], 
    332           'code-line': '            print pathToLog + " missing: assuming re'\ 
    333                        'set."\n', 
     265          'sel-line': 2L, 
     266          'sel-line-start': 46L, 
     267          'selection_end': 84L, 
     268          'selection_start': 84L, 
     269          'zoom': 0L}, 
     270         1566600715.315246], 
     271        [loc('activitylog_watcher.py'), 
     272         {'attrib-starts': [('readFile|0|', 
     273                             21)], 
     274          'code-line': "    logfilepath = config.get('Paths', 'ActivityLogPa"\ 
     275                       "th')\n", 
     276          'first-line': 15L, 
     277          'folded-linenos': [], 
     278          'sel-line': 25L, 
     279          'sel-line-start': 767L, 
     280          'selection_end': 767L, 
     281          'selection_start': 767L, 
     282          'zoom': 0L}, 
     283         1566600747.038673], 
     284        [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
     285         {'attrib-starts': [('ConfigParser|0|', 
     286                             85), 
     287                            ('ConfigParser|0|.get|0|', 
     288                             589)], 
     289          'code-line': '                raise NoSectionError(section)\n', 
     290          'first-line': 589L, 
     291          'folded-linenos': [], 
     292          'sel-line': 606L, 
     293          'sel-line-start': 22028L, 
     294          'selection_end': 22028L, 
     295          'selection_start': 22028L, 
     296          'zoom': 0L}, 
     297         1566600751.835139], 
     298        [loc('activitylog_watcher.py'), 
     299         {'attrib-starts': [('readFile|0|', 
     300                             21)], 
     301          'code-line': "    logfilepath = config.get('Paths', 'ActivityLogPa"\ 
     302                       "th')\n", 
     303          'first-line': 15L, 
     304          'folded-linenos': [], 
     305          'sel-line': 25L, 
     306          'sel-line-start': 767L, 
     307          'selection_end': 767L, 
     308          'selection_start': 767L, 
     309          'zoom': 0L}, 
     310         1566600765.566783], 
     311        [loc('../../../config/logging_service.cfg'), 
     312         {'attrib-starts': [], 
     313          'code-line': 'UnifiedLogPath = webapps/dynamicdata/\n', 
    334314          'first-line': 0L, 
    335315          'folded-linenos': [], 
    336           'sel-line': 37L, 
    337           'sel-line-start': 1087L, 
    338           'selection_end': 1143L, 
    339           'selection_start': 1143L, 
    340           'zoom': 0L}, 
    341          1564453014.195405], 
    342         [loc('logging_service.py'), 
    343          {'attrib-starts': [('getSimTime|0|', 
    344                              13)], 
    345           'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    346                        'S(seconds)\n', 
    347           'first-line': 0L, 
    348           'folded-linenos': [], 
    349           'sel-line': 21L, 
    350           'sel-line-start': 649L, 
    351           'selection_end': 649L, 
    352           'selection_start': 649L, 
    353           'zoom': 0L}, 
    354          1564453030.973979], 
    355         [loc('unknown:untitled-1.py'), 
     316          'sel-line': 1L, 
     317          'sel-line-start': 8L, 
     318          'selection_end': 22L, 
     319          'selection_start': 8L, 
     320          'zoom': 0L}, 
     321         1566600771.661802], 
     322        [loc('activitylog_watcher.py'), 
     323         {'attrib-starts': [('readFile|0|', 
     324                             21)], 
     325          'code-line': "    logfilepath = config.get('Paths', 'UnifiedLogPat"\ 
     326                       "h')\n", 
     327          'first-line': 15L, 
     328          'folded-linenos': [], 
     329          'sel-line': 25L, 
     330          'sel-line-start': 767L, 
     331          'selection_end': 767L, 
     332          'selection_start': 767L, 
     333          'zoom': 0L}, 
     334         1566600786.484821], 
     335        [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
     336         {'attrib-starts': [('ConfigParser|0|', 
     337                             85), 
     338                            ('ConfigParser|0|.get|0|', 
     339                             589)], 
     340          'code-line': '                raise NoSectionError(section)\n', 
     341          'first-line': 596L, 
     342          'folded-linenos': [], 
     343          'sel-line': 606L, 
     344          'sel-line-start': 22028L, 
     345          'selection_end': 22028L, 
     346          'selection_start': 22028L, 
     347          'zoom': 0L}, 
     348         1566600797.469543], 
     349        [loc('activitylog_watcher.py'), 
     350         {'attrib-starts': [('readFile|0|', 
     351                             21)], 
     352          'code-line': "    logfilepath = config.get('Paths', 'UnifiedLogPat"\ 
     353                       "h')\n", 
     354          'first-line': 15L, 
     355          'folded-linenos': [], 
     356          'sel-line': 25L, 
     357          'sel-line-start': 767L, 
     358          'selection_end': 767L, 
     359          'selection_start': 767L, 
     360          'zoom': 0L}, 
     361         1566600824.872938], 
     362        [loc('__main__.py'), 
    356363         {'attrib-starts': [], 
    357           'code-line': '', 
     364          'code-line': 'import logging_service, os, ConfigParser\n', 
    358365          'first-line': 0L, 
    359366          'folded-linenos': [], 
    360367          'sel-line': 0L, 
    361368          'sel-line-start': 0L, 
    362           'selection_end': 0L, 
    363           'selection_start': 0L, 
    364           'zoom': 0L}, 
    365          1564453042.242505], 
    366         [loc('logging_service.py'), 
    367          {'attrib-starts': [('getSimTime|0|', 
    368                              13)], 
    369           'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    370                        'S(seconds)\n', 
     369          'selection_end': 40L, 
     370          'selection_start': 28L, 
     371          'zoom': 0L}, 
     372         1566600828.88837], 
     373        [loc('activitylog_watcher.py'), 
     374         {'attrib-starts': [('readFile|0|', 
     375                             21)], 
     376          'code-line': "    logfilepath = config.get('Paths', 'ActivityLogPa"\ 
     377                       "th')\n", 
     378          'first-line': 15L, 
     379          'folded-linenos': [], 
     380          'sel-line': 25L, 
     381          'sel-line-start': 767L, 
     382          'selection_end': 814L, 
     383          'selection_start': 814L, 
     384          'zoom': 0L}, 
     385         1566600871.549505], 
     386        [loc('__main__.py'), 
     387         {'attrib-starts': [], 
     388          'code-line': 'import logging_service, os, ConfigParser\n', 
    371389          'first-line': 0L, 
    372390          'folded-linenos': [], 
    373           'sel-line': 21L, 
    374           'sel-line-start': 649L, 
    375           'selection_end': 649L, 
    376           'selection_start': 649L, 
    377           'zoom': 0L}, 
    378          1564453047.692926], 
    379         [loc('test_logging_service.py'), 
    380          {'attrib-starts': [('test_toHMS|0|', 
    381                              0)], 
    382           'code-line': '    ', 
     391          'sel-line': 0L, 
     392          'sel-line-start': 0L, 
     393          'selection_end': 40L, 
     394          'selection_start': 28L, 
     395          'zoom': 0L}, 
     396         1566600879.173012], 
     397        [loc('activitylog_watcher.py'), 
     398         {'attrib-starts': [('readFile|0|', 
     399                             21)], 
     400          'code-line': '    logfilename = "data.json"   #"IncidentActivity.l'\ 
     401                       'og"\n', 
     402          'first-line': 18L, 
     403          'folded-linenos': [], 
     404          'sel-line': 26L, 
     405          'sel-line-start': 824L, 
     406          'selection_end': 857L, 
     407          'selection_start': 857L, 
     408          'zoom': 0L}, 
     409         1566600913.173925], 
     410        [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
     411         {'attrib-starts': [('ConfigParser|0|', 
     412                             85), 
     413                            ('ConfigParser|0|.get|0|', 
     414                             589)], 
     415          'code-line': '                raise NoSectionError(section)\n', 
     416          'first-line': 596L, 
     417          'folded-linenos': [], 
     418          'sel-line': 606L, 
     419          'sel-line-start': 22028L, 
     420          'selection_end': 22028L, 
     421          'selection_start': 22028L, 
     422          'zoom': 0L}, 
     423         1566600921.8293], 
     424        [loc('activitylog_watcher.py'), 
     425         {'attrib-starts': [('readFile|0|', 
     426                             21)], 
     427          'code-line': '    logfilename = "data.json"   #"IncidentActivity.l'\ 
     428                       'og"\n', 
     429          'first-line': 18L, 
     430          'folded-linenos': [], 
     431          'sel-line': 26L, 
     432          'sel-line-start': 824L, 
     433          'selection_end': 857L, 
     434          'selection_start': 857L, 
     435          'zoom': 0L}, 
     436         1566600922.721255], 
     437        [loc('__main__.py'), 
     438         {'attrib-starts': [], 
     439          'code-line': 'import logging_service, os, ConfigParser\n', 
    383440          'first-line': 0L, 
    384441          'folded-linenos': [], 
    385           'sel-line': 3L, 
    386           'sel-line-start': 57L, 
    387           'selection_end': 61L, 
    388           'selection_start': 61L, 
    389           'zoom': 0L}, 
    390          1564453169.869372], 
    391         [loc('logging_service.py'), 
    392          {'attrib-starts': [('getSimTime|0|', 
    393                              13)], 
    394           'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    395                        'S(seconds)\n', 
    396           'first-line': 0L, 
    397           'folded-linenos': [], 
    398           'sel-line': 21L, 
    399           'sel-line-start': 649L, 
    400           'selection_end': 649L, 
    401           'selection_start': 649L, 
    402           'zoom': 0L}, 
    403          1564453453.032643], 
    404         [loc('test_logging_service.py'), 
    405          {'attrib-starts': [('test_toHMS|0|', 
    406                              2)], 
    407           'code-line': '    ', 
    408           'first-line': 0L, 
    409           'folded-linenos': [], 
    410           'sel-line': 7L, 
    411           'sel-line-start': 194L, 
    412           'selection_end': 198L, 
    413           'selection_start': 198L, 
    414           'zoom': 0L}, 
    415          1564453867.007001], 
    416         [loc('test_logging_service.py'), 
    417          {'attrib-starts': [('test_toHMS|0|', 
    418                              2)], 
    419           'code-line': 'def test_toHMS():\n', 
    420           'first-line': 0L, 
    421           'folded-linenos': [], 
    422           'sel-line': 2L, 
    423           'sel-line-start': 35L, 
    424           'selection_end': 49L, 
    425           'selection_start': 39L, 
    426           'zoom': 0L}, 
    427          1564453872.826719], 
    428         [loc('logging_service.py'), 
    429          {'attrib-starts': [('getSimTime|0|', 
    430                              13)], 
    431           'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    432                        'S(seconds)\n', 
    433           'first-line': 30L, 
    434           'folded-linenos': [], 
    435           'sel-line': 21L, 
    436           'sel-line-start': 649L, 
    437           'selection_end': 649L, 
    438           'selection_start': 649L, 
    439           'zoom': 0L}, 
    440          1564453933.136133], 
    441         [loc('test_logging_service.py'), 
    442          {'attrib-starts': [('test_toHMS|0|', 
    443                              2)], 
    444           'code-line': '    assert toHMS(3601) == "1:00:01"\n', 
    445           'first-line': 0L, 
    446           'folded-linenos': [], 
    447           'sel-line': 6L, 
    448           'sel-line-start': 158L, 
    449           'selection_end': 192L, 
    450           'selection_start': 192L, 
    451           'zoom': 0L}, 
    452          1564454686.591132]], 
     442          'sel-line': 0L, 
     443          'sel-line-start': 0L, 
     444          'selection_end': 40L, 
     445          'selection_start': 28L, 
     446          'zoom': 0L}, 
     447         1566600934.334362]], 
    453448        20), 
    454         'current-loc': loc('cad_watcher.py'), 
     449        'current-loc': loc('activitylog_watcher.py'), 
    455450        'editor-state-list': [(loc('activitylog_watcher.py'), 
    456                                {'attrib-starts': [('getLogEntries|0|', 
    457         42)], 
    458                                 'code-line': '        desiredFields = "Activ'\ 
    459         'ity Log.,"+name+","+code+" "+msg\n', 
    460                                 'first-line': 0L, 
     451                               {'attrib-starts': [('readFile|0|', 
     452        21)], 
     453                                'code-line': '    logfilename = "data.json" '\ 
     454        '  #"IncidentActivity.log"\n', 
     455                                'first-line': 18L, 
    461456                                'folded-linenos': [], 
    462                                 'sel-line': 55L, 
    463                                 'sel-line-start': 1666L, 
    464                                 'selection_end': 1723L, 
    465                                 'selection_start': 1723L, 
     457                                'sel-line': 26L, 
     458                                'sel-line-start': 824L, 
     459                                'selection_end': 857L, 
     460                                'selection_start': 857L, 
    466461                                'zoom': 0L}), 
    467462                              (loc('cad_watcher.py'), 
     
    490485                              (loc('../../../config/logging_service.cfg'), 
    491486                               {'attrib-starts': [], 
    492                                 'code-line': '[Paths]\n', 
     487                                'code-line': 'UnifiedLogPath = webapps/dynam'\ 
     488        'icdata/\n', 
    493489                                'first-line': 0L, 
    494490                                'folded-linenos': [], 
    495                                 'sel-line': 0L, 
    496                                 'sel-line-start': 0L, 
    497                                 'selection_end': 0L, 
    498                                 'selection_start': 0L, 
     491                                'sel-line': 1L, 
     492                                'sel-line-start': 8L, 
     493                                'selection_end': 22L, 
     494                                'selection_start': 8L, 
    499495                                'zoom': 0L}), 
    500496                              (loc('logging_service.py'), 
     
    503499                                'code-line': '       print "Proceeding with '\ 
    504500        'previous time: ", toHMS(seconds)\n', 
    505                                 'first-line': 30L, 
     501                                'first-line': 3L, 
    506502                                'folded-linenos': [], 
    507503                                'sel-line': 21L, 
     
    509505                                'selection_end': 649L, 
    510506                                'selection_start': 649L, 
    511                                 'zoom': 0L}), 
    512                               (loc('test_logging_service.py'), 
    513                                {'attrib-starts': [('test_toHMS|0|', 
    514         2)], 
    515                                 'code-line': '    assert toHMS(3601) == "1:0'\ 
    516         '0:01"\n', 
    517                                 'first-line': 0L, 
    518                                 'folded-linenos': [], 
    519                                 'sel-line': 6L, 
    520                                 'sel-line-start': 158L, 
    521                                 'selection_end': 192L, 
    522                                 'selection_start': 192L, 
    523507                                'zoom': 0L}), 
    524508                              (loc('__main__.py'), 
     
    540524         loc('../../../config/logging_service.cfg'), 
    541525         loc('logging_service.py'), 
    542          loc('test_logging_service.py'), 
    543526         loc('__main__.py')]), 
    544                                'open_files': [u'../../../config/logging_service.cfg', 
     527                               'open_files': [u'cms_watcher.py', 
     528        u'cad_watcher.py', 
     529        u'logging_service.py', 
     530        u'../../../config/logging_service.cfg', 
    545531        u'__main__.py', 
    546         u'cms_watcher.py', 
    547         u'activitylog_watcher.py', 
    548         u'logging_service.py', 
    549         u'test_logging_service.py', 
    550         u'cad_watcher.py']}, 
     532        u'activitylog_watcher.py']}, 
    551533        'saved_notebook_display': None, 
    552534        'split_percents': {0: 0.5}, 
     
    555537        'traversal_pos': ((0, 
    556538                           3), 
    557                           1564454637.847513), 
     539                          1566600913.140074), 
    558540        'user_data': {}}, 
    559541                 'saved_notebook_display': None, 
     
    563545                 'traversal_pos': ((0, 
    564546                                    4), 
    565                                    1564454677.406196), 
     547                                   1566600923.964362), 
    566548                 'user_data': {}}, 
    567549        'window-alloc': (29, 
     
    569551                         1197, 
    570552                         722)}]} 
    571 guimgr.recent-documents = [loc('cad_watcher.py'), 
    572                            loc('test_logging_service.py'), 
     553guimgr.recent-documents = [loc('activitylog_watcher.py'), 
     554                           loc('__main__.py'), 
     555                           loc('../../../config/logging_service.cfg'), 
    573556                           loc('logging_service.py'), 
    574                            loc('activitylog_watcher.py'), 
    575                            loc('__main__.py'), 
    576                            loc('cms_watcher.py'), 
    577                            loc('../../../config/logging_service.cfg')] 
     557                           loc('cad_watcher.py'), 
     558                           loc('cms_watcher.py')] 
    578559guimgr.visual-state = {loc('get_app_properties.py'): {'attrib-starts': [], 
    579560        'code-line': '', 
     
    593574        'selection_end': 455L, 
    594575        'selection_start': 455L, 
     576        'zoom': 0L}, 
     577                       loc('test_logging_service.py'): {'attrib-starts': [('t'\ 
     578        'est_toHMS|0|', 
     579        2)], 
     580        'code-line': '    assert toHMS(3601) == "1:00:01"\n', 
     581        'first-line': 0L, 
     582        'folded-linenos': [], 
     583        'sel-line': 6L, 
     584        'sel-line-start': 158L, 
     585        'selection_end': 192L, 
     586        'selection_start': 192L, 
    595587        'zoom': 0L}, 
    596588                       loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\ 
     
    613605                          589)], 
    614606        'code-line': '                raise NoSectionError(section)\n', 
    615         'first-line': 601L, 
     607        'first-line': 596L, 
    616608        'folded-linenos': [], 
    617609        'sel-line': 606L, 
Note: See TracChangeset for help on using the changeset viewer.