Ignore:
Timestamp:
12/26/2019 03:10:19 PM (6 years ago)
Author:
jdalbey
Message:

Modify extract_caddetails to not merge with unifiedlog; this is now done in mergelogs.bash shell script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/wing_project.wpr

    r549 r550  
    55################################################################## 
    66[project attributes] 
     7console.toolbox = [{'autosave': False, 
     8                    'id': 'cmd-V24LgbnhXmQ69KYX', 
     9                    'io_encoding': None, 
     10                    'key_binding': None, 
     11                    'line_mode': True, 
     12                    'loc': u'/home/jdalbey/Dropbox/TMCrepo/trunk/src/python/unifiedlogger/__main__.py', 
     13                    'pseudo_tty': False, 
     14                    'raise_panel': True, 
     15                    'shared': False, 
     16                    'title': None}, 
     17                   {'autosave': False, 
     18                    'id': 'cmd-zde72uIOzRuMXDlM', 
     19                    'io_encoding': None, 
     20                    'key_binding': None, 
     21                    'line_mode': True, 
     22                    'loc': u'/home/jdalbey/Dropbox/TMCrepo/trunk/src/python/unifiedlogger/extract_caddetails.py', 
     23                    'pseudo_tty': False, 
     24                    'raise_panel': True, 
     25                    'shared': False, 
     26                    'title': None}] 
    727debug.launch-configs = (2, 
    828                        {'launch-79fWcT8eQm1A3xyz': ({}, 
     
    4969                      loc('extend_unifiedlogger.py'): ('custom', 
    5070        (u'', 
     71         'launch-Dap54cn2qAN7AXZm')), 
     72                      loc('extract_caddetails.py'): ('custom', 
     73        (u'', 
    5174         'launch-Dap54cn2qAN7AXZm'))} 
    52 proj.main-file = loc('extend_unifiedlogger.py') 
     75proj.main-file = loc('extract_caddetails.py') 
    5376[user attributes] 
    5477debug.show-args-dialog = {loc('__main__.py'): False} 
     
    5881                            'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\ 
    5982        'v7Dw8l', 
    60         'size-state': 'maximized', 
     83        'size-state': '', 
    6184        'type': 'dock', 
    6285        'view': {'area': 'tall', 
     
    102125                 'primary_view_state': {'area': 'wide', 
    103126        'constraint': None, 
    104         'current_pages': [3, 
    105                           1], 
     127        'current_pages': [1, 
     128                          2], 
    106129        'notebook_display': 'normal', 
    107         'notebook_percent': 0.16227461858529824, 
     130        'notebook_percent': 0.4230235783633842, 
    108131        'override_title': None, 
    109132        'pagelist': [('batch-search', 
     
    151174                                       'fOmitBinary': True, 
    152175                                       'fRegexFlags': 42, 
    153                                        'fReplaceText': u'lastLineNum', 
     176                                       'fReplaceText': u'details_file', 
    154177                                       'fReverse': False, 
    155                                        'fSearchText': u'fileLength', 
     178                                       'fSearchText': u'out_file', 
    156179                                       'fStartPos': 0, 
    157180                                       'fStyle': 'text', 
     
    188211                       'launch-id': None, 
    189212                       'sel-line': 3L, 
    190                        'sel-line-start': 132L, 
    191                        'selection_end': 132L, 
    192                        'selection_start': 132L, 
     213                       'sel-line-start': 131L, 
     214                       'selection_end': 131L, 
     215                       'selection_start': 131L, 
    193216                       'zoom': 0L}), 
    194217                     ('messages', 
     
    201224                      {'last-percent': 0.8, 
    202225                       'toolbox-percent': 1.0, 
    203                        'toolbox-tree-sel': ''})], 
    204         'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('logging_service.py'), 
    205         {'attrib-starts': [('getSimTime|0|', 
    206                             13)], 
    207          'code-line': '       print "Proceeding with previous time: ", toHMS'\ 
    208                       '(seconds)\n', 
    209          'first-line': 0L, 
     226                       'toolbox-tree-sel': 'cmd-zde72uIOzRuMXDlM'})], 
     227        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('extend_unifiedlogger.py'), 
     228        {'attrib-starts': [], 
     229         'code-line': '        for info_type in script_event:\n', 
     230         'first-line': 15L, 
    210231         'folded-linenos': [], 
    211          'sel-line': 21L, 
    212          'sel-line-start': 649L, 
    213          'selection_end': 649L, 
    214          'selection_start': 649L, 
     232         'sel-line': 27L, 
     233         'sel-line-start': 879L, 
     234         'selection_end': 879L, 
     235         'selection_start': 879L, 
    215236         'zoom': 0L}, 
    216         1569957016.54503], 
    217         [loc('__main__.py'), 
    218          {'attrib-starts': [], 
    219           'code-line': 'import logging_service, os, ConfigParser\n', 
    220           'first-line': 0L, 
    221           'folded-linenos': [], 
    222           'sel-line': 0L, 
    223           'sel-line-start': 0L, 
    224           'selection_end': 40L, 
    225           'selection_start': 28L, 
    226           'zoom': 0L}, 
    227          1573490786.397811], 
    228         [loc('cad_watcher.py'), 
    229          {'attrib-starts': [('getLogEntries|0|', 
    230                              24)], 
    231           'code-line': '        fileSize = os.path.getsize(pathToLog)\n', 
    232           'first-line': 18L, 
    233           'folded-linenos': [], 
    234           'sel-line': 46L, 
    235           'sel-line-start': 1365L, 
    236           'selection_end': 1410L, 
    237           'selection_start': 1410L, 
    238           'zoom': 0L}, 
    239          1573492071.42135], 
    240         [loc('cms_watcher.py'), 
    241          {'attrib-starts': [('readFile|0|', 
    242                              18)], 
    243           'code-line': ' \n', 
    244           'first-line': 6L, 
    245           'folded-linenos': [], 
    246           'sel-line': 21L, 
    247           'sel-line-start': 564L, 
    248           'selection_end': 565L, 
    249           'selection_start': 565L, 
    250           'zoom': 0L}, 
    251          1573492072.884505], 
    252         [loc('cad_watcher.py'), 
    253          {'attrib-starts': [('getLogEntries|0|', 
    254                              18)], 
    255           'code-line': '            return []\n', 
    256           'first-line': 33L, 
    257           'folded-linenos': [], 
    258           'sel-line': 45L, 
    259           'sel-line-start': 1479L, 
    260           'selection_end': 1479L, 
    261           'selection_start': 1479L, 
    262           'zoom': 0L}, 
    263          1575992486.57154], 
    264         [loc('logging_service.py'), 
    265          {'attrib-starts': [('getSimTime|0|', 
    266                              13)], 
    267           'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    268                        'S(seconds)\n', 
    269           'first-line': 0L, 
    270           'folded-linenos': [], 
    271           'sel-line': 21L, 
    272           'sel-line-start': 649L, 
    273           'selection_end': 649L, 
    274           'selection_start': 649L, 
    275           'zoom': 0L}, 
    276          1575992490.79159], 
    277         [loc('cms_watcher.py'), 
    278          {'attrib-starts': [('readFile|0|', 
    279                              18)], 
    280           'code-line': ' \n', 
    281           'first-line': 6L, 
    282           'folded-linenos': [], 
    283           'sel-line': 21L, 
    284           'sel-line-start': 564L, 
    285           'selection_end': 565L, 
    286           'selection_start': 565L, 
    287           'zoom': 0L}, 
    288          1575992492.507506], 
    289         [loc('logging_service.py'), 
    290          {'attrib-starts': [('getSimTime|0|', 
    291                              13)], 
    292           'code-line': '       print "Proceeding with previous time: ", toHM'\ 
    293                        'S(seconds)\n', 
    294           'first-line': 0L, 
    295           'folded-linenos': [], 
    296           'sel-line': 21L, 
    297           'sel-line-start': 649L, 
    298           'selection_end': 649L, 
    299           'selection_start': 649L, 
    300           'zoom': 0L}, 
    301          1575992506.47608], 
    302         [loc('extend_unifiedlogger.py'), 
    303          {'attrib-starts': [], 
    304           'code-line': 'import xml.etree.ElementTree as ET\n', 
    305           'first-line': 0L, 
    306           'folded-linenos': [], 
    307           'sel-line': 0L, 
    308           'sel-line-start': 0L, 
    309           'selection_end': 0L, 
    310           'selection_start': 0L, 
    311           'zoom': 0L}, 
    312          1575992565.713171], 
    313         [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
    314          {'attrib-starts': [('ConfigParser|0|', 
    315                              85), 
    316                             ('ConfigParser|0|.get|0|', 
    317                              589)], 
    318           'code-line': '                raise NoSectionError(section)\n', 
    319           'first-line': 575L, 
    320           'folded-linenos': [], 
    321           'sel-line': 606L, 
    322           'sel-line-start': 22028L, 
    323           'selection_end': 22028L, 
    324           'selection_start': 22028L, 
    325           'zoom': 0L}, 
    326          1575992592.926503], 
    327         [loc('extend_unifiedlogger.py'), 
    328          {'attrib-starts': [], 
    329           'code-line': 'for script_event in root:\n', 
    330           'first-line': 16L, 
    331           'folded-linenos': [], 
    332           'sel-line': 24L, 
    333           'sel-line-start': 759L, 
    334           'selection_end': 759L, 
    335           'selection_start': 759L, 
    336           'zoom': 0L}, 
    337          1575993280.146251], 
    338         [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 
    339          {'attrib-starts': [('Element|0|', 
    340                              170), 
    341                             ('Element|0|.__getitem__|0|', 
    342                              76)], 
    343           'code-line': '        return self._children[index]\n', 
    344           'first-line': 152L, 
    345           'folded-linenos': [], 
    346           'sel-line': 265L, 
    347           'sel-line-start': 8855L, 
    348           'selection_end': 8855L, 
    349           'selection_start': 8855L, 
    350           'zoom': 0L}, 
    351          1575993294.116046], 
    352         [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
    353          {'attrib-starts': [('ConfigParser|0|', 
    354                              85), 
    355                             ('ConfigParser|0|.get|0|', 
    356                              589)], 
    357           'code-line': '                raise NoSectionError(section)\n', 
    358           'first-line': 575L, 
    359           'folded-linenos': [], 
    360           'sel-line': 606L, 
    361           'sel-line-start': 22028L, 
    362           'selection_end': 22028L, 
    363           'selection_start': 22028L, 
    364           'zoom': 0L}, 
    365          1575993296.639257], 
    366         [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 
    367          {'attrib-starts': [('Element|0|', 
    368                              170), 
    369                             ('Element|0|.__getitem__|0|', 
    370                              76)], 
    371           'code-line': '        return self._children[index]\n', 
    372           'first-line': 152L, 
    373           'folded-linenos': [], 
    374           'sel-line': 265L, 
    375           'sel-line-start': 8855L, 
    376           'selection_end': 8855L, 
    377           'selection_start': 8855L, 
    378           'zoom': 0L}, 
    379          1575993297.661174], 
    380         [loc('extend_unifiedlogger.py'), 
    381          {'attrib-starts': [], 
    382           'code-line': '        for info_type in script_event:\n', 
    383           'first-line': 15L, 
    384           'folded-linenos': [], 
    385           'sel-line': 27L, 
    386           'sel-line-start': 879L, 
    387           'selection_end': 879L, 
    388           'selection_start': 879L, 
    389           'zoom': 0L}, 
    390          1575993810.141825], 
     237        1575993810.141825], 
    391238        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 
    392239         {'attrib-starts': [('Element|0|', 
     
    453300          'selection_start': 51967L, 
    454301          'zoom': 0L}, 
    455          1576776077.910363]], 
     302         1576776077.910363], 
     303        [loc('extend_unifiedlogger.py'), 
     304         {'attrib-starts': [], 
     305          'code-line': '                entry_incinum = " CAD Log, Incident '\ 
     306                       '#" + incident_num\n', 
     307          'first-line': 30L, 
     308          'folded-linenos': [], 
     309          'sel-line': 33L, 
     310          'sel-line-start': 1205L, 
     311          'selection_end': 1246L, 
     312          'selection_start': 1246L, 
     313          'zoom': 0L}, 
     314         1577393253.005358], 
     315        [loc('logging_service.py'), 
     316         {'attrib-starts': [('toHMS|0|', 
     317                             7)], 
     318          'code-line': '    return  "%02d:%02d:%02d" % (h, m, s)    \n', 
     319          'first-line': 42L, 
     320          'folded-linenos': [], 
     321          'sel-line': 10L, 
     322          'sel-line-start': 281L, 
     323          'selection_end': 297L, 
     324          'selection_start': 297L, 
     325          'zoom': 0L}, 
     326         1577393417.740925], 
     327        [loc('extend_unifiedlogger.py'), 
     328         {'attrib-starts': [], 
     329          'code-line': 'out_file = open(logfilepath + "caddetails.csv", "w")'\ 
     330                       '\n', 
     331          'first-line': 51L, 
     332          'folded-linenos': [], 
     333          'sel-line': 57L, 
     334          'sel-line-start': 2692L, 
     335          'selection_end': 2700L, 
     336          'selection_start': 2692L, 
     337          'zoom': 0L}, 
     338         1577394088.002284], 
     339        [loc('extend_unifiedlogger.py'), 
     340         {'attrib-starts': [], 
     341          'code-line': '\n', 
     342          'first-line': 42L, 
     343          'folded-linenos': [], 
     344          'sel-line': 62L, 
     345          'sel-line-start': 2871L, 
     346          'selection_end': 2871L, 
     347          'selection_start': 2871L, 
     348          'zoom': 0L}, 
     349         1577399854.843249], 
     350        [loc('logging_service.py'), 
     351         {'attrib-starts': [], 
     352          'code-line': "if __name__ == '__main__':\n", 
     353          'first-line': 0L, 
     354          'folded-linenos': [], 
     355          'sel-line': 80L, 
     356          'sel-line-start': 2695L, 
     357          'selection_end': 2735L, 
     358          'selection_start': 2695L, 
     359          'zoom': 0L}, 
     360         1577400145.321379], 
     361        [loc('extract_caddetails.py'), 
     362         {'attrib-starts': [], 
     363          'code-line': '    startup()\n', 
     364          'first-line': 0L, 
     365          'folded-linenos': [], 
     366          'sel-line': 62L, 
     367          'sel-line-start': 2826L, 
     368          'selection_end': 2839L, 
     369          'selection_start': 2839L, 
     370          'zoom': 0L}, 
     371         1577400164.213804], 
     372        [loc('__main__.py'), 
     373         {'attrib-starts': [('main|0|', 
     374                             2)], 
     375          'code-line': 'def main():\n', 
     376          'first-line': 0L, 
     377          'folded-linenos': [], 
     378          'sel-line': 2L, 
     379          'sel-line-start': 134L, 
     380          'selection_end': 145L, 
     381          'selection_start': 134L, 
     382          'zoom': 0L}, 
     383         1577400181.955552], 
     384        [loc('extract_caddetails.py'), 
     385         {'attrib-starts': [], 
     386          'code-line': '    extract()\n', 
     387          'first-line': 0L, 
     388          'folded-linenos': [], 
     389          'sel-line': 62L, 
     390          'sel-line-start': 3068L, 
     391          'selection_end': 3079L, 
     392          'selection_start': 3079L, 
     393          'zoom': 0L}, 
     394         1577400309.516676], 
     395        [loc('__main__.py'), 
     396         {'attrib-starts': [('main|0|', 
     397                             2)], 
     398          'code-line': 'def main():\n', 
     399          'first-line': 0L, 
     400          'folded-linenos': [], 
     401          'sel-line': 2L, 
     402          'sel-line-start': 134L, 
     403          'selection_end': 145L, 
     404          'selection_start': 134L, 
     405          'zoom': 0L}, 
     406         1577400449.642736], 
     407        [loc('extract_caddetails.py'), 
     408         {'attrib-starts': [], 
     409          'code-line': '    extract()\n', 
     410          'first-line': 54L, 
     411          'folded-linenos': [], 
     412          'sel-line': 62L, 
     413          'sel-line-start': 3068L, 
     414          'selection_end': 3079L, 
     415          'selection_start': 3079L, 
     416          'zoom': 0L}, 
     417         1577400694.441992], 
     418        [loc('__main__.py'), 
     419         {'attrib-starts': [], 
     420          'code-line': "if __name__ == '__main__':\n", 
     421          'first-line': 0L, 
     422          'folded-linenos': [], 
     423          'sel-line': 13L, 
     424          'sel-line-start': 556L, 
     425          'selection_end': 593L, 
     426          'selection_start': 556L, 
     427          'zoom': 0L}, 
     428         1577400713.516774], 
     429        [loc('extract_caddetails.py'), 
     430         {'attrib-starts': [], 
     431          'code-line': '    main()\n', 
     432          'first-line': 48L, 
     433          'folded-linenos': [], 
     434          'sel-line': 62L, 
     435          'sel-line-start': 3065L, 
     436          'selection_end': 3073L, 
     437          'selection_start': 3073L, 
     438          'zoom': 0L}, 
     439         1577401207.628608], 
     440        [loc('__main__.py'), 
     441         {'attrib-starts': [], 
     442          'code-line': "if __name__ == '__main__':\n", 
     443          'first-line': 0L, 
     444          'folded-linenos': [], 
     445          'sel-line': 13L, 
     446          'sel-line-start': 556L, 
     447          'selection_end': 593L, 
     448          'selection_start': 556L, 
     449          'zoom': 0L}, 
     450         1577401209.827539], 
     451        [loc('extract_caddetails.py'), 
     452         {'attrib-starts': [], 
     453          'code-line': '    main()\n', 
     454          'first-line': 0L, 
     455          'folded-linenos': [], 
     456          'sel-line': 62L, 
     457          'sel-line-start': 3065L, 
     458          'selection_end': 3073L, 
     459          'selection_start': 3073L, 
     460          'zoom': 0L}, 
     461         1577401579.928]], 
    456462        20), 
    457         'current-loc': loc('extend_unifiedlogger.py'), 
     463        'current-loc': loc('__main__.py'), 
    458464        'editor-state-list': [(loc('activitylog_watcher.py'), 
    459465                               {'attrib-starts': [('readFile|0|', 
     
    467473                                'selection_end': 857L, 
    468474                                'selection_start': 857L, 
    469                                 'zoom': 0L}), 
    470                               (loc('extend_unifiedlogger.py'), 
    471                                {'attrib-starts': [], 
    472                                 'code-line': 'out_file.close()\n', 
    473                                 'first-line': 51L, 
    474                                 'folded-linenos': [], 
    475                                 'sel-line': 69L, 
    476                                 'sel-line-start': 3068L, 
    477                                 'selection_end': 3085L, 
    478                                 'selection_start': 3068L, 
    479475                                'zoom': 0L}), 
    480476                              (loc('../../../config/logging_service.cfg'), 
     
    490486                                'zoom': 0L}), 
    491487                              (loc('logging_service.py'), 
    492                                {'attrib-starts': [('getSimTime|0|', 
    493         13)], 
    494                                 'code-line': '       print "Proceeding with '\ 
    495         'previous time: ", toHMS(seconds)\n', 
     488                               {'attrib-starts': [], 
     489                                'code-line': "if __name__ == '__main__':\n", 
    496490                                'first-line': 0L, 
    497491                                'folded-linenos': [], 
    498                                 'sel-line': 21L, 
    499                                 'sel-line-start': 649L, 
    500                                 'selection_end': 649L, 
    501                                 'selection_start': 649L, 
     492                                'sel-line': 80L, 
     493                                'sel-line-start': 2695L, 
     494                                'selection_end': 2735L, 
     495                                'selection_start': 2695L, 
    502496                                'zoom': 0L}), 
    503497                              (loc('__main__.py'), 
    504498                               {'attrib-starts': [], 
    505                                 'code-line': 'import logging_service, os, Co'\ 
    506         'nfigParser\n', 
     499                                'code-line': "if __name__ == '__main__':\n", 
    507500                                'first-line': 0L, 
    508501                                'folded-linenos': [], 
    509                                 'sel-line': 0L, 
    510                                 'sel-line-start': 0L, 
    511                                 'selection_end': 40L, 
    512                                 'selection_start': 28L, 
     502                                'sel-line': 13L, 
     503                                'sel-line-start': 556L, 
     504                                'selection_end': 593L, 
     505                                'selection_start': 556L, 
    513506                                'zoom': 0L})], 
    514507        'has-focus': True, 
    515508        'locked': False}, 
    516509        [loc('activitylog_watcher.py'), 
    517          loc('extend_unifiedlogger.py'), 
    518510         loc('../../../config/logging_service.cfg'), 
    519511         loc('logging_service.py'), 
    520512         loc('__main__.py')]), 
    521513                               'open_files': [u'../../../config/logging_service.cfg', 
    522         u'__main__.py', 
    523514        u'activitylog_watcher.py', 
    524515        u'logging_service.py', 
    525         u'extend_unifiedlogger.py']}, 
     516        u'__main__.py']}, 
    526517        'saved_notebook_display': None, 
    527518        'split_percents': {0: 0.5}, 
    528519        'splits': 2, 
    529520        'tab_location': 'top', 
    530         'traversal_pos': ((0, 
    531                            3), 
    532                           1576777529.191873), 
     521        'traversal_pos': ((1, 
     522                           2), 
     523                          1577400521.436669), 
    533524        'user_data': {}}, 
    534525                 'saved_notebook_display': None, 
     
    540531                                   1576038340.052804), 
    541532                 'user_data': {}}, 
    542         'window-alloc': (29, 
    543                          0, 
    544                          1197, 
    545                          722)}]} 
    546 guimgr.recent-documents = [loc('extend_unifiedlogger.py'), 
     533        'window-alloc': (1152, 
     534                         28, 
     535                         1127, 
     536                         724)}]} 
     537guimgr.recent-documents = [loc('__main__.py'), 
    547538                           loc('logging_service.py'), 
    548                            loc('__main__.py'), 
    549539                           loc('activitylog_watcher.py'), 
    550540                           loc('../../../config/logging_service.cfg')] 
     
    570560        'selection_end': 565L, 
    571561        'selection_start': 565L, 
     562        'zoom': 0L}, 
     563                       loc('extend_unifiedlogger.py'): {'attrib-starts': [], 
     564        'code-line': '\n', 
     565        'first-line': 42L, 
     566        'folded-linenos': [], 
     567        'sel-line': 62L, 
     568        'sel-line-start': 2871L, 
     569        'selection_end': 2871L, 
     570        'selection_start': 2871L, 
     571        'zoom': 0L}, 
     572                       loc('extract_caddetails.py'): {'attrib-starts': [], 
     573        'code-line': '    main()\n', 
     574        'first-line': 0L, 
     575        'folded-linenos': [], 
     576        'sel-line': 62L, 
     577        'sel-line-start': 3065L, 
     578        'selection_end': 3073L, 
     579        'selection_start': 3073L, 
    572580        'zoom': 0L}, 
    573581                       loc('get_app_properties.py'): {'attrib-starts': [], 
Note: See TracChangeset for help on using the changeset viewer.