{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/DBS/issues/507","labels_url":"https://api.github.com/repos/dmwm/DBS/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/DBS/issues/507/comments","events_url":"https://api.github.com/repos/dmwm/DBS/issues/507/events","html_url":"https://github.com/dmwm/DBS/pull/507","id":120868502,"number":507,"title":"Debugfilestatus","user":{"login":"yuyiguo","id":1775438,"avatar_url":"https://avatars.githubusercontent.com/u/1775438?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyiguo","html_url":"https://github.com/yuyiguo","followers_url":"https://api.github.com/users/yuyiguo/followers","following_url":"https://api.github.com/users/yuyiguo/following{/other_user}","gists_url":"https://api.github.com/users/yuyiguo/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyiguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyiguo/subscriptions","organizations_url":"https://api.github.com/users/yuyiguo/orgs","repos_url":"https://api.github.com/users/yuyiguo/repos","events_url":"https://api.github.com/users/yuyiguo/events{/privacy}","received_events_url":"https://api.github.com/users/yuyiguo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T21:10:25Z","updated_at":"2015-12-07T21:20:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmwm/DBS/pulls/507","html_url":"https://github.com/dmwm/DBS/pull/507","diff_url":"https://github.com/dmwm/DBS/pull/507.diff","patch_url":"https://github.com/dmwm/DBS/pull/507.patch"},"body":"bug fixing for updateDatasetStatus"},"comment":{"url":"https://api.github.com/repos/dmwm/DBS/issues/comments/162667178","html_url":"https://github.com/dmwm/DBS/pull/507#issuecomment-162667178","issue_url":"https://api.github.com/repos/dmwm/DBS/issues/507","id":162667178,"user":{"login":"cmsdmwmbot","id":15169205,"avatar_url":"https://avatars.githubusercontent.com/u/15169205?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsdmwmbot","html_url":"https://github.com/cmsdmwmbot","followers_url":"https://api.github.com/users/cmsdmwmbot/followers","following_url":"https://api.github.com/users/cmsdmwmbot/following{/other_user}","gists_url":"https://api.github.com/users/cmsdmwmbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsdmwmbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsdmwmbot/subscriptions","organizations_url":"https://api.github.com/users/cmsdmwmbot/orgs","repos_url":"https://api.github.com/users/cmsdmwmbot/repos","events_url":"https://api.github.com/users/cmsdmwmbot/events{/privacy}","received_events_url":"https://api.github.com/users/cmsdmwmbot/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T21:20:06Z","updated_at":"2015-12-07T21:20:06Z","body":"Summary of pylint changes for pull request 507:\n\nAbbreviated pylint report for Client/src/python/dbs/apis/dbsClient.py follows:\n* Line 140 in DbsApi.__init__ W0613 Unused argument 'debug'\n* Line 1026 in DbsApi.listFileArray W0612 Unused variable 'total_lumi_len'\n* Line 1032 in DbsApi.listFileArray W0612 Unused variable 'lapp'\n* plus 15 total warnings\n* plus 98 comments on code style\n\nServer/Python/src/dbs/web/DBSWriterModel.py fails the pylint check. Report follows:\n* Line 337 W0311 Bad indentation. Found 17 spaces, expected 16\n* Line 16 W0401 Wildcard import dbs.utils.DBSInputValidation\n* Line 44 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 46 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 48 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 50 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 52 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 54 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 56 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 58 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 60 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 62 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 64 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 66 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 68 in DBSWriterModel.__init__ E1101 Instance of 'DBSWriterModel' has no '_addMethod' member\n* Line 93 in DBSWriterModel.insertPrimaryDataset W0703 Catching too general exception Exception\n* Line 88 in DBSWriterModel.insertPrimaryDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 90 in DBSWriterModel.insertPrimaryDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 96 in DBSWriterModel.insertPrimaryDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 126 in DBSWriterModel.insertOutputConfig W0703 Catching too general exception Exception\n* Line 121 in DBSWriterModel.insertOutputConfig E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 123 in DBSWriterModel.insertOutputConfig E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 129 in DBSWriterModel.insertOutputConfig E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 148 in DBSWriterModel.updateAcqEraEndDate W0703 Catching too general exception Exception\n* Line 145 in DBSWriterModel.updateAcqEraEndDate E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 151 in DBSWriterModel.updateAcqEraEndDate E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 178 in DBSWriterModel.insertAcquisitionEra W0703 Catching too general exception Exception\n* Line 173 in DBSWriterModel.insertAcquisitionEra E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 175 in DBSWriterModel.insertAcquisitionEra E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 181 in DBSWriterModel.insertAcquisitionEra E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 206 in DBSWriterModel.insertProcessingEra W0703 Catching too general exception Exception\n* Line 201 in DBSWriterModel.insertProcessingEra E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 203 in DBSWriterModel.insertProcessingEra E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 209 in DBSWriterModel.insertProcessingEra E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 247 in DBSWriterModel.insertDataset W0703 Catching too general exception Exception\n* Line 242 in DBSWriterModel.insertDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 244 in DBSWriterModel.insertDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 250 in DBSWriterModel.insertDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 271 in DBSWriterModel.insertBulkBlock W0703 Catching too general exception Exception\n* Line 266 in DBSWriterModel.insertBulkBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 268 in DBSWriterModel.insertBulkBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 274 in DBSWriterModel.insertBulkBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 278 in DBSWriterModel.insertBulkBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 302 in DBSWriterModel.insertBlock W0703 Catching too general exception Exception\n* Line 299 in DBSWriterModel.insertBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 301 in DBSWriterModel.insertBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 305 in DBSWriterModel.insertBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 362 in DBSWriterModel.insertFile W0703 Catching too general exception Exception\n* Line 337 in DBSWriterModel.insertFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 357 in DBSWriterModel.insertFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 359 in DBSWriterModel.insertFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 365 in DBSWriterModel.insertFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 369 in DBSWriterModel.updateFile W0621 Redefining name 'dataset' from outer scope (line 16)\n* Line 369 in DBSWriterModel.updateFile W0102 Dangerous default value [] as argument\n* Line 387 in DBSWriterModel.updateFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 393 in DBSWriterModel.updateFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 399 in DBSWriterModel.updateFile W0703 Catching too general exception Exception\n* Line 402 in DBSWriterModel.updateFile E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 405 in DBSWriterModel.updateDataset W0621 Redefining name 'dataset' from outer scope (line 16)\n* Line 425 in DBSWriterModel.updateDataset W0703 Catching too general exception Exception\n* Line 422 in DBSWriterModel.updateDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 427 in DBSWriterModel.updateDataset E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 405 in DBSWriterModel.updateDataset W0613 Unused argument 'is_dataset_valid'\n* Line 441 in DBSWriterModel.updateBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 451 in DBSWriterModel.updateBlock W0703 Catching too general exception Exception\n* Line 448 in DBSWriterModel.updateBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 454 in DBSWriterModel.updateBlock E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 491 in DBSWriterModel.insertDataTier W0703 Catching too general exception Exception\n* Line 466 in DBSWriterModel.insertDataTier E1101 Instance of 'DBSWriterModel' has no 'dbi' member\n* Line 486 in DBSWriterModel.insertDataTier E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 488 in DBSWriterModel.insertDataTier E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 494 in DBSWriterModel.insertDataTier E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 495 in DBSWriterModel.insertDataTier E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 496 in DBSWriterModel.insertDataTier W0107 Unnecessary pass statement\n* Line 499 in DBSWriterModel.insertDataTier E1101 Instance of 'DBSWriterModel' has no 'logger' member\n* Line 480 in DBSWriterModel.insertDataTier W0612 Unused variable 'ke'\n* Line 22 in DBSWriterModel R0904 Too many public methods (46/20)\n* Line 16 W0614 Unused import primdataset from wildcard import\n* Line 16 W0614 Unused import reading_dataset_check from wildcard import\n* Line 16 W0614 Unused import procversion from wildcard import\n* Line 16 W0614 Unused import dataset from wildcard import\n* Line 16 W0614 Unused import clog from wildcard import\n* Line 16 W0614 Unused import sanitizeURL from wildcard import\n* Line 9 W0611 Unused import tools\n* Line 16 W0614 Unused import couchurl from wildcard import\n* Line 16 W0614 Unused import parseLFNBase from wildcard import\n* Line 16 W0614 Unused import wraps from wildcard import\n* Line 16 W0614 Unused import userLfnBase from wildcard import\n* Line 16 W0614 Unused import BLOCK_STR from wildcard import\n* Line 16 W0614 Unused import validationFunctionWildcard from wildcard import\n* Line 16 W0614 Unused import validateUrl from wildcard import\n* Line 16 W0614 Unused import userLfn from wildcard import\n* Line 16 W0614 Unused import string from wildcard import\n* Line 16 W0614 Unused import lfnParts from wildcard import\n* Line 16 W0614 Unused import reading_block_check from wildcard import\n* Line 16 W0614 Unused import DBSUser from wildcard import\n* Line 16 W0614 Unused import validationFunction from wildcard import\n* Line 16 W0614 Unused import userprocdataset from wildcard import\n* Line 16 W0614 Unused import PROCDATASET_RE from wildcard import\n* Line 16 W0614 Unused import userProcDSParts from wildcard import\n* Line 16 W0614 Unused import acceptedInputDataTypes from wildcard import\n* Line 16 W0614 Unused import procdataset from wildcard import\n* Line 16 W0614 Unused import splitCouchServiceURL from wildcard import\n* Line 16 W0614 Unused import acqname from wildcard import\n* Line 16 W0614 Unused import acceptedInputKeys from wildcard import\n* Line 16 W0614 Unused import SEARCHDATASET_RE from wildcard import\n* Line 16 W0614 Unused import identifier from wildcard import\n* Line 16 W0614 Unused import cmsswversion from wildcard import\n* Line 16 W0614 Unused import STORE_RESULTS_LFN from wildcard import\n* Line 16 W0614 Unused import hnName from wildcard import\n* Line 10 W0611 Unused import DAOFactory\n* Line 16 W0614 Unused import PRIMARY_DS from wildcard import\n* Line 16 W0614 Unused import lfn from wildcard import\n* Line 16 W0614 Unused import cmsname from wildcard import\n* Line 16 W0614 Unused import jobrange from wildcard import\n* Line 16 W0614 Unused import procstring from wildcard import\n* Line 16 W0614 Unused import replaceToSantizeURL from wildcard import\n* Line 16 W0614 Unused import check_proc_ds from wildcard import\n* Line 16 W0614 Unused import slicedIterator from wildcard import\n* Line 16 W0614 Unused import TIER from wildcard import\n* Line 16 W0614 Unused import check from wildcard import\n* Line 16 W0614 Unused import USERPROCDATASET_RE from wildcard import\n* Line 16 W0614 Unused import sitetier from wildcard import\n* Line 16 W0614 Unused import validateStringInput from wildcard import\n* Line 16 W0614 Unused import searchblock from wildcard import\n* Line 16 W0614 Unused import primaryDatasetType from wildcard import\n* Line 6 W0611 Unused import re\n* Line 16 W0614 Unused import requestName from wildcard import\n* Line 16 W0614 Unused import namestr from wildcard import\n* Line 16 W0614 Unused import DATASET_RE from wildcard import\n* Line 16 W0614 Unused import searchstr from wildcard import\n* Line 16 W0614 Unused import lfnBase from wildcard import\n* Line 16 W0614 Unused import globalTag from wildcard import\n* Line 16 W0614 Unused import WMException from wildcard import\n* Line 16 W0614 Unused import reading_procds_check from wildcard import\n* Line 16 W0614 Unused import parseLFN from wildcard import\n* Line 16 W0614 Unused import countrycode from wildcard import\n* Line 16 W0614 Unused import searchdataset from wildcard import\n* Line 16 W0614 Unused import urlparse from wildcard import\n* Line 16 W0614 Unused import reading_lfn_check from wildcard import\n* Line 16 W0614 Unused import publishdatasetname from wildcard import\n* Line 16 W0614 Unused import PROCESSED_DS from wildcard import\n* Line 16 W0614 Unused import block from wildcard import\n* plus 67 comments on code style\n"}}