Changeset 645 in tmcsimulator for trunk/src/python/unifiedlogger
- Timestamp:
- 09/01/2022 01:12:20 PM (4 years ago)
- Location:
- trunk/src/python/unifiedlogger
- Files:
-
- 3 edited
-
__main__.py (modified) (1 diff)
-
activitylog_watcher.py (modified) (2 diffs)
-
wing_project.wpr (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python/unifiedlogger/__main__.py
r452 r645 5 5 config = ConfigParser.ConfigParser() 6 6 try: 7 config.read('config/application_properties.cf ')7 config.read('config/application_properties.cfg') 8 8 revNum = config.get('Versions', 'revision_number') 9 9 except: # If config file not found, use a question mark placeholder -
trunk/src/python/unifiedlogger/activitylog_watcher.py
r644 r645 45 45 config.read('config/logging_service.cfg') 46 46 return config.get('Paths', 'ActivityLogPath') 47 48 # get data filenames from configuration 49 # returns incident data filename, incident summary filename 50 # jdalbey 2022.9.1 51 def getLogFilenames(): 52 config = ConfigParser.ConfigParser() 53 config.read('config/logging_service.cfg') 54 file1 = config.get('Files','ActivityLogDataFilename') 55 file2 = config.get('Files','ActivityLogSummaryFilename') 56 return file1,file2 47 57 48 58 # Read the activty log entries 49 59 def readFile1(): 50 logfilename = "incident_activity.json"#"IncidentActivity.log"60 logfilename = getLogFilenames()[0] #"IncidentActivity.log" 51 61 output = [] 52 62 try: … … 64 74 # It has a different format than incident_activity.json, so we put it in a separate function. 65 75 def readFile2(): 66 data_summary = "incident_description.json" 76 data_summary = getLogFilenames()[1] #"incident_description.json" 77 67 78 output = [] 68 79 try: -
trunk/src/python/unifiedlogger/wing_project.wpr
r561 r645 55 55 'runargs': u'', 56 56 'rundir': ('custom', 57 u'/home/jdalbey/Dropbox/TMCrepo/trunk')})}) 57 u'/home/jdalbey/Dropbox/TMCrepo/trunk')}), 58 'launch-a0u7qlM0pw1rlvbT': ({}, 59 {'buildcmd': ('project', 60 None), 61 'env': ('project', 62 [u'']), 63 'name': 'default', 64 'pyexec': ('project', 65 u''), 66 'pypath': ('project', 67 []), 68 'pyrunargs': ('project', 69 '-u'), 70 'runargs': u'', 71 'rundir': ('project', 72 u'')})}) 58 73 proj.directory-list = [{'dirloc': loc('.'), 59 74 'excludes': (), … … 72 87 loc('extract_caddetails.py'): ('custom', 73 88 (u'', 74 'launch- Dap54cn2qAN7AXZm'))}89 'launch-a0u7qlM0pw1rlvbT'))} 75 90 proj.main-file = loc('extract_caddetails.py') 76 91 [user attributes] 77 92 debug.show-args-dialog = {loc('__main__.py'): False} 78 edit.file-encoding = {loc('get_revision'): 'UTF-8', 93 edit.file-encoding = {loc('../../../../../../Audio/mkLabelTrack.py'): 'UTF-8', 94 loc('get_revision'): 'UTF-8', 79 95 loc('test_logging_service.py'): 'UTF-8'} 80 96 guimgr.overall-gui-state = {'windowing-policy': 'combined-window', 81 97 'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\ 82 98 'v7Dw8l', 83 'size-state': ' ',99 'size-state': 'maximized', 84 100 'type': 'dock', 85 101 'view': {'area': 'tall', … … 88 104 'full-screen': False, 89 105 'notebook_display': 'normal', 90 'notebook_percent': 0. 09260908281389135,106 'notebook_percent': 0.189071986123157, 91 107 'override_title': None, 92 108 'pagelist': [('source-assistant', … … 127 143 'current_pages': [1, 128 144 2], 129 'notebook_display': ' normal',130 'notebook_percent': 0. 4230235783633842,145 'notebook_display': 'tabs only', 146 'notebook_percent': 0.5, 131 147 'override_title': None, 132 'pagelist': [(' batch-search',148 'pagelist': [('debug-data', 133 149 'wide', 134 150 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}), 151 {}), 152 ('debug-exceptions', 153 'wide', 154 0, 155 {}), 163 156 ('interactive-search', 164 157 'wide', … … 174 167 'fOmitBinary': True, 175 168 'fRegexFlags': 42, 176 'fReplaceText': u' details_file',169 'fReplaceText': u'grid', 177 170 'fReverse': False, 178 'fSearchText': u' out_file',171 'fSearchText': u'marks', 179 172 'fStartPos': 0, 180 173 'fStyle': 'text', … … 190 183 'fShowLineno': True, 191 184 'fShowReplaceWidgets': True}}), 192 ('debug-data',193 'wide',194 0,195 {}),196 ('debug-exceptions',197 'wide',198 0,199 {}),200 185 ('python-shell', 201 186 'wide', … … 225 210 'toolbox-percent': 1.0, 226 211 'toolbox-tree-sel': 'cmd-zde72uIOzRuMXDlM'})], 227 'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 228 {'attrib-starts': [('Element|0|', 229 170), 230 ('Element|0|.__getitem__|0|', 231 76)], 232 'code-line': ' return self._children[index]\n', 233 'first-line': 256L, 212 'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/Roundup_Gsolver/replaySolution.py'), 213 {'attrib-starts': [('dump|0|', 214 -1)], 215 'code-line': ' print line.strip()\n', 216 'first-line': 0L, 234 217 'folded-linenos': [], 235 'sel-line': 2 65L,236 'sel-line-start': 8855L,237 'selection_end': 8855L,238 'selection_start': 8855L,218 'sel-line': 2L, 219 'sel-line-start': 29L, 220 'selection_end': 51L, 221 'selection_start': 51L, 239 222 'zoom': 0L}, 240 1575993818.095502], 241 [loc('extend_unifiedlogger.py'), 242 {'attrib-starts': [], 243 'code-line': 'os.system("sort -o " + logfilepath + "caddetails.csv'\ 244 ' " \\\n', 245 'first-line': 49L, 223 1588365792.660595], 224 [loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/Roundup_Gsolver/replaySolution.py'), 225 {'attrib-starts': [('dump|0|', 226 2)], 227 'code-line': ' print marks[i][j],\n', 228 'first-line': 0L, 229 'folded-linenos': [], 230 'sel-line': 6L, 231 'sel-line-start': 136L, 232 'selection_end': 159L, 233 'selection_start': 154L, 234 'zoom': 0L}, 235 1588365832.206544], 236 [loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/Roundup_Gsolver/replaySolution.py'), 237 {'attrib-starts': [('makeMove|0|', 238 56)], 239 'code-line': ' x = True\n', 240 'first-line': 62L, 246 241 'folded-linenos': [], 247 242 'sel-line': 64L, 248 'sel-line-start': 2490L, 249 'selection_end': 2490L, 250 'selection_start': 2490L, 251 'zoom': 0L}, 252 1576038685.82371], 253 [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 254 {'attrib-starts': [('Element|0|', 255 170), 256 ('Element|0|.__getitem__|0|', 257 76)], 258 'code-line': ' return self._children[index]\n', 259 'first-line': 256L, 260 'folded-linenos': [], 261 'sel-line': 265L, 262 'sel-line-start': 8855L, 263 'selection_end': 8855L, 264 'selection_start': 8855L, 265 'zoom': 0L}, 266 1576038687.450623], 267 [loc('extend_unifiedlogger.py'), 268 {'attrib-starts': [], 269 'code-line': ' # add it to the entries \n', 270 'first-line': 55L, 271 'folded-linenos': [], 272 'sel-line': 56L, 273 'sel-line-start': 2446L, 274 'selection_end': 2490L, 275 'selection_start': 2490L, 276 'zoom': 0L}, 277 1576775656.200445], 278 [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 279 {'attrib-starts': [('XMLParser|0|', 280 1467), 281 ('XMLParser|0|._raiseerror|0|', 282 1518)], 283 'code-line': ' raise err\n', 284 'first-line': 1449L, 285 'folded-linenos': [], 286 'sel-line': 1522L, 287 'sel-line-start': 51967L, 288 'selection_end': 51967L, 289 'selection_start': 51967L, 290 'zoom': 0L}, 291 1576776077.910363], 292 [loc('extend_unifiedlogger.py'), 293 {'attrib-starts': [], 294 'code-line': ' entry_incinum = " CAD Log, Incident '\ 295 '#" + incident_num\n', 296 'first-line': 30L, 297 'folded-linenos': [], 298 'sel-line': 33L, 299 'sel-line-start': 1205L, 300 'selection_end': 1246L, 301 'selection_start': 1246L, 302 'zoom': 0L}, 303 1577393253.005358], 304 [loc('logging_service.py'), 305 {'attrib-starts': [('toHMS|0|', 306 7)], 307 'code-line': ' return "%02d:%02d:%02d" % (h, m, s) \n', 308 'first-line': 42L, 309 'folded-linenos': [], 310 'sel-line': 10L, 311 'sel-line-start': 281L, 312 'selection_end': 297L, 313 'selection_start': 297L, 314 'zoom': 0L}, 315 1577393417.740925], 316 [loc('extend_unifiedlogger.py'), 317 {'attrib-starts': [], 318 'code-line': 'out_file = open(logfilepath + "caddetails.csv", "w")'\ 319 '\n', 320 'first-line': 51L, 321 'folded-linenos': [], 322 'sel-line': 57L, 323 'sel-line-start': 2692L, 324 'selection_end': 2700L, 325 'selection_start': 2692L, 326 'zoom': 0L}, 327 1577394088.002284], 328 [loc('extend_unifiedlogger.py'), 329 {'attrib-starts': [], 330 'code-line': '\n', 331 'first-line': 42L, 332 'folded-linenos': [], 333 'sel-line': 62L, 334 'sel-line-start': 2871L, 335 'selection_end': 2871L, 336 'selection_start': 2871L, 337 'zoom': 0L}, 338 1577399854.843249], 243 'sel-line-start': 1691L, 244 'selection_end': 1707L, 245 'selection_start': 1707L, 246 'zoom': 0L}, 247 1590714439.844191], 248 [loc('../../../../../../Audio/mkLabelTrack.py'), 249 {'attrib-starts': [], 250 'code-line': 'print fields\n', 251 'first-line': 0L, 252 'folded-linenos': [], 253 'sel-line': 4L, 254 'sel-line-start': 121L, 255 'selection_end': 133L, 256 'selection_start': 133L, 257 'zoom': 0L}, 258 1590714669.227609], 259 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 260 {'attrib-starts': [('ConfigParser|0|', 261 85), 262 ('ConfigParser|0|.get|0|', 263 589)], 264 'code-line': ' raise NoSectionError(section)\n', 265 'first-line': 543L, 266 'folded-linenos': [], 267 'sel-line': 606L, 268 'sel-line-start': 22028L, 269 'selection_end': 22028L, 270 'selection_start': 22028L, 271 'zoom': 0L}, 272 1590714724.736702], 273 [loc('../../../../../../Audio/mkLabelTrack.py'), 274 {'attrib-starts': [], 275 'code-line': ' print duration\n', 276 'first-line': 0L, 277 'folded-linenos': [], 278 'sel-line': 7L, 279 'sel-line-start': 178L, 280 'selection_end': 182L, 281 'selection_start': 182L, 282 'zoom': 0L}, 283 1590714792.934401], 284 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 285 {'attrib-starts': [('ConfigParser|0|', 286 85), 287 ('ConfigParser|0|.get|0|', 288 589)], 289 'code-line': ' raise NoSectionError(section)\n', 290 'first-line': 589L, 291 'folded-linenos': [], 292 'sel-line': 606L, 293 'sel-line-start': 22028L, 294 'selection_end': 22028L, 295 'selection_start': 22028L, 296 'zoom': 0L}, 297 1590714796.772516], 298 [loc('../../../../../../Audio/mkLabelTrack.py'), 299 {'attrib-starts': [], 300 'code-line': ' print line\n', 301 'first-line': 0L, 302 'folded-linenos': [], 303 'sel-line': 4L, 304 'sel-line-start': 95L, 305 'selection_end': 109L, 306 'selection_start': 109L, 307 'zoom': 0L}, 308 1590714824.10036], 309 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 310 {'attrib-starts': [('ConfigParser|0|', 311 85), 312 ('ConfigParser|0|.get|0|', 313 589)], 314 'code-line': ' raise NoSectionError(section)\n', 315 'first-line': 589L, 316 'folded-linenos': [], 317 'sel-line': 606L, 318 'sel-line-start': 22028L, 319 'selection_end': 22028L, 320 'selection_start': 22028L, 321 'zoom': 0L}, 322 1590714827.713916], 323 [loc('../../../../../../Audio/mkLabelTrack.py'), 324 {'attrib-starts': [], 325 'code-line': 'import fileinput\n', 326 'first-line': 0L, 327 'folded-linenos': [], 328 'sel-line': 1L, 329 'sel-line-start': 31L, 330 'selection_end': 47L, 331 'selection_start': 47L, 332 'zoom': 0L}, 333 1590714863.217831], 334 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 335 {'attrib-starts': [('ConfigParser|0|', 336 85), 337 ('ConfigParser|0|.get|0|', 338 589)], 339 'code-line': ' raise NoSectionError(section)\n', 340 'first-line': 589L, 341 'folded-linenos': [], 342 'sel-line': 606L, 343 'sel-line-start': 22028L, 344 'selection_end': 22028L, 345 'selection_start': 22028L, 346 'zoom': 0L}, 347 1590714865.527688], 348 [loc('../../../../../../Audio/mkLabelTrack.py'), 349 {'attrib-starts': [], 350 'code-line': 'for line in f.readlines():\n', 351 'first-line': 0L, 352 'folded-linenos': [], 353 'sel-line': 4L, 354 'sel-line-start': 85L, 355 'selection_end': 85L, 356 'selection_start': 85L, 357 'zoom': 0L}, 358 1590714951.077492], 359 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 360 {'attrib-starts': [('ConfigParser|0|', 361 85), 362 ('ConfigParser|0|.get|0|', 363 589)], 364 'code-line': ' raise NoSectionError(section)\n', 365 'first-line': 589L, 366 'folded-linenos': [], 367 'sel-line': 606L, 368 'sel-line-start': 22028L, 369 'selection_end': 22028L, 370 'selection_start': 22028L, 371 'zoom': 0L}, 372 1590714954.842588], 373 [loc('../../../../../../Audio/mkLabelTrack.py'), 374 {'attrib-starts': [], 375 'code-line': '', 376 'first-line': 0L, 377 'folded-linenos': [], 378 'sel-line': 0L, 379 'sel-line-start': 0L, 380 'selection_end': 0L, 381 'selection_start': 0L, 382 'zoom': 0L}, 383 1615741919.892709], 384 [loc('activitylog_watcher.py'), 385 {'attrib-starts': [('readFile|0|', 386 21)], 387 'code-line': ' logfilename = "data.json" #"IncidentActivity.l'\ 388 'og"\n', 389 'first-line': 27L, 390 'folded-linenos': [], 391 'sel-line': 26L, 392 'sel-line-start': 824L, 393 'selection_end': 857L, 394 'selection_start': 857L, 395 'zoom': 0L}, 396 1615742151.801719], 339 397 [loc('logging_service.py'), 340 398 {'attrib-starts': [], … … 347 405 'selection_start': 2695L, 348 406 'zoom': 0L}, 349 1577400145.321379], 407 1615742204.411151], 408 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 409 {'attrib-starts': [('ConfigParser|0|', 410 85), 411 ('ConfigParser|0|.get|0|', 412 589)], 413 'code-line': ' raise NoSectionError(section)\n', 414 'first-line': 582L, 415 'folded-linenos': [], 416 'sel-line': 606L, 417 'sel-line-start': 22028L, 418 'selection_end': 22028L, 419 'selection_start': 22028L, 420 'zoom': 0L}, 421 1615742214.410826], 422 [loc('logging_service.py'), 423 {'attrib-starts': [], 424 'code-line': "if __name__ == '__main__':\n", 425 'first-line': 0L, 426 'folded-linenos': [], 427 'sel-line': 80L, 428 'sel-line-start': 2695L, 429 'selection_end': 2735L, 430 'selection_start': 2695L, 431 'zoom': 0L}, 432 1615742245.432202], 350 433 [loc('extract_caddetails.py'), 351 434 {'attrib-starts': [], 352 'code-line': ' startup()\n', 353 'first-line': 0L, 354 'folded-linenos': [], 355 'sel-line': 62L, 356 'sel-line-start': 2826L, 357 'selection_end': 2839L, 358 'selection_start': 2839L, 359 'zoom': 0L}, 360 1577400164.213804], 361 [loc('__main__.py'), 362 {'attrib-starts': [('main|0|', 363 2)], 364 'code-line': 'def main():\n', 365 'first-line': 0L, 366 'folded-linenos': [], 367 'sel-line': 2L, 368 'sel-line-start': 134L, 369 'selection_end': 145L, 370 'selection_start': 134L, 371 'zoom': 0L}, 372 1577400181.955552], 373 [loc('extract_caddetails.py'), 374 {'attrib-starts': [], 375 'code-line': ' extract()\n', 376 'first-line': 0L, 377 'folded-linenos': [], 378 'sel-line': 62L, 379 'sel-line-start': 3068L, 380 'selection_end': 3079L, 381 'selection_start': 3079L, 382 'zoom': 0L}, 383 1577400309.516676], 384 [loc('__main__.py'), 385 {'attrib-starts': [('main|0|', 386 2)], 387 'code-line': 'def main():\n', 388 'first-line': 0L, 389 'folded-linenos': [], 390 'sel-line': 2L, 391 'sel-line-start': 134L, 392 'selection_end': 145L, 393 'selection_start': 134L, 394 'zoom': 0L}, 395 1577400449.642736], 396 [loc('extract_caddetails.py'), 397 {'attrib-starts': [], 398 'code-line': ' extract()\n', 399 'first-line': 54L, 400 'folded-linenos': [], 401 'sel-line': 62L, 402 'sel-line-start': 3068L, 403 'selection_end': 3079L, 404 'selection_start': 3079L, 405 'zoom': 0L}, 406 1577400694.441992], 407 [loc('__main__.py'), 435 'code-line': '# Move unifiedlogger.zip from deploy folder'\ 436 ' to webapps folder.\n', 437 'first-line': 0L, 438 'folded-linenos': [], 439 'sel-line': 6L, 440 'sel-line-start': 246L, 441 'selection_end': 317L, 442 'selection_start': 317L, 443 'zoom': 0L}, 444 1615742287.829168], 445 [loc('logging_service.py'), 408 446 {'attrib-starts': [], 409 447 'code-line': "if __name__ == '__main__':\n", 410 448 'first-line': 0L, 411 449 'folded-linenos': [], 412 'sel-line': 13L, 413 'sel-line-start': 556L, 414 'selection_end': 593L, 415 'selection_start': 556L, 416 'zoom': 0L}, 417 1577400713.516774], 418 [loc('extract_caddetails.py'), 419 {'attrib-starts': [], 420 'code-line': ' main()\n', 421 'first-line': 48L, 422 'folded-linenos': [], 423 'sel-line': 62L, 424 'sel-line-start': 3065L, 425 'selection_end': 3073L, 426 'selection_start': 3073L, 427 'zoom': 0L}, 428 1577401207.628608], 429 [loc('__main__.py'), 430 {'attrib-starts': [], 431 'code-line': "if __name__ == '__main__':\n", 432 'first-line': 0L, 433 'folded-linenos': [], 434 'sel-line': 13L, 435 'sel-line-start': 556L, 436 'selection_end': 593L, 437 'selection_start': 556L, 438 'zoom': 0L}, 439 1577401209.827539], 440 [loc('extract_caddetails.py'), 441 {'attrib-starts': [], 442 'code-line': ' main()\n', 443 'first-line': 0L, 444 'folded-linenos': [], 445 'sel-line': 62L, 446 'sel-line-start': 3065L, 447 'selection_end': 3073L, 448 'selection_start': 3073L, 449 'zoom': 0L}, 450 1577401579.928], 451 [loc('__main__.py'), 452 {'attrib-starts': [], 453 'code-line': "if __name__ == '__main__':\n", 454 'first-line': 14L, 455 'folded-linenos': [], 456 'sel-line': 13L, 457 'sel-line-start': 556L, 458 'selection_end': 593L, 459 'selection_start': 556L, 460 'zoom': 0L}, 461 1577405755.47867]], 450 'sel-line': 80L, 451 'sel-line-start': 2695L, 452 'selection_end': 2735L, 453 'selection_start': 2695L, 454 'zoom': 0L}, 455 1615742466.692804]], 462 456 20), 463 'current-loc': loc(' extract_caddetails.py'),457 'current-loc': loc('activitylog_watcher.py'), 464 458 'editor-state-list': [(loc('activitylog_watcher.py'), 465 459 {'attrib-starts': [('readFile|0|', 466 460 21)], 467 'code-line': ' logfilename = "data.json"'\468 ' #"IncidentActivity.log"\n',469 'first-line': 39L,461 'code-line': ' # read in data_summary'\ 462 '_json file that contains Incident summary data\n', 463 'first-line': 0L, 470 464 'folded-linenos': [], 471 'sel-line': 26L, 472 'sel-line-start': 824L, 473 'selection_end': 857L, 474 'selection_start': 857L, 465 'sel-line': 38L, 466 'sel-line-start': 1253L, 467 'selection_end': 1329L, 468 'selection_start': 1329L, 469 'zoom': 0L}), 470 (loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 471 {'attrib-starts': [('ConfigParser|0|', 472 85), 473 ('ConfigParser|0|.get|0|', 474 589)], 475 'code-line': ' raise NoSectio'\ 476 'nError(section)\n', 477 'first-line': 582L, 478 'folded-linenos': [], 479 'sel-line': 606L, 480 'sel-line-start': 22028L, 481 'selection_end': 22028L, 482 'selection_start': 22028L, 475 483 'zoom': 0L}), 476 484 (loc('extract_caddetails.py'), … … 485 493 'selection_start': 317L, 486 494 'zoom': 0L}), 487 (loc('../../../config/logging_service.cfg'),488 {'attrib-starts': [],489 'code-line': 'UnifiedLogPath = webapps/dynam'\490 'icdata/\n',491 'first-line': 0L,492 'folded-linenos': [],493 'sel-line': 1L,494 'sel-line-start': 8L,495 'selection_end': 22L,496 'selection_start': 8L,497 'zoom': 0L}),498 495 (loc('logging_service.py'), 499 496 {'attrib-starts': [], … … 505 502 'selection_end': 2735L, 506 503 'selection_start': 2695L, 507 'zoom': 0L}),508 (loc('__main__.py'),509 {'attrib-starts': [],510 'code-line': "if __name__ == '__main__':\n",511 'first-line': 14L,512 'folded-linenos': [],513 'sel-line': 13L,514 'sel-line-start': 556L,515 'selection_end': 593L,516 'selection_start': 556L,517 504 'zoom': 0L})], 518 505 'has-focus': True, 519 506 'locked': False}, 520 507 [loc('activitylog_watcher.py'), 508 loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 521 509 loc('extract_caddetails.py'), 522 loc('../../../config/logging_service.cfg'), 523 loc('logging_service.py'), 524 loc('__main__.py')]), 525 'open_files': [u'../../../config/logging_service.cfg', 526 u'activitylog_watcher.py', 510 loc('logging_service.py')]), 511 'open_files': [u'extract_caddetails.py', 512 u'../../../../../../../../usr/lib/python2.7/ConfigParser.py', 527 513 u'logging_service.py', 528 u'__main__.py', 529 u'extract_caddetails.py']}, 514 u'activitylog_watcher.py']}, 530 515 'saved_notebook_display': None, 531 516 'split_percents': {0: 0.5}, 532 517 'splits': 2, 533 518 'tab_location': 'top', 534 'traversal_pos': (( 1,535 2),536 1 577400521.436669),519 'traversal_pos': ((0, 520 1), 521 1615742204.343147), 537 522 'user_data': {}}, 538 523 'saved_notebook_display': None, … … 544 529 1576038340.052804), 545 530 'user_data': {}}, 546 'window-alloc': (1152, 547 30, 548 1127, 549 726)}]} 550 guimgr.recent-documents = [loc('extract_caddetails.py'), 551 loc('__main__.py'), 531 'window-alloc': (62, 532 18, 533 1155, 534 691)}]} 535 guimgr.recent-documents = [loc('activitylog_watcher.py'), 552 536 loc('logging_service.py'), 553 loc('activitylog_watcher.py'), 554 loc('../../../config/logging_service.cfg')] 555 guimgr.visual-state = {loc('cad_watcher.py'): {'attrib-starts': [('getLogEnt'\ 537 loc('extract_caddetails.py')] 538 guimgr.visual-state = {loc('../../../../../../Audio/mkLabelTrack.py'): {'att'\ 539 'rib-starts': [], 540 'code-line': '', 541 'first-line': 0L, 542 'folded-linenos': [], 543 'sel-line': 0L, 544 'sel-line-start': 0L, 545 'selection_end': 0L, 546 'selection_start': 0L, 547 'zoom': 0L}, 548 loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/RoundupBoards/echoboard.py'): {'a'\ 549 'ttrib-starts': [('dump|0|', 550 1)], 551 'code-line': ' print line.strip()\n', 552 'first-line': 0L, 553 'folded-linenos': [], 554 'sel-line': 2L, 555 'sel-line-start': 29L, 556 'selection_end': 51L, 557 'selection_start': 51L, 558 'zoom': 0L}, 559 loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/Roundup_Gsolver/replaySolution.py'): {'a'\ 560 'ttrib-starts': [('makeMove|0|', 561 56)], 562 'code-line': ' x = True\n', 563 'first-line': 62L, 564 'folded-linenos': [], 565 'sel-line': 64L, 566 'sel-line-start': 1691L, 567 'selection_end': 1707L, 568 'selection_start': 1707L, 569 'zoom': 0L}, 570 loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/Roundup_Gsolver/rotate.py'): {'a'\ 571 'ttrib-starts': [], 572 'code-line': ' print matches[selected]\n', 573 'first-line': 27L, 574 'folded-linenos': [], 575 'sel-line': 48L, 576 'sel-line-start': 1653L, 577 'selection_end': 1663L, 578 'selection_start': 1663L, 579 'zoom': 0L}, 580 loc('../../../../../../Docs/Academics/Courses_SWE/305/Projects/Roundup_Gsolver/sortboard.py'): {'a'\ 581 'ttrib-starts': [], 582 'code-line': ' idx = randint(0,len(solmap[solkey])-1)\n', 583 'first-line': 27L, 584 'folded-linenos': [], 585 'sel-line': 47L, 586 'sel-line-start': 1357L, 587 'selection_end': 1403L, 588 'selection_start': 1357L, 589 'zoom': 0L}, 590 loc('../../../../../Documents/crosswordsocial1.py'): {'a'\ 591 'ttrib-starts': [], 592 'code-line': 'img_pixels = im.load()\n', 593 'first-line': 9L, 594 'folded-linenos': [], 595 'sel-line': 10L, 596 'sel-line-start': 257L, 597 'selection_end': 267L, 598 'selection_start': 257L, 599 'zoom': 0L}, 600 loc('../../../config/logging_service.cfg'): {'attrib-'\ 601 'starts': [], 602 'code-line': 'UnifiedLogPath = webapps/dynamicdata/\n', 603 'first-line': 0L, 604 'folded-linenos': [], 605 'sel-line': 1L, 606 'sel-line-start': 8L, 607 'selection_end': 22L, 608 'selection_start': 8L, 609 'zoom': 0L}, 610 loc('__main__.py'): {'attrib-starts': [], 611 'code-line': "if __name__ == '__main__':\n", 612 'first-line': 14L, 613 'folded-linenos': [], 614 'sel-line': 13L, 615 'sel-line-start': 556L, 616 'selection_end': 593L, 617 'selection_start': 556L, 618 'zoom': 0L}, 619 loc('activitylog_watcher.py'): {'attrib-starts': [('r'\ 620 'eadFile|0|', 621 21)], 622 'code-line': ' logfilename = "data.json" #"IncidentActivity.log'\ 623 '"\n', 624 'first-line': 39L, 625 'folded-linenos': [], 626 'sel-line': 26L, 627 'sel-line-start': 824L, 628 'selection_end': 857L, 629 'selection_start': 857L, 630 'zoom': 0L}, 631 loc('cad_watcher.py'): {'attrib-starts': [('getLogEnt'\ 556 632 'ries|0|', 557 633 18)], … … 585 661 'zoom': 0L}, 586 662 loc('extract_caddetails.py'): {'attrib-starts': [], 587 'code-line': ' main()\n', 663 'code-line': '# Move unifiedlogger.zip from deploy folder t'\ 664 'o webapps folder.\n', 588 665 'first-line': 0L, 589 666 'folded-linenos': [], 590 'sel-line': 6 2L,591 'sel-line-start': 3065L,592 'selection_end': 3 073L,593 'selection_start': 3 073L,667 'sel-line': 6L, 668 'sel-line-start': 246L, 669 'selection_end': 317L, 670 'selection_start': 317L, 594 671 'zoom': 0L}, 595 672 loc('get_app_properties.py'): {'attrib-starts': [], … … 610 687 'selection_end': 455L, 611 688 'selection_start': 455L, 689 'zoom': 0L}, 690 loc('logging_service.py'): {'attrib-starts': [], 691 'code-line': "if __name__ == '__main__':\n", 692 'first-line': 0L, 693 'folded-linenos': [], 694 'sel-line': 80L, 695 'sel-line-start': 2695L, 696 'selection_end': 2735L, 697 'selection_start': 2695L, 612 698 'zoom': 0L}, 613 699 loc('test_logging_service.py'): {'attrib-starts': [('t'\ … … 641 727 589)], 642 728 'code-line': ' raise NoSectionError(section)\n', 643 'first-line': 5 75L,729 'first-line': 589L, 644 730 'folded-linenos': [], 645 731 'sel-line': 606L, … … 689 775 proj.env-vars = {None: ('default', 690 776 [u''])} 691 search.search-history = [u'default directory policy'] 777 search.replace-history = [u'sol', 778 u'img_pixels'] 779 search.search-history = [u'text', 780 u'px', 781 u'default directory policy']
Note: See TracChangeset
for help on using the changeset viewer.
