Changeset 550 in tmcsimulator for trunk/src/python/unifiedlogger
- Timestamp:
- 12/26/2019 03:10:19 PM (6 years ago)
- Location:
- trunk/src/python/unifiedlogger
- Files:
-
- 2 edited
- 1 moved
-
extract_caddetails.py (moved) (moved from trunk/src/python/unifiedlogger/extend_unifiedlogger.py) (1 diff)
-
logging_service.py (modified) (1 diff)
-
wing_project.wpr (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python/unifiedlogger/extract_caddetails.py
r545 r550 1 1 import xml.etree.ElementTree as ET 2 2 import os, ConfigParser 3 # Standalone application to extract CAD DETAIL info from 4 # incident_script.xml. 5 # @author Ally Quan, jdalbey 6 # Deploy: zip file is created by package_jars target of NetBeans build.xml. 7 # Move unifiedlogger.zip from deploy folder to webapps folder. 8 # Usage: PYTHONPATH=webapps/unifiedlogger.zip python -m extract_caddetails 9 def extract(): 10 config = ConfigParser.ConfigParser() 11 config.read('config/logging_service.cfg') 12 logfilepath = config.get('Paths', 'UnifiedLogPath') 13 14 # read in the incident script in XML format 15 tree = ET.parse(logfilepath + 'incident_script.xml') 16 # root is TMC_SCRIPT tag 17 root = tree.getroot() 18 19 # entries contain all of the entry of cad incident from incident script 20 entries = "" 21 22 # loop through tags under TMC_SCRIPT 23 for script_event in root: 24 # if found tag SCRIPT_EVENT 25 if script_event.tag == 'SCRIPT_EVENT': 26 entry_str = "" 27 # loop through tags within SCRIPT_EVENT tags 28 for info_type in script_event: 29 # Add the time index field to entry string 30 if info_type.tag == 'TIME_INDEX': 31 entry_time = info_type.text + "," 32 # Get the incident number to entry string 33 if info_type.tag == "INCIDENT": 34 incident_num = info_type.attrib["LogNum"] 35 entry_incinum = " CAD Log, Incident #" + incident_num 36 # Get the cad data info 37 if info_type.tag == 'CAD_DATA': 38 # Loop through all tags under CAD_DATA 39 for event in info_type: 40 # Look for CAD_INCIDENT_EVENT 41 if event.tag == 'CAD_INCIDENT_EVENT': 42 # set flag to check if DETAIL field exist 43 detailFlag = False 44 detailText = "" 45 for info in event: 46 # Add the incident detail to entry string 47 if info.tag == "DETAIL": 48 # replace commas with whitespace 49 infotext = info.text.replace(",", " ") 50 # if it's the second DETAIL field, 51 # we don't need the "Detail" label 52 if not detailFlag: 53 detailText = ", Detail: " 54 detailFlag = True 55 detailText += infotext 56 # Build the complete line from the header and details 57 entry_str += entry_time + entry_incinum + detailText 58 # if there's detail field add it to the entries 59 if detailFlag: 60 entries += entry_str + "\n" 61 62 # write all the entries from incident_sript.xml to the output file 63 # create a new file for the combined entry from incident script and unifiedlog 64 details_file = open(logfilepath + "caddetails.csv", "w") 65 details_file.write(entries) 66 details_file.close() 3 67 4 config = ConfigParser.ConfigParser() 5 config.read('config/logging_service.cfg') 6 logfilepath = config.get('Paths', 'UnifiedLogPath') 68 if __name__ == '__main__': 69 extract() 70 71 # The following code is obsolete and has been replaced by a unix script 7 72 8 # read in the incident script in XML format 9 tree = ET.parse(logfilepath + 'incident_script.xml') 10 # root is TMC_SCRIPT tag 11 root = tree.getroot() 73 # Append unifiedlog file to caddetails file 74 #details_file = open(logfilepath + "caddetails.csv", "a") 75 # read in unifiedlog.csv and append to the caddetails file 76 #unified_log = open(logfilepath + "unifiedlog.csv", "r") 77 #line = unified_log.readline() 78 #while line: 79 # details_file.write(line) 80 # line = unified_log.readline() 12 81 13 # entries contain all of the entry of cad incident from incident script 14 entries = "" 15 # create a new file for the combined entry from incident script and unifiedlog 16 out_file = open(logfilepath + "caddetails.csv", "w") 17 18 # read from the unifiedlog 19 unified_log = open(logfilepath + "unifiedlog.csv", "r") 20 21 # loop through tags under TMC_SCRIPT 22 for script_event in root: 23 # if found tag SCRIPT_EVENT 24 if script_event.tag == 'SCRIPT_EVENT': 25 entry_str = "" 26 # loop through tags within SCRIPT_EVENT tags 27 for info_type in script_event: 28 # Add the time index field to entry string 29 if info_type.tag == 'TIME_INDEX': 30 entry_time = info_type.text + "," 31 # Get the incident number to entry string 32 if info_type.tag == "INCIDENT": 33 incident_num = info_type.attrib["LogNum"] 34 entry_incinum = " CAD Log, Incident #" + incident_num 35 # Get the cad data info 36 if info_type.tag == 'CAD_DATA': 37 # Loop through all tags under CAD_DATA 38 for event in info_type: 39 # Look for CAD_INCIDENT_EVENT 40 if event.tag == 'CAD_INCIDENT_EVENT': 41 # set flag to check if DETAIL field exist 42 detailFlag = False 43 detailText = "" 44 for info in event: 45 # Add the incident detail to entry string 46 if info.tag == "DETAIL": 47 # replace commas with whitespace 48 infotext = info.text.replace(",", " ") 49 # if it's the second DETAIL field, 50 # we don't need the "Detail" label 51 if not detailFlag: 52 detailText = ", Detail: " 53 detailFlag = True 54 detailText += infotext 55 # Build the complete line from the header and details 56 entry_str += entry_time + entry_incinum + detailText 57 # if there's detail field add it to the entries 58 if detailFlag: 59 entries += entry_str + "\n" 60 # write all the entries from incident_sript.xml to the output file 61 out_file.write(entries) 62 63 out_file = open(logfilepath + "caddetails.csv", "a") 64 # read in unifiedlog.csv and append to the output file 65 line = unified_log.readline() 66 while line: 67 out_file.write("0"+line) 68 line = unified_log.readline() 69 70 out_file.close() 82 #details_file.close() 71 83 72 84 # run the unix command line to sorting the file 73 os.system("sort -o " + logfilepath + "caddetails.csv " \74 + logfilepath + "caddetails.csv")85 #os.system("sort -o " + logfilepath + "caddetails.csv " \ 86 # + logfilepath + "caddetails.csv") 75 87 -
trunk/src/python/unifiedlogger/logging_service.py
r471 r550 9 9 m, s = divmod(int(seconds), 60) 10 10 h, m = divmod(m, 60) 11 return "% d:%02d:%02d" % (h, m, s)11 return "%02d:%02d:%02d" % (h, m, s) 12 12 13 13 # Load the sim time file and extract the seconds */ -
trunk/src/python/unifiedlogger/wing_project.wpr
r549 r550 5 5 ################################################################## 6 6 [project attributes] 7 console.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}] 7 27 debug.launch-configs = (2, 8 28 {'launch-79fWcT8eQm1A3xyz': ({}, … … 49 69 loc('extend_unifiedlogger.py'): ('custom', 50 70 (u'', 71 'launch-Dap54cn2qAN7AXZm')), 72 loc('extract_caddetails.py'): ('custom', 73 (u'', 51 74 'launch-Dap54cn2qAN7AXZm'))} 52 proj.main-file = loc('ext end_unifiedlogger.py')75 proj.main-file = loc('extract_caddetails.py') 53 76 [user attributes] 54 77 debug.show-args-dialog = {loc('__main__.py'): False} … … 58 81 'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\ 59 82 'v7Dw8l', 60 'size-state': ' maximized',83 'size-state': '', 61 84 'type': 'dock', 62 85 'view': {'area': 'tall', … … 102 125 'primary_view_state': {'area': 'wide', 103 126 'constraint': None, 104 'current_pages': [ 3,105 1],127 'current_pages': [1, 128 2], 106 129 'notebook_display': 'normal', 107 'notebook_percent': 0. 16227461858529824,130 'notebook_percent': 0.4230235783633842, 108 131 'override_title': None, 109 132 'pagelist': [('batch-search', … … 151 174 'fOmitBinary': True, 152 175 'fRegexFlags': 42, 153 'fReplaceText': u' lastLineNum',176 'fReplaceText': u'details_file', 154 177 'fReverse': False, 155 'fSearchText': u' fileLength',178 'fSearchText': u'out_file', 156 179 'fStartPos': 0, 157 180 'fStyle': 'text', … … 188 211 'launch-id': None, 189 212 'sel-line': 3L, 190 'sel-line-start': 13 2L,191 'selection_end': 13 2L,192 'selection_start': 13 2L,213 'sel-line-start': 131L, 214 'selection_end': 131L, 215 'selection_start': 131L, 193 216 'zoom': 0L}), 194 217 ('messages', … … 201 224 {'last-percent': 0.8, 202 225 'toolbox-percent': 1.0, 203 'toolbox-tree-sel': ''})], 204 'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('logging_service.py'), 205 {'attrib-starts': [('getSimTime|0|', 206 13)], 207 'code-line': ' print "Proceeding with previous time: ", toHMS'\ 208 '(seconds)\n', 209 'first-line': 0L, 226 'toolbox-tree-sel': 'cmd-zde72uIOzRuMXDlM'})], 227 'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('extend_unifiedlogger.py'), 228 {'attrib-starts': [], 229 'code-line': ' for info_type in script_event:\n', 230 'first-line': 15L, 210 231 'folded-linenos': [], 211 'sel-line': 2 1L,212 'sel-line-start': 649L,213 'selection_end': 649L,214 'selection_start': 649L,232 'sel-line': 27L, 233 'sel-line-start': 879L, 234 'selection_end': 879L, 235 'selection_start': 879L, 215 236 'zoom': 0L}, 216 1569957016.54503], 217 [loc('__main__.py'), 218 {'attrib-starts': [], 219 'code-line': 'import logging_service, os, ConfigParser\n', 220 'first-line': 0L, 221 'folded-linenos': [], 222 'sel-line': 0L, 223 'sel-line-start': 0L, 224 'selection_end': 40L, 225 'selection_start': 28L, 226 'zoom': 0L}, 227 1573490786.397811], 228 [loc('cad_watcher.py'), 229 {'attrib-starts': [('getLogEntries|0|', 230 24)], 231 'code-line': ' fileSize = os.path.getsize(pathToLog)\n', 232 'first-line': 18L, 233 'folded-linenos': [], 234 'sel-line': 46L, 235 'sel-line-start': 1365L, 236 'selection_end': 1410L, 237 'selection_start': 1410L, 238 'zoom': 0L}, 239 1573492071.42135], 240 [loc('cms_watcher.py'), 241 {'attrib-starts': [('readFile|0|', 242 18)], 243 'code-line': ' \n', 244 'first-line': 6L, 245 'folded-linenos': [], 246 'sel-line': 21L, 247 'sel-line-start': 564L, 248 'selection_end': 565L, 249 'selection_start': 565L, 250 'zoom': 0L}, 251 1573492072.884505], 252 [loc('cad_watcher.py'), 253 {'attrib-starts': [('getLogEntries|0|', 254 18)], 255 'code-line': ' return []\n', 256 'first-line': 33L, 257 'folded-linenos': [], 258 'sel-line': 45L, 259 'sel-line-start': 1479L, 260 'selection_end': 1479L, 261 'selection_start': 1479L, 262 'zoom': 0L}, 263 1575992486.57154], 264 [loc('logging_service.py'), 265 {'attrib-starts': [('getSimTime|0|', 266 13)], 267 'code-line': ' print "Proceeding with previous time: ", toHM'\ 268 'S(seconds)\n', 269 'first-line': 0L, 270 'folded-linenos': [], 271 'sel-line': 21L, 272 'sel-line-start': 649L, 273 'selection_end': 649L, 274 'selection_start': 649L, 275 'zoom': 0L}, 276 1575992490.79159], 277 [loc('cms_watcher.py'), 278 {'attrib-starts': [('readFile|0|', 279 18)], 280 'code-line': ' \n', 281 'first-line': 6L, 282 'folded-linenos': [], 283 'sel-line': 21L, 284 'sel-line-start': 564L, 285 'selection_end': 565L, 286 'selection_start': 565L, 287 'zoom': 0L}, 288 1575992492.507506], 289 [loc('logging_service.py'), 290 {'attrib-starts': [('getSimTime|0|', 291 13)], 292 'code-line': ' print "Proceeding with previous time: ", toHM'\ 293 'S(seconds)\n', 294 'first-line': 0L, 295 'folded-linenos': [], 296 'sel-line': 21L, 297 'sel-line-start': 649L, 298 'selection_end': 649L, 299 'selection_start': 649L, 300 'zoom': 0L}, 301 1575992506.47608], 302 [loc('extend_unifiedlogger.py'), 303 {'attrib-starts': [], 304 'code-line': 'import xml.etree.ElementTree as ET\n', 305 'first-line': 0L, 306 'folded-linenos': [], 307 'sel-line': 0L, 308 'sel-line-start': 0L, 309 'selection_end': 0L, 310 'selection_start': 0L, 311 'zoom': 0L}, 312 1575992565.713171], 313 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 314 {'attrib-starts': [('ConfigParser|0|', 315 85), 316 ('ConfigParser|0|.get|0|', 317 589)], 318 'code-line': ' raise NoSectionError(section)\n', 319 'first-line': 575L, 320 'folded-linenos': [], 321 'sel-line': 606L, 322 'sel-line-start': 22028L, 323 'selection_end': 22028L, 324 'selection_start': 22028L, 325 'zoom': 0L}, 326 1575992592.926503], 327 [loc('extend_unifiedlogger.py'), 328 {'attrib-starts': [], 329 'code-line': 'for script_event in root:\n', 330 'first-line': 16L, 331 'folded-linenos': [], 332 'sel-line': 24L, 333 'sel-line-start': 759L, 334 'selection_end': 759L, 335 'selection_start': 759L, 336 'zoom': 0L}, 337 1575993280.146251], 338 [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 339 {'attrib-starts': [('Element|0|', 340 170), 341 ('Element|0|.__getitem__|0|', 342 76)], 343 'code-line': ' return self._children[index]\n', 344 'first-line': 152L, 345 'folded-linenos': [], 346 'sel-line': 265L, 347 'sel-line-start': 8855L, 348 'selection_end': 8855L, 349 'selection_start': 8855L, 350 'zoom': 0L}, 351 1575993294.116046], 352 [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 353 {'attrib-starts': [('ConfigParser|0|', 354 85), 355 ('ConfigParser|0|.get|0|', 356 589)], 357 'code-line': ' raise NoSectionError(section)\n', 358 'first-line': 575L, 359 'folded-linenos': [], 360 'sel-line': 606L, 361 'sel-line-start': 22028L, 362 'selection_end': 22028L, 363 'selection_start': 22028L, 364 'zoom': 0L}, 365 1575993296.639257], 366 [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 367 {'attrib-starts': [('Element|0|', 368 170), 369 ('Element|0|.__getitem__|0|', 370 76)], 371 'code-line': ' return self._children[index]\n', 372 'first-line': 152L, 373 'folded-linenos': [], 374 'sel-line': 265L, 375 'sel-line-start': 8855L, 376 'selection_end': 8855L, 377 'selection_start': 8855L, 378 'zoom': 0L}, 379 1575993297.661174], 380 [loc('extend_unifiedlogger.py'), 381 {'attrib-starts': [], 382 'code-line': ' for info_type in script_event:\n', 383 'first-line': 15L, 384 'folded-linenos': [], 385 'sel-line': 27L, 386 'sel-line-start': 879L, 387 'selection_end': 879L, 388 'selection_start': 879L, 389 'zoom': 0L}, 390 1575993810.141825], 237 1575993810.141825], 391 238 [loc('../../../../../../../../usr/lib/python2.7/xml/etree/ElementTree.py'), 392 239 {'attrib-starts': [('Element|0|', … … 453 300 'selection_start': 51967L, 454 301 'zoom': 0L}, 455 1576776077.910363]], 302 1576776077.910363], 303 [loc('extend_unifiedlogger.py'), 304 {'attrib-starts': [], 305 'code-line': ' entry_incinum = " CAD Log, Incident '\ 306 '#" + incident_num\n', 307 'first-line': 30L, 308 'folded-linenos': [], 309 'sel-line': 33L, 310 'sel-line-start': 1205L, 311 'selection_end': 1246L, 312 'selection_start': 1246L, 313 'zoom': 0L}, 314 1577393253.005358], 315 [loc('logging_service.py'), 316 {'attrib-starts': [('toHMS|0|', 317 7)], 318 'code-line': ' return "%02d:%02d:%02d" % (h, m, s) \n', 319 'first-line': 42L, 320 'folded-linenos': [], 321 'sel-line': 10L, 322 'sel-line-start': 281L, 323 'selection_end': 297L, 324 'selection_start': 297L, 325 'zoom': 0L}, 326 1577393417.740925], 327 [loc('extend_unifiedlogger.py'), 328 {'attrib-starts': [], 329 'code-line': 'out_file = open(logfilepath + "caddetails.csv", "w")'\ 330 '\n', 331 'first-line': 51L, 332 'folded-linenos': [], 333 'sel-line': 57L, 334 'sel-line-start': 2692L, 335 'selection_end': 2700L, 336 'selection_start': 2692L, 337 'zoom': 0L}, 338 1577394088.002284], 339 [loc('extend_unifiedlogger.py'), 340 {'attrib-starts': [], 341 'code-line': '\n', 342 'first-line': 42L, 343 'folded-linenos': [], 344 'sel-line': 62L, 345 'sel-line-start': 2871L, 346 'selection_end': 2871L, 347 'selection_start': 2871L, 348 'zoom': 0L}, 349 1577399854.843249], 350 [loc('logging_service.py'), 351 {'attrib-starts': [], 352 'code-line': "if __name__ == '__main__':\n", 353 'first-line': 0L, 354 'folded-linenos': [], 355 'sel-line': 80L, 356 'sel-line-start': 2695L, 357 'selection_end': 2735L, 358 'selection_start': 2695L, 359 'zoom': 0L}, 360 1577400145.321379], 361 [loc('extract_caddetails.py'), 362 {'attrib-starts': [], 363 'code-line': ' startup()\n', 364 'first-line': 0L, 365 'folded-linenos': [], 366 'sel-line': 62L, 367 'sel-line-start': 2826L, 368 'selection_end': 2839L, 369 'selection_start': 2839L, 370 'zoom': 0L}, 371 1577400164.213804], 372 [loc('__main__.py'), 373 {'attrib-starts': [('main|0|', 374 2)], 375 'code-line': 'def main():\n', 376 'first-line': 0L, 377 'folded-linenos': [], 378 'sel-line': 2L, 379 'sel-line-start': 134L, 380 'selection_end': 145L, 381 'selection_start': 134L, 382 'zoom': 0L}, 383 1577400181.955552], 384 [loc('extract_caddetails.py'), 385 {'attrib-starts': [], 386 'code-line': ' extract()\n', 387 'first-line': 0L, 388 'folded-linenos': [], 389 'sel-line': 62L, 390 'sel-line-start': 3068L, 391 'selection_end': 3079L, 392 'selection_start': 3079L, 393 'zoom': 0L}, 394 1577400309.516676], 395 [loc('__main__.py'), 396 {'attrib-starts': [('main|0|', 397 2)], 398 'code-line': 'def main():\n', 399 'first-line': 0L, 400 'folded-linenos': [], 401 'sel-line': 2L, 402 'sel-line-start': 134L, 403 'selection_end': 145L, 404 'selection_start': 134L, 405 'zoom': 0L}, 406 1577400449.642736], 407 [loc('extract_caddetails.py'), 408 {'attrib-starts': [], 409 'code-line': ' extract()\n', 410 'first-line': 54L, 411 'folded-linenos': [], 412 'sel-line': 62L, 413 'sel-line-start': 3068L, 414 'selection_end': 3079L, 415 'selection_start': 3079L, 416 'zoom': 0L}, 417 1577400694.441992], 418 [loc('__main__.py'), 419 {'attrib-starts': [], 420 'code-line': "if __name__ == '__main__':\n", 421 'first-line': 0L, 422 'folded-linenos': [], 423 'sel-line': 13L, 424 'sel-line-start': 556L, 425 'selection_end': 593L, 426 'selection_start': 556L, 427 'zoom': 0L}, 428 1577400713.516774], 429 [loc('extract_caddetails.py'), 430 {'attrib-starts': [], 431 'code-line': ' main()\n', 432 'first-line': 48L, 433 'folded-linenos': [], 434 'sel-line': 62L, 435 'sel-line-start': 3065L, 436 'selection_end': 3073L, 437 'selection_start': 3073L, 438 'zoom': 0L}, 439 1577401207.628608], 440 [loc('__main__.py'), 441 {'attrib-starts': [], 442 'code-line': "if __name__ == '__main__':\n", 443 'first-line': 0L, 444 'folded-linenos': [], 445 'sel-line': 13L, 446 'sel-line-start': 556L, 447 'selection_end': 593L, 448 'selection_start': 556L, 449 'zoom': 0L}, 450 1577401209.827539], 451 [loc('extract_caddetails.py'), 452 {'attrib-starts': [], 453 'code-line': ' main()\n', 454 'first-line': 0L, 455 'folded-linenos': [], 456 'sel-line': 62L, 457 'sel-line-start': 3065L, 458 'selection_end': 3073L, 459 'selection_start': 3073L, 460 'zoom': 0L}, 461 1577401579.928]], 456 462 20), 457 'current-loc': loc(' extend_unifiedlogger.py'),463 'current-loc': loc('__main__.py'), 458 464 'editor-state-list': [(loc('activitylog_watcher.py'), 459 465 {'attrib-starts': [('readFile|0|', … … 467 473 'selection_end': 857L, 468 474 'selection_start': 857L, 469 'zoom': 0L}),470 (loc('extend_unifiedlogger.py'),471 {'attrib-starts': [],472 'code-line': 'out_file.close()\n',473 'first-line': 51L,474 'folded-linenos': [],475 'sel-line': 69L,476 'sel-line-start': 3068L,477 'selection_end': 3085L,478 'selection_start': 3068L,479 475 'zoom': 0L}), 480 476 (loc('../../../config/logging_service.cfg'), … … 490 486 'zoom': 0L}), 491 487 (loc('logging_service.py'), 492 {'attrib-starts': [('getSimTime|0|', 493 13)], 494 'code-line': ' print "Proceeding with '\ 495 'previous time: ", toHMS(seconds)\n', 488 {'attrib-starts': [], 489 'code-line': "if __name__ == '__main__':\n", 496 490 'first-line': 0L, 497 491 'folded-linenos': [], 498 'sel-line': 21L,499 'sel-line-start': 649L,500 'selection_end': 649L,501 'selection_start': 649L,492 'sel-line': 80L, 493 'sel-line-start': 2695L, 494 'selection_end': 2735L, 495 'selection_start': 2695L, 502 496 'zoom': 0L}), 503 497 (loc('__main__.py'), 504 498 {'attrib-starts': [], 505 'code-line': 'import logging_service, os, Co'\ 506 'nfigParser\n', 499 'code-line': "if __name__ == '__main__':\n", 507 500 'first-line': 0L, 508 501 'folded-linenos': [], 509 'sel-line': 0L,510 'sel-line-start': 0L,511 'selection_end': 40L,512 'selection_start': 28L,502 'sel-line': 13L, 503 'sel-line-start': 556L, 504 'selection_end': 593L, 505 'selection_start': 556L, 513 506 'zoom': 0L})], 514 507 'has-focus': True, 515 508 'locked': False}, 516 509 [loc('activitylog_watcher.py'), 517 loc('extend_unifiedlogger.py'),518 510 loc('../../../config/logging_service.cfg'), 519 511 loc('logging_service.py'), 520 512 loc('__main__.py')]), 521 513 'open_files': [u'../../../config/logging_service.cfg', 522 u'__main__.py',523 514 u'activitylog_watcher.py', 524 515 u'logging_service.py', 525 u' extend_unifiedlogger.py']},516 u'__main__.py']}, 526 517 'saved_notebook_display': None, 527 518 'split_percents': {0: 0.5}, 528 519 'splits': 2, 529 520 'tab_location': 'top', 530 'traversal_pos': (( 0,531 3),532 157 6777529.191873),521 'traversal_pos': ((1, 522 2), 523 1577400521.436669), 533 524 'user_data': {}}, 534 525 'saved_notebook_display': None, … … 540 531 1576038340.052804), 541 532 'user_data': {}}, 542 'window-alloc': ( 29,543 0,544 11 97,545 72 2)}]}546 guimgr.recent-documents = [loc(' extend_unifiedlogger.py'),533 'window-alloc': (1152, 534 28, 535 1127, 536 724)}]} 537 guimgr.recent-documents = [loc('__main__.py'), 547 538 loc('logging_service.py'), 548 loc('__main__.py'),549 539 loc('activitylog_watcher.py'), 550 540 loc('../../../config/logging_service.cfg')] … … 570 560 'selection_end': 565L, 571 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, 572 580 'zoom': 0L}, 573 581 loc('get_app_properties.py'): {'attrib-starts': [],
Note: See TracChangeset
for help on using the changeset viewer.
