[issue23385] snmp - mib error
New submission from nivin: Hi , I have created one snmp mib , and tried to send a sample trap using a script written in python using pysnmp. but i got error as follows ,'pysnmp.smi.error.SmiError: MIB file "mymib.py[co]" not found in search path'. Can any one help me please? I'm attaching the script i used and mib file. Thank you -- components: Build files: snmp_script.txt messages: 235327 nosy: nivin priority: normal severity: normal status: open title: snmp - mib error type: compile error versions: Python 2.7 Added file: http://bugs.python.org/file37998/snmp_script.txt ___ Python tracker <http://bugs.python.org/issue23385> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23386] snmp - mib error
New submission from nivin: Hi , I have created one snmp mib , and tried to send a sample trap using a script written in python using pysnmp. but i got error as follows ,'pysnmp.smi.error.SmiError: MIB file "mymib.py[co]" not found in search path'. Can any one help me please? I'm attaching the script i used and mib file. Thank you -- components: Build files: snmp_script.txt messages: 235328 nosy: nivin priority: normal severity: normal status: open title: snmp - mib error type: compile error versions: Python 2.7 Added file: http://bugs.python.org/file37999/snmp_script.txt ___ Python tracker <http://bugs.python.org/issue23386> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23386] snmp - mib error
Changes by nivin : Added file: http://bugs.python.org/file38000/MY-MIB.txt ___ Python tracker <http://bugs.python.org/issue23386> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23386] snmp - mib error
nivin added the comment: I have attached mib file also -- ___ Python tracker <http://bugs.python.org/issue23386> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23386] snmp - mib error
nivin added the comment: I have fixed the issue that i reported by creating my mib file into py by the command 'build-pysnmp-mib -o MY-MIB.py MY-MIB' and copy it into the path '/usr/local/lib/python2.7/dist-packages/pysnmp/smi/mibs' But my doubts are : Is there any other option to send snmp trap using python with OID and host id only and without mib file in trap sender. -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue23386> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24409] PythonPROD abrt
New submission from nivin: There is a cronjob running in every 3 minutes.For One or two days this works properly. After that Mysql service get crashed.Bulk data is inserted into database using the service . Following errors found in /var/log/messages (OS : RHEL 6) Jun 6 13:27:02 PythonPROD abrt: detected unhandled Python exception in '/var/www/html/CrossCDR/Cronjobs/cdrcollector/CdrCollector.py' Jun 6 13:27:02 PythonPROD abrtd: New client connected Jun 6 13:27:02 PythonPROD abrtd: Directory 'pyhook-2015-06-06-13:27:02-1796' creation detected Jun 6 13:27:02 PythonPROD abrt-server[1800]: Saved Python crash dump of pid 1796 to /var/spool/abrt/pyhook-2015-06-06-13:27:02-1796 Jun 6 13:27:07 PythonPROD kernel: Bridge firewalling registered Jun 6 13:28:07 PythonPROD abrtd: Sending an email... Jun 6 13:28:07 PythonPROD abrtd: Email was sent to: root@localhost Jun 6 13:28:07 PythonPROD abrtd: Duplicate: UUID Jun 6 13:28:07 PythonPROD abrtd: DUP_OF_DIR: /var/spool/abrt/pyhook-2015-06-04-00:48:02-1797 Jun 6 13:28:07 PythonPROD abrtd: Deleting problem directory pyhook-2015-06-06-13:27:02-1796 (dup of pyhook-2015-06-04-00:48:02-1797) Jun 6 13:28:07 PythonPROD abrtd: No actions are found for event 'notify-dup' -- messages: 245006 nosy: nivin priority: normal severity: normal status: open title: PythonPROD abrt type: crash ___ Python tracker <http://bugs.python.org/issue24409> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24749] Which fastest python-mysql connector?
New submission from nivin: Please suggest the fastest python-mysql connector. Our aim is to call procedures and resturn data. -- messages: 247576 nosy: nivin priority: normal severity: normal status: open title: Which fastest python-mysql connector? type: performance versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue24749> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24050] Segmentation fault (core dumped)
New submission from nivin: Got an error as Segmentation fault (core dumped) when executed a python script . Error getting only for a specific python script only -- components: Interpreter Core messages: 241940 nosy: nivin priority: normal severity: normal status: open title: Segmentation fault (core dumped) versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue24050> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com