Hi gang: Here are the current pylint errors. Please take and fix yours (but beware of false positives).
************* Module bibedit_templates E:523:Template.tmpl_link: Instance of 'str' has no 'items' member (but some types could not be inferred) ************* Module bibedit_engine E: 83:perform_request_index: Instance of 'str' has no 'keys' member (but some types could not be inferred) E: 88:perform_request_index: Instance of 'str' has no 'get' member (but some types could not be inferred) E:148:perform_request_edit: Instance of 'str' has no 'get' member (but some types could not be inferred) ************* Module bfe_test_4 E: 33: invalid syntax ************* Module bibformat_migration_kit_assistant E: 31: No name 'bibformat_migration_kit_assistant_lib' in module 'invenio' E: 45:index: Undefined variable 'getnavtrail' E: 60:index: Undefined variable 'perform_request_migration_kit_status' E: 76:migrate_kb: Undefined variable 'getnavtrail' E: 91:migrate_kb: Undefined variable 'perform_request_migration_kit_knowledge_bases' E:107:migrate_behaviours: Undefined variable 'getnavtrail' E:122:migrate_behaviours: Undefined variable 'perform_request_migration_kit_behaviours' E:137:migrate_formats: Undefined variable 'getnavtrail' E:152:migrate_formats: Undefined variable 'perform_request_migration_kit_formats' E:167:migrate_formats_do: Undefined variable 'getnavtrail' E:182:migrate_formats_do: Undefined variable 'perform_request_migration_kit_formats_do' ************* Module htmlparser E:129: Undefined variable 'print_record' ************* Module webalert_webinterface E: 93:WebInterfaceYourAlertsPages.input: Method should have "self" as first argument ************* Module alert_engine E:158:email_notify: Undefined variable 'send_email' E:162:email_notify: Undefined variable 'send_email' ************* Module webjournal_washer E: 96:wash_popup_type: Undefined variable 'IvenioWebJournalNoPopupTypeError' E:104:wash_popup_record: Undefined variable 'InvenioWebJournalNoPopupRecordError' E:109:wash_popup_record: Undefined variable 'InvenioWebJournalNoPopupRecordError' ************* Module webjournal_utils E:838:put_css_in_file: Undefined variable 'Null' ************* Module bfe_webjournal_widget_weather E: 96:get_widget_HTML: '%s/%s' is not callable ************* Module webjournal_webinterface E:627: Undefined variable 'index' ************* Module webjournal E:407:perform_request_search: Undefined variable 'InvenioWebJournalNoSearchTemplateError' E:408:perform_request_search: Undefined variable 'InvenioWebJournalNoSearchTemplateError' ************* Module webjournal_config E:434:IvenioWebJournalNoPopupTypeError.__init__: Instance of 'IvenioWebJournalNoPopupTypeError' has no 'journal_name' member E:441:IvenioWebJournalNoPopupTypeError.__str__: Instance of 'IvenioWebJournalNoPopupTypeError' has no 'journal_name' member E:466:InvenioWebJournalNoPopupRecordError.__init__: Instance of 'InvenioWebJournalNoPopupRecordError' has no 'journal_name' member E:562:InvenioWebJournalIssueNotFoundDBError.__init__: Undefined variable 'sefl' E:568:InvenioWebJournalIssueNotFoundDBError.__str__: Instance of 'InvenioWebJournalIssueNotFoundDBError' has no 'issue_number' member ************* Module bibclassifylib E:311:generate_keywords_rdf: Instance of 'False' has no 'split' member (but some types could not be inferred) E:378:generate_keywords_rdf: Instance of 'False' has no 'replace' member (but some types could not be inferred) E:396:generate_keywords_rdf: Instance of 'False' has no 'replace' member (but some types could not be inferred) ************* Module websearchadmin E:354:addoutputformat: Module 'invenio.websearchadminlib' has no 'perform_addoutputformat' member E:595:modifyoutputformat: Module 'invenio.websearchadminlib' has no 'perform_modifyoutputformat' member ************* Module bibconvert E:1844:parse_query_string: function already defined line 45 ************* Module bibrank_citation_searcher E: 93:calculate_cited_by_list: Instance of 'list' has no 'get' member (but some types could not be inferred) E:124:get_self_cited_by: Instance of 'list' has no 'has_key' member (but some types could not be inferred) E:136:get_self_cited_in: Instance of 'list' has no 'has_key' member (but some types could not be inferred) E:151:calculate_co_cited_with_list: Instance of 'list' has no 'get' member (but some types could not be inferred) E:155:calculate_co_cited_with_list: Instance of 'list' has no 'get' member (but some types could not be inferred) ************* Module bibrank_record_sorter E:283:rank_by_method: Undefined variable 'HitSet' ************* Module bibrank_citation_indexer E:369:ref_analyzer: Undefined variable 'pubreftab' ************* Module websubmitadmin_dblayer E:2501:update_doctype_details: function already defined line 1785 ************* Module websubmit_file_stamper E: 51: No name 'InvenioWebSubmitFileStamperError' in module 'invenio.websubmit_config' ************* Module bibdocfile E:648:BibDoc.revert: Undefined variable 'format' E:915:BibDoc._build_file_list: Access to member 'docfiles' before its definition line 916 ************* Module websubmit_webinterface E:211:WebInterfaceFilesPages._lookup.getfile: Undefined variable 'c' E:297:websubmit_legacy_getfile._getfile_py: Instance of 'Error' has no 'value' member E:323:websubmit_legacy_getfile._getfile_py: Instance of 'BibDoc' has no 'getLatestVersion' member ************* Module Print_Success_SRV E: 30:Print_Success_SRV: Undefined variable 'rn' ************* Module Mail_Submitter E: 98:Mail_Submitter: Undefined variable 'sysno' ************* Module Stamp_Uploaded_Files E: 27: No name 'InvenioWebSubmitFileStamperError' in module 'invenio.websubmit_config' ************* Module Mail_New_Record_Notification E:255:Mail_New_Record_Notification: Undefined variable 'sysno' ************* Module Update_Approval_DB E: 61:Update_Approval_DB: Undefined variable 'rn' E: 73:Update_Approval_DB: Undefined variable 'rn' E: 75:Update_Approval_DB: Undefined variable 'rn' E: 77:Update_Approval_DB: Undefined variable 'rn' E:104:Update_Approval_DB: Undefined variable 'rn' E:106:Update_Approval_DB: Undefined variable 'rn' ************* Module Test_Status E: 34:Test_Status: Undefined variable 'rn' E: 36:Test_Status: Undefined variable 'rn' E: 39:Test_Status: Undefined variable 'rn' E: 41:Test_Status: Undefined variable 'rn' ************* Module Create_Modify_Interface E:123:Create_Modify_Interface: Undefined variable 'rn' E:144:Create_Modify_Interface: Undefined variable 'sysno' ************* Module Insert_Modify_Record E: 40:Insert_Modify_Record: Undefined variable 'rn' ************* Module Print_Success_APP E: 98:Print_Success_APP: Undefined variable 'rn' ************* Module Move_Files_to_Storage E: 71:Move_Files_to_Storage: Undefined variable 'sysno' E:177:get_pa_tag_content: Undefined variable 'curdir' E:178:get_pa_tag_content: Undefined variable 'curdir' ************* Module Send_Request_For_Direct_Approval E: 57:Send_Request_For_Direct_Approval: Undefined variable 'rn' E:105:Send_Request_For_Direct_Approval: Undefined variable 'rn' E:106:Send_Request_For_Direct_Approval: Undefined variable 'rn' E:108:Send_Request_For_Direct_Approval: Undefined variable 'sysno' E:109:Send_Request_For_Direct_Approval: Undefined variable 'rn' ************* Module Add_Files E: 25:Add_Files: Undefined variable 'os' E: 26:Add_Files: Undefined variable 'sysno' E: 27:Add_Files: Undefined variable 'os' ************* Module Get_Recid E: 97:Get_Recid: Undefined variable 'rn' E:103:Get_Recid: Undefined variable 'rn' E:114:Get_Recid: Undefined variable 'rn' E:124:Get_Recid: Undefined variable 'rn' E:128:Get_Recid: Undefined variable 'rn' ************* Module Send_Modify_Mail E: 70:Send_Modify_Mail: Undefined variable 'sysno' E: 72:Send_Modify_Mail: Undefined variable 'sysno' ************* Module Print_Success_DEL E: 30:Print_Success_DEL: Undefined variable 'rn' ************* Module Print_Success_MBI E: 34:Print_Success_MBI: Undefined variable 'rn' ************* Module Send_Approval_Request E: 57:Send_Approval_Request: Undefined variable 'rn' E: 90:Send_Approval_Request: Undefined variable 'rn' E:110:Send_Approval_Request: Undefined variable 'rn' E:111:Send_Approval_Request: Undefined variable 'rn' E:113:Send_Approval_Request: Undefined variable 'sysno' ************* Module Send_APP_Mail E:160:Send_APP_Mail: Undefined variable 'rn' E:189:Send_APP_Mail: Undefined variable 'rn' E:190:Send_APP_Mail: Undefined variable 'rn' E:191:Send_APP_Mail: Undefined variable 'sysno' E:193:Send_APP_Mail: Undefined variable 'rn' E:194:Send_APP_Mail: Undefined variable 'rn' E:195:Send_APP_Mail: Undefined variable 'rn' ************* Module Create_Cplx_Approval E: 53:Create_Cplx_Approval: Undefined variable 'rn' E: 65:Create_Cplx_Approval: Undefined variable 'rn' E: 67:Create_Cplx_Approval: Undefined variable 'rn' E: 69:Create_Cplx_Approval: Undefined variable 'rn' ************* Module Move_From_Pending E: 37:Move_From_Pending: Undefined variable 'rn' E: 39:Move_From_Pending: Undefined variable 'rn' ************* Module Get_Sysno E: 58:Get_Sysno: Undefined variable 'rn' E: 60:Get_Sysno: Undefined variable 'rn' E: 62:Get_Sysno: Undefined variable 'rn' ************* Module Print_Success E: 42:Print_Success: Undefined variable 'Request_Print' E: 43:Print_Success: Undefined variable 'Request_Print' E: 45:Print_Success: Undefined variable 'Request_Print' E: 47:Print_Success: Undefined variable 'Request_Print' E: 48:Print_Success: Undefined variable 'Request_Print' E: 49:Print_Success: Undefined variable 'Request_Print' ************* Module Is_Original_Submitter E: 45:Is_Original_Submitter: Undefined variable 'sysno' ************* Module Is_Referee E: 31:Is_Referee: Undefined variable 'rn' E: 46:Is_Referee: Undefined variable 'uid_email' ************* Module Send_Request_For_Publication E: 57:Send_Request_For_Publication: Undefined variable 'rn' E:105:Send_Request_For_Publication: Undefined variable 'rn' E:106:Send_Request_For_Publication: Undefined variable 'rn' E:108:Send_Request_For_Publication: Undefined variable 'sysno' E:109:Send_Request_For_Publication: Undefined variable 'rn' ************* Module Send_Request_For_Refereeing_Process E: 57:Send_Request_For_Refereeing_Process: Undefined variable 'rn' E:105:Send_Request_For_Refereeing_Process: Undefined variable 'rn' E:106:Send_Request_For_Refereeing_Process: Undefined variable 'rn' E:108:Send_Request_For_Refereeing_Process: Undefined variable 'sysno' E:109:Send_Request_For_Refereeing_Process: Undefined variable 'rn' ************* Module Report_Number_Generation E:161:Report_Number_Generation: Undefined variable 'access' ************* Module Send_SRV_Mail E: 65:Send_SRV_Mail: Undefined variable 'sysno' E: 66:Send_SRV_Mail: Undefined variable 'sysno' E: 67:Send_SRV_Mail: Undefined variable 'sysno' E: 69:Send_SRV_Mail: Undefined variable 'rn' E: 69:Send_SRV_Mail: Undefined variable 'sysno' E: 72:Send_SRV_Mail: Undefined variable 'rn' ************* Module Insert_Record E: 38:Insert_Record: Undefined variable 'rn' ************* Module Move_Files_Archive E: 40:Move_Files_Archive: Undefined variable 'sysno' ************* Module Upload_Files E: 42:Upload_Files: Undefined variable 'sysno' ************* Module Get_Info E: 50:Get_Info: Undefined variable 'rn' E: 51:Get_Info: Undefined variable 'rn' E: 52:Get_Info: Undefined variable 'rn' E: 57:Get_Info_In_Curdir: Undefined variable 'curdir' E: 60:Get_Info_In_Curdir: Undefined variable 'curdir' E: 61:Get_Info_In_Curdir: Undefined variable 'curdir' E: 66:Get_Info_In_Curdir: Undefined variable 'curdir' E: 67:Get_Info_In_Curdir: Undefined variable 'curdir' E: 72:Get_Info_In_Curdir: Undefined variable 'curdir' E: 73:Get_Info_In_Curdir: Undefined variable 'curdir' E: 82:Get_Info_In_DB: Undefined variable 'sysno' E: 83:Get_Info_In_DB: Undefined variable 'sysno' E: 84:Get_Info_In_DB: Undefined variable 'sysno' E: 85:Get_Info_In_DB: Undefined variable 'sysno' E: 86:Get_Info_In_DB: Undefined variable 'sysno' E: 89:Get_Info_In_DB: Undefined variable 'sysno' ************* Module websubmit_engine E:452:interface: Instance of 'list' has no 'replace' member (but some types could not be inferred) ************* Module yourapprovals E: 60:index: Instance of 'Error' has no 'value' member ************* Module yoursubmissions E: 69:index: Instance of 'Error' has no 'value' member ************* Module publiline E:119:index: Instance of 'Error' has no 'value' member E:1524:SendEnglish: Undefined variable 'acc_getRoleId' E:1527:SendEnglish: Undefined variable 'acc_getRoleId' ************* Module referees E: 58:index: Instance of 'Error' has no 'value' member ************* Module bibindex_engine E:219:get_words_from_local_fulltext: Undefined variable 'file_strip_ext' E:298:get_words_from_local_fulltext: Undefined variable 'stemming_language' E:299:get_words_from_local_fulltext: Undefined variable 'words' E:300:get_words_from_local_fulltext: Undefined variable 'words' E:313:get_words_from_local_fulltext: Undefined variable 'words' E:675:get_word_tables: Undefined variable 'get_index_id_index_name' ************* Module webbasket_regression_tests E:185:WebBasketRecordsAdditionTest.test_adding_records_into_new_basket_twice: browser.response is not callable ************* Module webuser E:174:getApacheUser: Instance of 'Session' has no 'getApacheUser' member (but some types could not be inferred) E:203:getUid: Instance of 'Session' has no 'getUid' member (but some types could not be inferred) E:205:getUid: Instance of 'Session' has no 'setUid' member (but some types could not be inferred) E:206:getUid: Instance of 'Session' has no 'getUid' member (but some types could not be inferred) E:236:setApacheUser: Instance of 'Session' has no 'setApacheUser' member (but some types could not be inferred) E:249:setUid: Instance of 'Session' has no 'setUid' member (but some types could not be inferred) E:596:logoutUser: Instance of 'Session' has no 'setUid' member (but some types could not be inferred) ************* Module webinterface_handler E:254:create_handler._profiler: Instance of 'CGIStdout' has no 'getvalue' member (but some types could not be inferred) E:254:create_handler._profiler: Instance of 'file' has no 'getvalue' member (but some types could not be inferred) ************* Module compile_magic E: 31: No name 'magic' in module 'magic' ************* Module elmsubmit_EZArchive E:904:CompressTool.list_all_members: Instance of 'CompressTool' has no '_mode' member E:906:CompressTool.list_all_members: Instance of 'CompressTool' has no '_ext' member E:906:CompressTool.list_all_members: Instance of 'CompressTool' has no '_filename' member E:915:CompressTool.extract_member: Instance of 'CompressTool' has no '_mode' member E:927:CompressTool.extract_member: Instance of 'CompressTool' has no '_fh' member E:939:CompressTool.add_member: Instance of 'CompressTool' has no '_ext' member E:943:CompressTool.add_member: Instance of 'CompressTool' has no '_fh' member E:946:CompressTool.add_member: Instance of 'CompressTool' has no '_fh' member E:950:CompressTool.add_member: Instance of 'CompressTool' has no '_ext' member ************* Module elmsubmit_EZEmail E:1034:_cte_decode: StringIO is not callable E:1036:_cte_decode: StringIO is not callable E:1981:EZEmailCreateError: class already defined line 1787 ************* Module elmsubmit_filename_generator E: 38: No name 'magic' in module 'magic' Best regards -- Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>
