Nmap Development mailing list archives
Re: Big Zenmap news - TypeError: decoding Unicode
From: David Fifield <david () bamsoftware com>
Date: Thu, 28 Aug 2008 08:54:24 -0600
On Thu, Aug 28, 2008 at 05:40:16AM +0100, jah wrote:
On 26/08/2008 21:58, jah wrote:On 26/08/2008 20:58, David Fifield wrote:Can you try r9750? Apparently neither py2exe nor py2app can handle Unicode script names, even though using unicode objects to represent file names is more correct in general. That revision coerces the script name to a plain byte strings before handing it to the executable bundlers.Yep, that compiles fine.I must apologise as I've mislead you. I've found that when I checked-out r9750 somehow Name.py didn't get updated - this fact I've only just realised. It compiled OK because the strings didn't have the u prefix which I'd removed. After some fiddling, I found that, on windows at least, overriding the 'name' arg defined in COMMON_SETUP_ARGS using str(APP_NAME) is what's required and that the windows script arg can be unicode. The attached fixes that. I haven't assumed that this will work for py2app args and so the patch doesn't make that change - I suspect it would work though.
Thanks, I committed your patch. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: Big Zenmap news, (continued)
- Re: Big Zenmap news David Fifield (Aug 26)
- Re: Big Zenmap news João Medeiros (Aug 26)
- Re: Big Zenmap news - __draw_node MemoryError jah (Aug 26)
- Re: Big Zenmap news - __draw_node MemoryError jah (Aug 28)
- Re: Big Zenmap news - __draw_node MemoryError David Fifield (Aug 28)
- Re: Big Zenmap news - __draw_node MemoryError jah (Aug 28)
- Re: Big Zenmap news - __draw_node MemoryError David Fifield (Aug 28)
- Re: Big Zenmap news David Fifield (Aug 26)
- Re: Big Zenmap news - TypeError: decoding Unicode jah (Aug 26)
- Re: Big Zenmap news - TypeError: decoding Unicode jah (Aug 27)
- Re: Big Zenmap news - TypeError: decoding Unicode David Fifield (Aug 28)
- Re: Big Zenmap news Vladimir Mitrovic (Aug 26)
- Re: Big Zenmap news David Fifield (Aug 26)
- RE: Big Zenmap news Thomas Buchanan (Aug 26)
- Re: Big Zenmap news David Fifield (Aug 26)