[EMAIL PROTECTED] wrote:

>       File
> "vsm\buildvsm\out1.pyz/pysnmp.entity.rfc3413.oneliner.cmdgen", line
>       7, in ? File "c:\pyinstaller_1.2\iu.py", line 312, in importHook
>         mod = _self_doimport(nm, ctx, fqname)
>       File "c:\pyinstaller_1.2\iu.py", line 398, in doimport
>         exec co in mod.__dict__
>       File "vsm\buildvsm\out1.pyz/pyasn1", line 19, in ?
>     WindowsError: [Errno 123] The filename, directory name, or volume
> label
> syntax is incorrect:
> 'C:\\pyinstaller_1.2\\vsm\\distvsm\\vsm.exe?90112/*.*'
>
> --------------------


Without looking at the source code of PySNMP, I can tell from the error that
the code is probably trying to use os.path.dirname(__file__) has a way to
access files in the directory of the source code. I have hit similar problems
before, in different packages. What is PySNMP trying to access? Is there a way
to manually specify a directory for those files (in which case, you can simply
use os.path.dirname(sys.argv[0]), instead of having the code extract it from
__file__?

Giovanni Bajo

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to