ricekuo / zhpy

Automatically exported from code.google.com/p/zhpy
0 stars 0 forks source link

zhpy 1.1 文件翻译在有.ini的目录中出错 #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In a directory without any .ini file. Prepare a test.py file.
2. zhpy --cn test.py -v
3. New a abc.ini file. No matter what content inside.
4. zhpy --cn test.py -v

Step 2 works fine. Step 4 has problems.
cnpy
file abc.ini
zhpy Exception: you may input unproper source
global name 'ConfigParser' is not defined

What version of the product are you using? On what operating system?
winxp sp2, python 2.5.1, zhpy1.1

Please provide any additional information below.
Not tested if the plugin extend dict has the same problem or not. 

Original issue reported on code.google.com by ren...@gmail.com on 10 Oct 2007 at 7:42

GoogleCodeExporter commented 8 years ago
fixed in [516], thanks :)

http://zhpy.googlecode.com/svn/trunk/zhpy/pyzh.py

Original comment by gasolin on 10 Oct 2007 at 4:58

GoogleCodeExporter commented 8 years ago

Original comment by gasolin on 12 Oct 2007 at 1:32