Win32net.NetServerEnum Unicode problem

Roger Upole rupole at compaq.net
Wed Jun 7 17:49:00 EDT 2000


It looks like you are missing the domain name, which should
be right after SV_TYPE_ALL.
        Roger Upole

<jcashman55 at my-deja.com> wrote in message
news:8hlnd2$lrm$1 at nnrp2.deja.com...
> Having trouble with the following line:
>
>         entries, total, resume= \
> win32net.NetServerEnum('Dopey', \
> 102,win32netcon.SV_TYPE_ALL, 0, 4096)
>
> When I run code that contains this line, I get:
>
> TypeError: The object can not be converted to a
> Unicode object
>
> I have run some of the the other win32net calls
> without a problem.  Anyone have an idea?
>
> Thanks.
>
> Jim
>
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.





More information about the Python-list mailing list