source: tmcsimulator/trunk/src/python/unifiedlogger/wing_project.wpr @ 550

Revision 550, 26.2 KB checked in by jdalbey, 6 years ago (diff)

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

Line 
1#!wing
2#!version=7.0
3##################################################################
4# Wing project file                                              #
5##################################################################
6[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}]
27debug.launch-configs = (2,
28                        {'launch-79fWcT8eQm1A3xyz': ({},
29        {'buildcmd': ('project',
30                      None),
31         'env': ('project',
32                 [u'']),
33         'name': 'unit test',
34         'pyexec': ('custom',
35                    u'/usr/bin/pytest'),
36         'pypath': ('project',
37                    []),
38         'pyrunargs': ('project',
39                       '-u'),
40         'runargs': u'',
41         'rundir': ('custom',
42                    u'/home/jdalbey/Dropbox/TMCrepo/trunk/src/python/unifiedlogger')}),
43                         'launch-Dap54cn2qAN7AXZm': ({},
44        {'buildcmd': ('project',
45                      None),
46         'env': ('project',
47                 [u'']),
48         'name': 'launchme',
49         'pyexec': ('project',
50                    u''),
51         'pypath': ('project',
52                    []),
53         'pyrunargs': ('project',
54                       '-u'),
55         'runargs': u'',
56         'rundir': ('custom',
57                    u'/home/jdalbey/Dropbox/TMCrepo/trunk')})})
58proj.directory-list = [{'dirloc': loc('.'),
59                        'excludes': (),
60                        'filter': u'*',
61                        'include_hidden': False,
62                        'recursive': True,
63                        'watch_for_changes': True}]
64proj.file-type = 'normal'
65proj.home-dir = loc('../..')
66proj.launch-config = {loc('__main__.py'): ('custom',
67        (u'',
68         'launch-Dap54cn2qAN7AXZm')),
69                      loc('extend_unifiedlogger.py'): ('custom',
70        (u'',
71         'launch-Dap54cn2qAN7AXZm')),
72                      loc('extract_caddetails.py'): ('custom',
73        (u'',
74         'launch-Dap54cn2qAN7AXZm'))}
75proj.main-file = loc('extract_caddetails.py')
76[user attributes]
77debug.show-args-dialog = {loc('__main__.py'): False}
78edit.file-encoding = {loc('get_revision'): 'UTF-8',
79                      loc('test_logging_service.py'): 'UTF-8'}
80guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
81                            'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\
82        'v7Dw8l',
83        'size-state': '',
84        'type': 'dock',
85        'view': {'area': 'tall',
86                 'constraint': None,
87                 'current_pages': [4],
88                 'full-screen': False,
89                 'notebook_display': 'normal',
90                 'notebook_percent': 0.09260908281389135,
91                 'override_title': None,
92                 'pagelist': [('source-assistant',
93                               'tall',
94                               2,
95                               {}),
96                              ('debug-stack',
97                               'tall',
98                               1,
99                               {}),
100                              ('browser',
101                               'tall',
102                               0,
103                               {}),
104                              ('indent',
105                               'tall',
106                               2,
107                               {}),
108                              ('debug-io',
109                               'tall',
110                               0,
111                               {}),
112                              ('project',
113                               'tall',
114                               0,
115                               {'tree-state': {'file-sort-method': 'by name',
116        'list-files-first': False,
117        'tree-states': {'deep': {'expanded-nodes': [(0,),
118        (0,
119         0)],
120                                 'selected-nodes': [(0,
121        0,
122        0)],
123                                 'top-node': (0,)}},
124        'tree-style': 'deep'}})],
125                 'primary_view_state': {'area': 'wide',
126        'constraint': None,
127        'current_pages': [1,
128                          2],
129        'notebook_display': 'normal',
130        'notebook_percent': 0.4230235783633842,
131        'override_title': None,
132        'pagelist': [('batch-search',
133                      'wide',
134                      0,
135                      {'fScope': {'fFileSetName': 'All Source Files',
136                                  'fLocation': None,
137                                  'fRecursive': True,
138                                  'fType': 'documentation'},
139                       'fSearchSpec': {'fEndPos': None,
140                                       'fIncludeLinenos': True,
141                                       'fInterpretBackslashes': False,
142                                       'fMatchCase': False,
143                                       'fOmitBinary': True,
144                                       'fRegexFlags': 42,
145                                       'fReplaceText': '',
146                                       'fReverse': False,
147                                       'fSearchText': u'default directory policy',
148                                       'fStartPos': 0,
149                                       'fStyle': 'text',
150                                       'fWholeWords': False,
151                                       'fWrap': True},
152                       'fUIOptions': {'fAutoBackground': True,
153                                      'fFilePrefix': 'short-file',
154                                      'fFindAfterReplace': True,
155                                      'fInSelection': False,
156                                      'fIncremental': True,
157                                      'fReplaceOnDisk': False,
158                                      'fShowFirstMatch': False,
159                                      'fShowLineno': True,
160                                      'fShowReplaceWidgets': False},
161                       'replace-entry-expanded': False,
162                       'search-entry-expanded': False}),
163                     ('interactive-search',
164                      'wide',
165                      0,
166                      {'fScope': {'fFileSetName': 'All Source Files',
167                                  'fLocation': None,
168                                  'fRecursive': True,
169                                  'fType': 'project-files'},
170                       'fSearchSpec': {'fEndPos': None,
171                                       'fIncludeLinenos': True,
172                                       'fInterpretBackslashes': False,
173                                       'fMatchCase': False,
174                                       'fOmitBinary': True,
175                                       'fRegexFlags': 42,
176                                       'fReplaceText': u'details_file',
177                                       'fReverse': False,
178                                       'fSearchText': u'out_file',
179                                       'fStartPos': 0,
180                                       'fStyle': 'text',
181                                       'fWholeWords': False,
182                                       'fWrap': True},
183                       'fUIOptions': {'fAutoBackground': True,
184                                      'fFilePrefix': 'short-file',
185                                      'fFindAfterReplace': True,
186                                      'fInSelection': False,
187                                      'fIncremental': True,
188                                      'fReplaceOnDisk': False,
189                                      'fShowFirstMatch': False,
190                                      'fShowLineno': True,
191                                      'fShowReplaceWidgets': True}}),
192                     ('debug-data',
193                      'wide',
194                      0,
195                      {}),
196                     ('debug-exceptions',
197                      'wide',
198                      0,
199                      {}),
200                     ('python-shell',
201                      'wide',
202                      2,
203                      {'active-range': (None,
204        -1,
205        -1),
206                       'attrib-starts': [],
207                       'code-line': '',
208                       'first-line': 0L,
209                       'folded-linenos': [],
210                       'history': {},
211                       'launch-id': None,
212                       'sel-line': 3L,
213                       'sel-line-start': 131L,
214                       'selection_end': 131L,
215                       'selection_start': 131L,
216                       'zoom': 0L}),
217                     ('messages',
218                      'wide',
219                      2,
220                      {'current-domain': 0}),
221                     ('os-command',
222                      'wide',
223                      1,
224                      {'last-percent': 0.8,
225                       'toolbox-percent': 1.0,
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,
231         'folded-linenos': [],
232         'sel-line': 27L,
233         'sel-line-start': 879L,
234         'selection_end': 879L,
235         'selection_start': 879L,
236         'zoom': 0L},
237        1575993810.141825],
238        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'),
239         {'attrib-starts': [('Element|0|',
240                             170),
241                            ('Element|0|.__getitem__|0|',
242                             76)],
243          'code-line': '        return self._children[index]\n',
244          'first-line': 256L,
245          'folded-linenos': [],
246          'sel-line': 265L,
247          'sel-line-start': 8855L,
248          'selection_end': 8855L,
249          'selection_start': 8855L,
250          'zoom': 0L},
251         1575993818.095502],
252        [loc('extend_unifiedlogger.py'),
253         {'attrib-starts': [],
254          'code-line': 'os.system("sort -o " + logfilepath + "caddetails.csv'\
255                       ' " \\\n',
256          'first-line': 49L,
257          'folded-linenos': [],
258          'sel-line': 64L,
259          'sel-line-start': 2490L,
260          'selection_end': 2490L,
261          'selection_start': 2490L,
262          'zoom': 0L},
263         1576038685.82371],
264        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'),
265         {'attrib-starts': [('Element|0|',
266                             170),
267                            ('Element|0|.__getitem__|0|',
268                             76)],
269          'code-line': '        return self._children[index]\n',
270          'first-line': 256L,
271          'folded-linenos': [],
272          'sel-line': 265L,
273          'sel-line-start': 8855L,
274          'selection_end': 8855L,
275          'selection_start': 8855L,
276          'zoom': 0L},
277         1576038687.450623],
278        [loc('extend_unifiedlogger.py'),
279         {'attrib-starts': [],
280          'code-line': '                        # add it to the entries \n',
281          'first-line': 55L,
282          'folded-linenos': [],
283          'sel-line': 56L,
284          'sel-line-start': 2446L,
285          'selection_end': 2490L,
286          'selection_start': 2490L,
287          'zoom': 0L},
288         1576775656.200445],
289        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'),
290         {'attrib-starts': [('XMLParser|0|',
291                             1467),
292                            ('XMLParser|0|._raiseerror|0|',
293                             1518)],
294          'code-line': '        raise err\n',
295          'first-line': 1449L,
296          'folded-linenos': [],
297          'sel-line': 1522L,
298          'sel-line-start': 51967L,
299          'selection_end': 51967L,
300          'selection_start': 51967L,
301          'zoom': 0L},
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]],
462        20),
463        'current-loc': loc('__main__.py'),
464        'editor-state-list': [(loc('activitylog_watcher.py'),
465                               {'attrib-starts': [('readFile|0|',
466        21)],
467                                'code-line': '    logfilename = "data.json" '\
468        '  #"IncidentActivity.log"\n',
469                                'first-line': 39L,
470                                'folded-linenos': [],
471                                'sel-line': 26L,
472                                'sel-line-start': 824L,
473                                'selection_end': 857L,
474                                'selection_start': 857L,
475                                'zoom': 0L}),
476                              (loc('../../../config/logging_service.cfg'),
477                               {'attrib-starts': [],
478                                'code-line': 'UnifiedLogPath = webapps/dynam'\
479        'icdata/\n',
480                                'first-line': 0L,
481                                'folded-linenos': [],
482                                'sel-line': 1L,
483                                'sel-line-start': 8L,
484                                'selection_end': 22L,
485                                'selection_start': 8L,
486                                'zoom': 0L}),
487                              (loc('logging_service.py'),
488                               {'attrib-starts': [],
489                                'code-line': "if __name__ == '__main__':\n",
490                                'first-line': 0L,
491                                'folded-linenos': [],
492                                'sel-line': 80L,
493                                'sel-line-start': 2695L,
494                                'selection_end': 2735L,
495                                'selection_start': 2695L,
496                                'zoom': 0L}),
497                              (loc('__main__.py'),
498                               {'attrib-starts': [],
499                                'code-line': "if __name__ == '__main__':\n",
500                                'first-line': 0L,
501                                'folded-linenos': [],
502                                'sel-line': 13L,
503                                'sel-line-start': 556L,
504                                'selection_end': 593L,
505                                'selection_start': 556L,
506                                'zoom': 0L})],
507        'has-focus': True,
508        'locked': False},
509        [loc('activitylog_watcher.py'),
510         loc('../../../config/logging_service.cfg'),
511         loc('logging_service.py'),
512         loc('__main__.py')]),
513                               'open_files': [u'../../../config/logging_service.cfg',
514        u'activitylog_watcher.py',
515        u'logging_service.py',
516        u'__main__.py']},
517        'saved_notebook_display': None,
518        'split_percents': {0: 0.5},
519        'splits': 2,
520        'tab_location': 'top',
521        'traversal_pos': ((1,
522                           2),
523                          1577400521.436669),
524        'user_data': {}},
525                 'saved_notebook_display': None,
526                 'split_percents': {},
527                 'splits': 1,
528                 'tab_location': 'left',
529                 'traversal_pos': ((0,
530                                    4),
531                                   1576038340.052804),
532                 'user_data': {}},
533        'window-alloc': (1152,
534                         28,
535                         1127,
536                         724)}]}
537guimgr.recent-documents = [loc('__main__.py'),
538                           loc('logging_service.py'),
539                           loc('activitylog_watcher.py'),
540                           loc('../../../config/logging_service.cfg')]
541guimgr.visual-state = {loc('cad_watcher.py'): {'attrib-starts': [('getLogEnt'\
542        'ries|0|',
543        18)],
544        'code-line': '            return []\n',
545        'first-line': 33L,
546        'folded-linenos': [],
547        'sel-line': 45L,
548        'sel-line-start': 1479L,
549        'selection_end': 1479L,
550        'selection_start': 1479L,
551        'zoom': 0L},
552                       loc('cms_watcher.py'): {'attrib-starts': [('readFile|'\
553        '0|',
554        18)],
555        'code-line': ' \n',
556        'first-line': 6L,
557        'folded-linenos': [],
558        'sel-line': 21L,
559        'sel-line-start': 564L,
560        'selection_end': 565L,
561        '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,
580        'zoom': 0L},
581                       loc('get_app_properties.py'): {'attrib-starts': [],
582        'code-line': '',
583        'first-line': 0L,
584        'folded-linenos': [],
585        'sel-line': 0L,
586        'sel-line-start': 0L,
587        'selection_end': 0L,
588        'selection_start': 0L,
589        'zoom': 0L},
590                       loc('get_revision'): {'attrib-starts': [],
591        'code-line': '',
592        'first-line': 0L,
593        'folded-linenos': [],
594        'sel-line': 18L,
595        'sel-line-start': 455L,
596        'selection_end': 455L,
597        'selection_start': 455L,
598        'zoom': 0L},
599                       loc('test_logging_service.py'): {'attrib-starts': [('t'\
600        'est_toHMS|0|',
601        2)],
602        'code-line': '    assert toHMS(3601) == "1:00:01"\n',
603        'first-line': 0L,
604        'folded-linenos': [],
605        'sel-line': 6L,
606        'sel-line-start': 158L,
607        'selection_end': 192L,
608        'selection_start': 192L,
609        'zoom': 0L},
610                       loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
611        'ttrib-starts': [('ConfigParser|0|',
612                          85),
613                         ('ConfigParser|0|.get|0|',
614                          589)],
615        'code-line': '                raise NoSectionError(section)\n',
616        'first-line': 597L,
617        'folded-linenos': [],
618        'sel-line': 606L,
619        'sel-line-start': 22028L,
620        'selection_end': 22028L,
621        'selection_start': 22028L,
622        'zoom': 0L},
623                       loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
624        'ttrib-starts': [('ConfigParser|0|',
625                          85),
626                         ('ConfigParser|0|.get|0|',
627                          589)],
628        'code-line': '                raise NoSectionError(section)\n',
629        'first-line': 575L,
630        'folded-linenos': [],
631        'sel-line': 606L,
632        'sel-line-start': 22028L,
633        'selection_end': 22028L,
634        'selection_start': 22028L,
635        'zoom': 0L},
636                       loc('../../../../../../../../usr/lib/python2.7/genericpath.py'): {'a'\
637        'ttrib-starts': [('getsize|0|',
638                          54)],
639        'code-line': '    return os.stat(filename).st_size\n',
640        'first-line': 39L,
641        'folded-linenos': [],
642        'sel-line': 56L,
643        'sel-line-start': 1506L,
644        'selection_end': 1506L,
645        'selection_start': 1506L,
646        'zoom': 0L},
647                       loc('../../../../../../../../usr/lib/python2.7/json/decoder.py'): {'a'\
648        'ttrib-starts': [('JSONDecoder|0|',
649                          271),
650                         ('JSONDecoder|0|.raw_decode|0|',
651                          369)],
652        'code-line': '            obj, end = self.scan_once(s, idx)\n',
653        'first-line': 370L,
654        'folded-linenos': [],
655        'sel-line': 379L,
656        'sel-line-start': 13534L,
657        'selection_end': 13534L,
658        'selection_start': 13534L,
659        'zoom': 0L},
660                       loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'): {'a'\
661        'ttrib-starts': [('XMLParser|0|',
662                          1467),
663                         ('XMLParser|0|._raiseerror|0|',
664                          1518)],
665        'code-line': '        raise err\n',
666        'first-line': 1449L,
667        'folded-linenos': [],
668        'sel-line': 1522L,
669        'sel-line-start': 51967L,
670        'selection_end': 51967L,
671        'selection_start': 51967L,
672        'zoom': 0L}}
673proj.build-cmd = {None: ('default',
674                         None)}
675proj.env-vars = {None: ('default',
676                        [u''])}
677search.search-history = [u'default directory policy']
Note: See TracBrowser for help on using the repository browser.