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

Revision 440, 21.7 KB checked in by jdalbey, 7 years ago (diff)

Move unified logger to python folder under src. Create a separate web app to display the log file in a formatted html page. Fix sanitize defect in cms and har layers.

Line 
1#!wing
2#!version=7.0
3##################################################################
4# Wing project file                                              #
5##################################################################
6[project attributes]
7debug.launch-configs = (2,
8                        {'launch-Dap54cn2qAN7AXZm': ({},
9        {'buildcmd': ('project',
10                      None),
11         'env': ('project',
12                 [u'']),
13         'name': 'launchme',
14         'pyexec': ('project',
15                    u''),
16         'pypath': ('project',
17                    []),
18         'pyrunargs': ('project',
19                       '-u'),
20         'runargs': u'',
21         'rundir': ('custom',
22                    u'/home/jdalbey/Dropbox/TMCrepo/trunk')})})
23proj.directory-list = [{'dirloc': loc('.'),
24                        'excludes': (),
25                        'filter': u'*',
26                        'include_hidden': False,
27                        'recursive': True,
28                        'watch_for_changes': True}]
29proj.file-type = 'normal'
30proj.home-dir = loc('../..')
31proj.launch-config = {loc('__main__.py'): ('custom',
32        (u'',
33         'launch-Dap54cn2qAN7AXZm'))}
34proj.main-file = loc('__main__.py')
35[user attributes]
36debug.show-args-dialog = {loc('__main__.py'): False}
37guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
38                            'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\
39        'v7Dw8l',
40        'size-state': 'maximized',
41        'type': 'dock',
42        'view': {'area': 'tall',
43                 'constraint': None,
44                 'current_pages': [4],
45                 'full-screen': False,
46                 'notebook_display': 'normal',
47                 'notebook_percent': 0.3850187265917603,
48                 'override_title': None,
49                 'pagelist': [('source-assistant',
50                               'tall',
51                               2,
52                               {}),
53                              ('debug-stack',
54                               'tall',
55                               1,
56                               {}),
57                              ('browser',
58                               'tall',
59                               0,
60                               {}),
61                              ('indent',
62                               'tall',
63                               2,
64                               {}),
65                              ('debug-io',
66                               'tall',
67                               0,
68                               {}),
69                              ('project',
70                               'tall',
71                               0,
72                               {'tree-state': {'file-sort-method': 'by name',
73        'list-files-first': False,
74        'tree-states': {'deep': {'expanded-nodes': [(0,),
75        (0,
76         0)],
77                                 'selected-nodes': [(0,
78        0,
79        0)],
80                                 'top-node': (0,)}},
81        'tree-style': 'deep'}})],
82                 'primary_view_state': {'area': 'wide',
83        'constraint': None,
84        'current_pages': [3,
85                          1],
86        'notebook_display': 'hidden',
87        'notebook_percent': 0.0,
88        'override_title': None,
89        'pagelist': [('batch-search',
90                      'wide',
91                      0,
92                      {'fScope': {'fFileSetName': 'All Source Files',
93                                  'fLocation': None,
94                                  'fRecursive': True,
95                                  'fType': 'documentation'},
96                       'fSearchSpec': {'fEndPos': None,
97                                       'fIncludeLinenos': True,
98                                       'fInterpretBackslashes': False,
99                                       'fMatchCase': False,
100                                       'fOmitBinary': True,
101                                       'fRegexFlags': 42,
102                                       'fReplaceText': '',
103                                       'fReverse': False,
104                                       'fSearchText': u'default directory policy',
105                                       'fStartPos': 0,
106                                       'fStyle': 'text',
107                                       'fWholeWords': False,
108                                       'fWrap': True},
109                       'fUIOptions': {'fAutoBackground': True,
110                                      'fFilePrefix': 'short-file',
111                                      'fFindAfterReplace': True,
112                                      'fInSelection': False,
113                                      'fIncremental': True,
114                                      'fReplaceOnDisk': False,
115                                      'fShowFirstMatch': False,
116                                      'fShowLineno': True,
117                                      'fShowReplaceWidgets': False},
118                       'replace-entry-expanded': False,
119                       'search-entry-expanded': False}),
120                     ('interactive-search',
121                      'wide',
122                      0,
123                      {'fScope': {'fFileSetName': 'All Source Files',
124                                  'fLocation': None,
125                                  'fRecursive': True,
126                                  'fType': 'project-files'},
127                       'fSearchSpec': {'fEndPos': None,
128                                       'fIncludeLinenos': True,
129                                       'fInterpretBackslashes': False,
130                                       'fMatchCase': False,
131                                       'fOmitBinary': True,
132                                       'fRegexFlags': 42,
133                                       'fReplaceText': u'lastLineNum',
134                                       'fReverse': False,
135                                       'fSearchText': u'fileLength',
136                                       'fStartPos': 0,
137                                       'fStyle': 'text',
138                                       'fWholeWords': False,
139                                       'fWrap': True},
140                       'fUIOptions': {'fAutoBackground': True,
141                                      'fFilePrefix': 'short-file',
142                                      'fFindAfterReplace': True,
143                                      'fInSelection': False,
144                                      'fIncremental': True,
145                                      'fReplaceOnDisk': False,
146                                      'fShowFirstMatch': False,
147                                      'fShowLineno': True,
148                                      'fShowReplaceWidgets': True}}),
149                     ('debug-data',
150                      'wide',
151                      0,
152                      {}),
153                     ('debug-exceptions',
154                      'wide',
155                      0,
156                      {}),
157                     ('python-shell',
158                      'wide',
159                      2,
160                      {'active-range': (None,
161        -1,
162        -1),
163                       'attrib-starts': [],
164                       'code-line': '',
165                       'first-line': 0L,
166                       'folded-linenos': [],
167                       'history': {},
168                       'launch-id': None,
169                       'sel-line': 3L,
170                       'sel-line-start': 132L,
171                       'selection_end': 132L,
172                       'selection_start': 132L,
173                       'zoom': 0L}),
174                     ('messages',
175                      'wide',
176                      2,
177                      {'current-domain': 0}),
178                     ('os-command',
179                      'wide',
180                      1,
181                      {'last-percent': 0.8,
182                       'toolbox-percent': 1.0,
183                       'toolbox-tree-sel': ''})],
184        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('cms_watcher.py'),
185        {'attrib-starts': [('main|0|',
186                            85)],
187         'code-line': 'def main():\n',
188         'first-line': 60L,
189         'folded-linenos': [],
190         'sel-line': 85L,
191         'sel-line-start': 3074L,
192         'selection_end': 3085L,
193         'selection_start': 3085L,
194         'zoom': 0L},
195        1562878428.05693],
196        [loc('cad_watcher.py'),
197         {'attrib-starts': [],
198          'code-line': '\n',
199          'first-line': 0L,
200          'folded-linenos': [],
201          'sel-line': 10L,
202          'sel-line-start': 402L,
203          'selection_end': 402L,
204          'selection_start': 402L,
205          'zoom': 0L},
206         1562878905.96885],
207        [loc('__main__.py'),
208         {'attrib-starts': [('main|0|',
209                             2)],
210          'code-line': '    print "Unified Logging Service starting from ",o'\
211                       's.getcwd()\n',
212          'first-line': 0L,
213          'folded-linenos': [],
214          'sel-line': 3L,
215          'sel-line-start': 132L,
216          'selection_end': 183L,
217          'selection_start': 183L,
218          'zoom': 0L},
219         1562878936.888077],
220        [loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'),
221         {'attrib-starts': [('ConfigParser|0|',
222                             85),
223                            ('ConfigParser|0|.get|0|',
224                             589)],
225          'code-line': '                raise NoSectionError(section)\n',
226          'first-line': 597L,
227          'folded-linenos': [],
228          'sel-line': 606L,
229          'sel-line-start': 22028L,
230          'selection_end': 22028L,
231          'selection_start': 22028L,
232          'zoom': 0L},
233         1562879070.061342],
234        [loc('../../../../../../../usr/lib/wing-personal7/doc/TOC'),
235         {'displayed-index': 102,
236          'viewer-state': {'history': [-1,
237                                       60,
238                                       -1,
239                                       6,
240                                       1,
241                                       -1,
242                                       102,
243                                       234],
244                           'history-pos': 6,
245                           'index': 102,
246                           'top': 0,
247                           'top-left-pos': 5971}},
248         1562879090.358421],
249        [loc('../../../../../../../usr/lib/wing-personal7/doc/TOC'),
250         {'displayed-index': 234,
251          'viewer-state': {'history': [-1,
252                                       60,
253                                       -1,
254                                       6,
255                                       1,
256                                       -1,
257                                       102,
258                                       234],
259                           'history-pos': 7,
260                           'index': 234,
261                           'top': 0,
262                           'top-left-pos': 20113}},
263         1562879176.767588],
264        [loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'),
265         {'attrib-starts': [('ConfigParser|0|',
266                             85),
267                            ('ConfigParser|0|.get|0|',
268                             589)],
269          'code-line': '                raise NoSectionError(section)\n',
270          'first-line': 597L,
271          'folded-linenos': [],
272          'sel-line': 606L,
273          'sel-line-start': 22028L,
274          'selection_end': 22028L,
275          'selection_start': 22028L,
276          'zoom': 0L},
277         1562879399.049104],
278        [loc('../../../../../../../usr/lib/wing-personal7/doc/TOC'),
279         {'displayed-index': 234,
280          'viewer-state': {'history': [-1,
281                                       60,
282                                       -1,
283                                       6,
284                                       1,
285                                       -1,
286                                       102,
287                                       234],
288                           'history-pos': 7,
289                           'index': 234,
290                           'top': 0,
291                           'top-left-pos': 101}},
292         1562879632.459482],
293        [loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'),
294         {'attrib-starts': [('ConfigParser|0|',
295                             85),
296                            ('ConfigParser|0|.get|0|',
297                             589)],
298          'code-line': '                raise NoSectionError(section)\n',
299          'first-line': 597L,
300          'folded-linenos': [],
301          'sel-line': 606L,
302          'sel-line-start': 22028L,
303          'selection_end': 22028L,
304          'selection_start': 22028L,
305          'zoom': 0L},
306         1562879640.602333],
307        [loc('logging_service.py'),
308         {'attrib-starts': [('startup|0|',
309                             16)],
310          'code-line': '        timeStamp = getSimTime()\n',
311          'first-line': 18L,
312          'folded-linenos': [],
313          'sel-line': 41L,
314          'sel-line-start': 1347L,
315          'selection_end': 1378L,
316          'selection_start': 1378L,
317          'zoom': 0L},
318         1562879647.165641],
319        [loc('__main__.py'),
320         {'attrib-starts': [('main|0|',
321                             2)],
322          'code-line': '    print "Unified Logging Service starting from ",o'\
323                       's.getcwd()\n',
324          'first-line': 0L,
325          'folded-linenos': [],
326          'sel-line': 3L,
327          'sel-line-start': 132L,
328          'selection_end': 183L,
329          'selection_start': 183L,
330          'zoom': 0L},
331         1562879668.696399],
332        [loc('logging_service.py'),
333         {'attrib-starts': [('startup|0|',
334                             16)],
335          'code-line': '        timeStamp = getSimTime()\n',
336          'first-line': 18L,
337          'folded-linenos': [],
338          'sel-line': 41L,
339          'sel-line-start': 1347L,
340          'selection_end': 1378L,
341          'selection_start': 1378L,
342          'zoom': 0L},
343         1562880191.70851],
344        [loc('cms_watcher.py'),
345         {'attrib-starts': [('extractMessages|0|',
346                             45)],
347          'code-line': '\n',
348          'first-line': 45L,
349          'folded-linenos': [],
350          'sel-line': 56L,
351          'sel-line-start': 1978L,
352          'selection_end': 1978L,
353          'selection_start': 1978L,
354          'zoom': 0L},
355         1562880439.712792],
356        [loc('logging_service.py'),
357         {'attrib-starts': [('startup|0|',
358                             16)],
359          'code-line': '        timeStamp = getSimTime()\n',
360          'first-line': 0L,
361          'folded-linenos': [],
362          'sel-line': 41L,
363          'sel-line-start': 1347L,
364          'selection_end': 1378L,
365          'selection_start': 1378L,
366          'zoom': 0L},
367         1562880463.667528],
368        [loc('cms_watcher.py'),
369         {'attrib-starts': [('getLogEntries|0|',
370                             61)],
371          'code-line': "               results.append(\"CMS Updated., \" + l"\
372                       "ocationMap[idList[idx]] + \", '\" + currList[idx] +"\
373                       "\"'\")\n",
374          'first-line': 57L,
375          'folded-linenos': [],
376          'sel-line': 78L,
377          'sel-line-start': 2846L,
378          'selection_end': 2924L,
379          'selection_start': 2924L,
380          'zoom': 0L},
381         1562880625.962149],
382        [loc('cad_watcher.py'),
383         {'attrib-starts': [('setup|0|',
384                             31)],
385          'code-line': '    return\n',
386          'first-line': 24L,
387          'folded-linenos': [],
388          'sel-line': 33L,
389          'sel-line-start': 888L,
390          'selection_end': 898L,
391          'selection_start': 898L,
392          'zoom': 0L},
393         1562882880.377423],
394        [loc('cms_watcher.py'),
395         {'attrib-starts': [('extractMessages|0|',
396                             45)],
397          'code-line': "                    msgList[idx]['cms']['message']['"\
398                       "phase2']['Line2'] + ':' +\n",
399          'first-line': 39L,
400          'folded-linenos': [],
401          'sel-line': 54L,
402          'sel-line-start': 1829L,
403          'selection_end': 1903L,
404          'selection_start': 1903L,
405          'zoom': 0L},
406         1562883842.916941],
407        [loc('logging_service.py'),
408         {'attrib-starts': [('startup|0|',
409                             17)],
410          'code-line': '            f = open(logfilepath + outputFilename, "'\
411                       'a")\n',
412          'first-line': 0L,
413          'folded-linenos': [],
414          'sel-line': 63L,
415          'sel-line-start': 2214L,
416          'selection_end': 2263L,
417          'selection_start': 2263L,
418          'zoom': 0L},
419         1562887416.91585],
420        [loc('__main__.py'),
421         {'attrib-starts': [('main|0|',
422                             2)],
423          'code-line': '    print "Unified Logging Service starting from ",o'\
424                       's.getcwd()\n',
425          'first-line': 0L,
426          'folded-linenos': [],
427          'sel-line': 3L,
428          'sel-line-start': 132L,
429          'selection_end': 183L,
430          'selection_start': 183L,
431          'zoom': 0L},
432         1562892803.750792],
433        [loc('cms_watcher.py'),
434         {'attrib-starts': [('isEmpty|0|',
435                             12)],
436          'code-line': '     return cmsitem == ":::::"\n',
437          'first-line': 0L,
438          'folded-linenos': [],
439          'sel-line': 13L,
440          'sel-line-start': 324L,
441          'selection_end': 353L,
442          'selection_start': 353L,
443          'zoom': 0L},
444         1562893146.713132]],
445        20),
446        'current-loc': loc('__main__.py'),
447        'editor-state-list': [(loc('cad_watcher.py'),
448                               {'attrib-starts': [('setup|0|',
449        31)],
450                                'code-line': '    return\n',
451                                'first-line': 24L,
452                                'folded-linenos': [],
453                                'sel-line': 33L,
454                                'sel-line-start': 888L,
455                                'selection_end': 898L,
456                                'selection_start': 898L,
457                                'zoom': 0L}),
458                              (loc('cms_watcher.py'),
459                               {'attrib-starts': [('isEmpty|0|',
460        12)],
461                                'code-line': '     return cmsitem == ":::::"'\
462        '\n',
463                                'first-line': 0L,
464                                'folded-linenos': [],
465                                'sel-line': 13L,
466                                'sel-line-start': 324L,
467                                'selection_end': 353L,
468                                'selection_start': 353L,
469                                'zoom': 0L}),
470                              (loc('logging_service.py'),
471                               {'attrib-starts': [('startup|0|',
472        17)],
473                                'code-line': '            f = open(logfilepa'\
474        'th + outputFilename, "a")\n',
475                                'first-line': 0L,
476                                'folded-linenos': [],
477                                'sel-line': 63L,
478                                'sel-line-start': 2214L,
479                                'selection_end': 2263L,
480                                'selection_start': 2263L,
481                                'zoom': 0L}),
482                              (loc('__main__.py'),
483                               {'attrib-starts': [('main|0|',
484        2)],
485                                'code-line': '    print "Unified Logging Ser'\
486        'vice starting from ",os.getcwd()\n',
487                                'first-line': 0L,
488                                'folded-linenos': [],
489                                'sel-line': 3L,
490                                'sel-line-start': 132L,
491                                'selection_end': 183L,
492                                'selection_start': 183L,
493                                'zoom': 0L})],
494        'has-focus': True,
495        'locked': False},
496        [loc('cad_watcher.py'),
497         loc('cms_watcher.py'),
498         loc('logging_service.py'),
499         loc('__main__.py')]),
500                               'open_files': [u'cad_watcher.py',
501        u'logging_service.py',
502        u'cms_watcher.py',
503        u'__main__.py']},
504        'saved_notebook_display': None,
505        'split_percents': {0: 0.5},
506        'splits': 2,
507        'tab_location': 'top',
508        'traversal_pos': ((0,
509                           3),
510                          1562879301.119771),
511        'user_data': {}},
512                 'saved_notebook_display': None,
513                 'split_percents': {},
514                 'splits': 1,
515                 'tab_location': 'left',
516                 'traversal_pos': ((0,
517                                    4),
518                                   1562892833.554952),
519                 'user_data': {}},
520        'window-alloc': (29,
521                         0,
522                         1197,
523                         722)}]}
524guimgr.recent-documents = [loc('__main__.py'),
525                           loc('cms_watcher.py'),
526                           loc('logging_service.py'),
527                           loc('cad_watcher.py')]
528guimgr.visual-state = {loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
529        'ttrib-starts': [('ConfigParser|0|',
530                          85),
531                         ('ConfigParser|0|.get|0|',
532                          589)],
533        'code-line': '                raise NoSectionError(section)\n',
534        'first-line': 597L,
535        'folded-linenos': [],
536        'sel-line': 606L,
537        'sel-line-start': 22028L,
538        'selection_end': 22028L,
539        'selection_start': 22028L,
540        'zoom': 0L}}
541proj.build-cmd = {None: ('default',
542                         None)}
543proj.env-vars = {None: ('default',
544                        [u''])}
545search.search-history = [u'default directory policy']
Note: See TracBrowser for help on using the repository browser.