Re: 请教,用py2exe生成的程序, 执行出现错误,winxp好用,win2k出现问题

Joey <[email protected]> Wed, 23 Jan 2008 12:25:18 +0800
Newsgroups gmane.comp.python.chinese
Message-ID <[email protected]>
查了一下代码,是在某行调用了 os.makedirs() 这个函数,

用py2exe做出的exe, 运行会有问题么?



2008/1/23 Joey <[email protected]>:

> 不太明白,
>
> 应该如何解决呢?
> 哈
>
>
> 2008/1/23 xxmplus <[email protected]>:
>
> 路径设置问题咯
> >
> > 2008/1/23 Joey <[email protected]>:
> >  > Hi All,
> > >
> > > 我用python写了个command line的程序,用py2exe打包,在win xp下运行良好。
> > >
> > > 后来换到一台win2k的机器上,运行是出现如下问题
> > > C:\Documents and
> > > Settings\clab\Desktop\A.TNG\packagertool-1.0.0.1\Packager_J2ME\
> > > dist>createjar.exe
> > > Traceback (most recent call last):
> > >   File "createjar.py", line 385, in <module>
> > >   File " createjar.py", line 199, in createJar
> > >   File " os.pyc", line 172, in makedirs
> > > WindowsError: [Error 3] The system cannot find the path specified: ''
> > >
> > > 不知道该如何解决,比较着急,
> > > 希望大家支招。
> > >
> > > 谢谢。
> > >
> > > 注:在对应的代码中寻找,对应的行中并没有奇怪的地方。
> > >
> > >
> > > --
> > > Best Regard,
> > > Tang, Jiyu (Joey)
> > > _______________________________________________
> > > python-chinese
> > > Post: send [email protected]
> > > Subscribe: send subscribe to [email protected]
> > > Unsubscribe: send unsubscribe to  [email protected]
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> >
> >
> > --
> > Any complex technology which doesn't come with documentation must be the
> > best
> > available.
> > _______________________________________________
> > python-chinese
> > Post: send [email protected]
> > Subscribe: send subscribe to [email protected]
> > Unsubscribe: send unsubscribe to  [email protected]
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
>
> Best Regard,
> Tang, Jiyu (Joey)
>



-- 
Best Regard,
Tang, Jiyu (Joey)

_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to  [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese