Hello everyone.
I wrote a script that interrogates various devices using snmp protocol -
as a result, i use the pysnmp module.
The creation of the exe doesn't warn about anything special. But i run
into errors while i start the freshly created exe.

I'm using Win XP Pro, py version is 2.5. Here is the error i get under CLI;

First error:

C:\Documents and Settings\ordi>C:\exeee\dist\projetV2.exe
Traceback (most recent call last):
File "projetV2.py", line 2, in
File "pysnmp\__init__.pyc", line 25, in
WindowsError: [Error 3] The system cannot find the path specified:
'C:\\exeee\\d
ist\\library.zip\\pysnmp/*.*'

I got arround this by extracting the library.zip folder. And renaming
the folder to a .zip of course (yuchhh !). But then i get this error;

C:\Documents and Settings\ordi>C:\exeee\dist\projetV2.exe
Traceback (most recent call last):
File "projetV2.py", line 2, in
File "pysnmp\__init__.pyc", line 27, in
IndexError: list index out of range

Now that i can't fix, nor do i understand. Can anyone help me ?

If needed i can insert the full code of projetV2.py

Thanks in advance.




Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!