Re: [Pymag-devel] invalid maps generated on windows
Status: Alpha
Brought to you by:
lhj
From: Henrik J. <hen...@gm...> - 2009-11-04 09:37:05
|
On Wednesday 28 October 2009 11:23:22 bp wrote: > Hi, > > I'm a newbee user of pymagellan. I found it great. > However I'v installed it both on XP and Ubuntu. The XP version produced > invalid map files. > MapSend says: "Can not open map" though the linux version was ok. > Datasources and rule files were the same in both cases. > Than after a little search I found this topic: > http://sourceforge.net/tracker/?func=detail&aid=2350976&group_id=239832&ati > d=1111141 and applied the patch in Layer.py changing > tmplay = tempfile.NamedTemporaryFile('w') > to > tmplay = tempfile.NamedTemporaryFile('wb') > after applying the modification, the maps created on windows were ok. > I'v applied the modification on linux also. > MapSend can open both the windows and the linux version of maps. > So I think this patch sould be in svn. > > Regards > Peter Hi Peter, I have now fixed this problem in trunk. Thanks for reporting it. /Henrik |