Warning: Can't use blame annotator:
svn blame failed on trunk/src/python/unifiedlogger/wing_project.wpr: ("Can't find a temporary directory: Internal error", 20014)

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

Revision 545, 26.6 KB checked in by jdalbey, 6 years ago (diff)

extend_unifiedlogger.py Fixed defect - wasn't including time and incident fields.

RevLine 
1#!wing
2#!version=7.0
3##################################################################
4# Wing project file                                              #
5##################################################################
6[project attributes]
7debug.launch-configs = (2,
8                        {'launch-79fWcT8eQm1A3xyz': ({},
9        {'buildcmd': ('project',
10                      None),
11         'env': ('project',
12                 [u'']),
13         'name': 'unit test',
14         'pyexec': ('custom',
15                    u'/usr/bin/pytest'),
16         'pypath': ('project',
17                    []),
18         'pyrunargs': ('project',
19                       '-u'),
20         'runargs': u'',
21         'rundir': ('custom',
22                    u'/home/jdalbey/Dropbox/TMCrepo/trunk/src/python/unifiedlogger')}),
23                         'launch-Dap54cn2qAN7AXZm': ({},
24        {'buildcmd': ('project',
25                      None),
26         'env': ('project',
27                 [u'']),
28         'name': 'launchme',
29         'pyexec': ('project',
30                    u''),
31         'pypath': ('project',
32                    []),
33         'pyrunargs': ('project',
34                       '-u'),
35         'runargs': u'',
36         'rundir': ('custom',
37                    u'/home/jdalbey/Dropbox/TMCrepo/trunk')})})
38proj.directory-list = [{'dirloc': loc('.'),
39                        'excludes': (),
40                        'filter': u'*',
41                        'include_hidden': False,
42                        'recursive': True,
43                        'watch_for_changes': True}]
44proj.file-type = 'normal'
45proj.home-dir = loc('../..')
46proj.launch-config = {loc('__main__.py'): ('custom',
47        (u'',
48         'launch-Dap54cn2qAN7AXZm')),
49                      loc('extend_unifiedlogger.py'): ('custom',
50        (u'',
51         'launch-Dap54cn2qAN7AXZm'))}
52proj.main-file = loc('extend_unifiedlogger.py')
53[user attributes]
54debug.show-args-dialog = {loc('__main__.py'): False}
55edit.file-encoding = {loc('get_revision'): 'UTF-8',
56                      loc('test_logging_service.py'): 'UTF-8'}
57guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
58                            'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\
59        'v7Dw8l',
60        'size-state': 'maximized',
61        'type': 'dock',
62        'view': {'area': 'tall',
63                 'constraint': None,
64                 'current_pages': [4],
65                 'full-screen': False,
66                 'notebook_display': 'normal',
67                 'notebook_percent': 0.09260908281389135,
68                 'override_title': None,
69                 'pagelist': [('source-assistant',
70                               'tall',
71                               2,
72                               {}),
73                              ('debug-stack',
74                               'tall',
75                               1,
76                               {}),
77                              ('browser',
78                               'tall',
79                               0,
80                               {}),
81                              ('indent',
82                               'tall',
83                               2,
84                               {}),
85                              ('debug-io',
86                               'tall',
87                               0,
88                               {}),
89                              ('project',
90                               'tall',
91                               0,
92                               {'tree-state': {'file-sort-method': 'by name',
93        'list-files-first': False,
94        'tree-states': {'deep': {'expanded-nodes': [(0,),
95        (0,
96         0)],
97                                 'selected-nodes': [(0,
98        0,
99        0)],
100                                 'top-node': (0,)}},
101        'tree-style': 'deep'}})],
102                 'primary_view_state': {'area': 'wide',
103        'constraint': None,
104        'current_pages': [3,
105                          1],
106        'notebook_display': 'normal',
107        'notebook_percent': 0.16227461858529824,
108        'override_title': None,
109        'pagelist': [('batch-search',
110                      'wide',
111                      0,
112                      {'fScope': {'fFileSetName': 'All Source Files',
113                                  'fLocation': None,
114                                  'fRecursive': True,
115                                  'fType': 'documentation'},
116                       'fSearchSpec': {'fEndPos': None,
117                                       'fIncludeLinenos': True,
118                                       'fInterpretBackslashes': False,
119                                       'fMatchCase': False,
120                                       'fOmitBinary': True,
121                                       'fRegexFlags': 42,
122                                       'fReplaceText': '',
123                                       'fReverse': False,
124                                       'fSearchText': u'default directory policy',
125                                       'fStartPos': 0,
126                                       'fStyle': 'text',
127                                       'fWholeWords': False,
128                                       'fWrap': True},
129                       'fUIOptions': {'fAutoBackground': True,
130                                      'fFilePrefix': 'short-file',
131                                      'fFindAfterReplace': True,
132                                      'fInSelection': False,
133                                      'fIncremental': True,
134                                      'fReplaceOnDisk': False,
135                                      'fShowFirstMatch': False,
136                                      'fShowLineno': True,
137                                      'fShowReplaceWidgets': False},
138                       'replace-entry-expanded': False,
139                       'search-entry-expanded': False}),
140                     ('interactive-search',
141                      'wide',
142                      0,
143                      {'fScope': {'fFileSetName': 'All Source Files',
144                                  'fLocation': None,
145                                  'fRecursive': True,
146                                  'fType': 'project-files'},
147                       'fSearchSpec': {'fEndPos': None,
148                                       'fIncludeLinenos': True,
149                                       'fInterpretBackslashes': False,
150                                       'fMatchCase': False,
151                                       'fOmitBinary': True,
152                                       'fRegexFlags': 42,
153                                       'fReplaceText': u'lastLineNum',
154                                       'fReverse': False,
155                                       'fSearchText': u'fileLength',
156                                       'fStartPos': 0,
157                                       'fStyle': 'text',
158                                       'fWholeWords': False,
159                                       'fWrap': True},
160                       'fUIOptions': {'fAutoBackground': True,
161                                      'fFilePrefix': 'short-file',
162                                      'fFindAfterReplace': True,
163                                      'fInSelection': False,
164                                      'fIncremental': True,
165                                      'fReplaceOnDisk': False,
166                                      'fShowFirstMatch': False,
167                                      'fShowLineno': True,
168                                      'fShowReplaceWidgets': True}}),
169                     ('debug-data',
170                      'wide',
171                      0,
172                      {}),
173                     ('debug-exceptions',
174                      'wide',
175                      0,
176                      {}),
177                     ('python-shell',
178                      'wide',
179                      2,
180                      {'active-range': (None,
181        -1,
182        -1),
183                       'attrib-starts': [],
184                       'code-line': '',
185                       'first-line': 0L,
186                       'folded-linenos': [],
187                       'history': {},
188                       'launch-id': None,
189                       'sel-line': 3L,
190                       'sel-line-start': 132L,
191                       'selection_end': 132L,
192                       'selection_start': 132L,
193                       'zoom': 0L}),
194                     ('messages',
195                      'wide',
196                      2,
197                      {'current-domain': 0}),
198                     ('os-command',
199                      'wide',
200                      1,
201                      {'last-percent': 0.8,
202                       '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,
210         'folded-linenos': [],
211         'sel-line': 21L,
212         'sel-line-start': 649L,
213         'selection_end': 649L,
214         'selection_start': 649L,
215         '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],
391        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'),
392         {'attrib-starts': [('Element|0|',
393                             170),
394                            ('Element|0|.__getitem__|0|',
395                             76)],
396          'code-line': '        return self._children[index]\n',
397          'first-line': 256L,
398          'folded-linenos': [],
399          'sel-line': 265L,
400          'sel-line-start': 8855L,
401          'selection_end': 8855L,
402          'selection_start': 8855L,
403          'zoom': 0L},
404         1575993818.095502],
405        [loc('extend_unifiedlogger.py'),
406         {'attrib-starts': [],
407          'code-line': 'os.system("sort -o " + logfilepath + "caddetails.csv'\
408                       ' " \\\n',
409          'first-line': 49L,
410          'folded-linenos': [],
411          'sel-line': 64L,
412          'sel-line-start': 2490L,
413          'selection_end': 2490L,
414          'selection_start': 2490L,
415          'zoom': 0L},
416         1576038685.82371],
417        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'),
418         {'attrib-starts': [('Element|0|',
419                             170),
420                            ('Element|0|.__getitem__|0|',
421                             76)],
422          'code-line': '        return self._children[index]\n',
423          'first-line': 256L,
424          'folded-linenos': [],
425          'sel-line': 265L,
426          'sel-line-start': 8855L,
427          'selection_end': 8855L,
428          'selection_start': 8855L,
429          'zoom': 0L},
430         1576038687.450623],
431        [loc('extend_unifiedlogger.py'),
432         {'attrib-starts': [],
433          'code-line': '                        # add it to the entries \n',
434          'first-line': 55L,
435          'folded-linenos': [],
436          'sel-line': 56L,
437          'sel-line-start': 2446L,
438          'selection_end': 2490L,
439          'selection_start': 2490L,
440          'zoom': 0L},
441         1576775656.200445],
442        [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'),
443         {'attrib-starts': [('XMLParser|0|',
444                             1467),
445                            ('XMLParser|0|._raiseerror|0|',
446                             1518)],
447          'code-line': '        raise err\n',
448          'first-line': 1449L,
449          'folded-linenos': [],
450          'sel-line': 1522L,
451          'sel-line-start': 51967L,
452          'selection_end': 51967L,
453          'selection_start': 51967L,
454          'zoom': 0L},
455         1576776077.910363]],
456        20),
457        'current-loc': loc('extend_unifiedlogger.py'),
458        'editor-state-list': [(loc('activitylog_watcher.py'),
459                               {'attrib-starts': [('readFile|0|',
460        21)],
461                                'code-line': '    logfilename = "data.json" '\
462        '  #"IncidentActivity.log"\n',
463                                'first-line': 39L,
464                                'folded-linenos': [],
465                                'sel-line': 26L,
466                                'sel-line-start': 824L,
467                                'selection_end': 857L,
468                                'selection_start': 857L,
469                                'zoom': 0L}),
470                              (loc('extend_unifiedlogger.py'),
471                               {'attrib-starts': [],
472                                'code-line': "                        # if t"\
473        "here's detail field add it to the entries \n",
474                                'first-line': 33L,
475                                'folded-linenos': [],
476                                'sel-line': 56L,
477                                'sel-line-start': 2592L,
478                                'selection_end': 2641L,
479                                'selection_start': 2641L,
480                                'zoom': 0L}),
481                              (loc('../../../config/logging_service.cfg'),
482                               {'attrib-starts': [],
483                                'code-line': 'UnifiedLogPath = webapps/dynam'\
484        'icdata/\n',
485                                'first-line': 0L,
486                                'folded-linenos': [],
487                                'sel-line': 1L,
488                                'sel-line-start': 8L,
489                                'selection_end': 22L,
490                                'selection_start': 8L,
491                                'zoom': 0L}),
492                              (loc('logging_service.py'),
493                               {'attrib-starts': [('getSimTime|0|',
494        13)],
495                                'code-line': '       print "Proceeding with '\
496        'previous time: ", toHMS(seconds)\n',
497                                'first-line': 0L,
498                                'folded-linenos': [],
499                                'sel-line': 21L,
500                                'sel-line-start': 649L,
501                                'selection_end': 649L,
502                                'selection_start': 649L,
503                                'zoom': 0L}),
504                              (loc('__main__.py'),
505                               {'attrib-starts': [],
506                                'code-line': 'import logging_service, os, Co'\
507        'nfigParser\n',
508                                'first-line': 0L,
509                                'folded-linenos': [],
510                                'sel-line': 0L,
511                                'sel-line-start': 0L,
512                                'selection_end': 40L,
513                                'selection_start': 28L,
514                                'zoom': 0L})],
515        'has-focus': True,
516        'locked': False},
517        [loc('activitylog_watcher.py'),
518         loc('extend_unifiedlogger.py'),
519         loc('../../../config/logging_service.cfg'),
520         loc('logging_service.py'),
521         loc('__main__.py')]),
522                               'open_files': [u'../../../config/logging_service.cfg',
523        u'__main__.py',
524        u'activitylog_watcher.py',
525        u'logging_service.py',
526        u'extend_unifiedlogger.py']},
527        'saved_notebook_display': None,
528        'split_percents': {0: 0.5},
529        'splits': 2,
530        'tab_location': 'top',
531        'traversal_pos': ((0,
532                           3),
533                          1576777529.191873),
534        'user_data': {}},
535                 'saved_notebook_display': None,
536                 'split_percents': {},
537                 'splits': 1,
538                 'tab_location': 'left',
539                 'traversal_pos': ((0,
540                                    4),
541                                   1576038340.052804),
542                 'user_data': {}},
543        'window-alloc': (29,
544                         0,
545                         1197,
546                         722)}]}
547guimgr.recent-documents = [loc('extend_unifiedlogger.py'),
548                           loc('logging_service.py'),
549                           loc('__main__.py'),
550                           loc('activitylog_watcher.py'),
551                           loc('../../../config/logging_service.cfg')]
552guimgr.visual-state = {loc('cad_watcher.py'): {'attrib-starts': [('getLogEnt'\
553        'ries|0|',
554        18)],
555        'code-line': '            return []\n',
556        'first-line': 33L,
557        'folded-linenos': [],
558        'sel-line': 45L,
559        'sel-line-start': 1479L,
560        'selection_end': 1479L,
561        'selection_start': 1479L,
562        'zoom': 0L},
563                       loc('cms_watcher.py'): {'attrib-starts': [('readFile|'\
564        '0|',
565        18)],
566        'code-line': ' \n',
567        'first-line': 6L,
568        'folded-linenos': [],
569        'sel-line': 21L,
570        'sel-line-start': 564L,
571        'selection_end': 565L,
572        'selection_start': 565L,
573        'zoom': 0L},
574                       loc('get_app_properties.py'): {'attrib-starts': [],
575        'code-line': '',
576        'first-line': 0L,
577        'folded-linenos': [],
578        'sel-line': 0L,
579        'sel-line-start': 0L,
580        'selection_end': 0L,
581        'selection_start': 0L,
582        'zoom': 0L},
583                       loc('get_revision'): {'attrib-starts': [],
584        'code-line': '',
585        'first-line': 0L,
586        'folded-linenos': [],
587        'sel-line': 18L,
588        'sel-line-start': 455L,
589        'selection_end': 455L,
590        'selection_start': 455L,
591        'zoom': 0L},
592                       loc('test_logging_service.py'): {'attrib-starts': [('t'\
593        'est_toHMS|0|',
594        2)],
595        'code-line': '    assert toHMS(3601) == "1:00:01"\n',
596        'first-line': 0L,
597        'folded-linenos': [],
598        'sel-line': 6L,
599        'sel-line-start': 158L,
600        'selection_end': 192L,
601        'selection_start': 192L,
602        'zoom': 0L},
603                       loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
604        'ttrib-starts': [('ConfigParser|0|',
605                          85),
606                         ('ConfigParser|0|.get|0|',
607                          589)],
608        'code-line': '                raise NoSectionError(section)\n',
609        'first-line': 597L,
610        'folded-linenos': [],
611        'sel-line': 606L,
612        'sel-line-start': 22028L,
613        'selection_end': 22028L,
614        'selection_start': 22028L,
615        'zoom': 0L},
616                       loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
617        'ttrib-starts': [('ConfigParser|0|',
618                          85),
619                         ('ConfigParser|0|.get|0|',
620                          589)],
621        'code-line': '                raise NoSectionError(section)\n',
622        'first-line': 575L,
623        'folded-linenos': [],
624        'sel-line': 606L,
625        'sel-line-start': 22028L,
626        'selection_end': 22028L,
627        'selection_start': 22028L,
628        'zoom': 0L},
629                       loc('../../../../../../../../usr/lib/python2.7/genericpath.py'): {'a'\
630        'ttrib-starts': [('getsize|0|',
631                          54)],
632        'code-line': '    return os.stat(filename).st_size\n',
633        'first-line': 39L,
634        'folded-linenos': [],
635        'sel-line': 56L,
636        'sel-line-start': 1506L,
637        'selection_end': 1506L,
638        'selection_start': 1506L,
639        'zoom': 0L},
640                       loc('../../../../../../../../usr/lib/python2.7/json/decoder.py'): {'a'\
641        'ttrib-starts': [('JSONDecoder|0|',
642                          271),
643                         ('JSONDecoder|0|.raw_decode|0|',
644                          369)],
645        'code-line': '            obj, end = self.scan_once(s, idx)\n',
646        'first-line': 370L,
647        'folded-linenos': [],
648        'sel-line': 379L,
649        'sel-line-start': 13534L,
650        'selection_end': 13534L,
651        'selection_start': 13534L,
652        'zoom': 0L},
653                       loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'): {'a'\
654        'ttrib-starts': [('XMLParser|0|',
655                          1467),
656                         ('XMLParser|0|._raiseerror|0|',
657                          1518)],
658        'code-line': '        raise err\n',
659        'first-line': 1449L,
660        'folded-linenos': [],
661        'sel-line': 1522L,
662        'sel-line-start': 51967L,
663        'selection_end': 51967L,
664        'selection_start': 51967L,
665        'zoom': 0L}}
666proj.build-cmd = {None: ('default',
667                         None)}
668proj.env-vars = {None: ('default',
669                        [u''])}
670search.search-history = [u'default directory policy']
Note: See TracBrowser for help on using the repository browser.