å ã»ã©ã®ç¶ãã
æ©éãpyunitx-0.18.win32.exe ã Python 2.4.2ã«å ¥ãã¦åããã¦ã¿ã¾ããã
C:\tool2\Python24\Scripts>python wxpyunitx.py read: None Traceback (most recent call last): File "wxpyunitx.py", line 32, in ? main() File "wxpyunitx.py", line 28, in main app = pyunitx.wxui.WxPyUnitxApp(0) File "C:\tool2\Python24\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py", lin e 7473, in __init__ self._BootstrapApp() File "C:\tool2\Python24\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py", lin e 7125, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "C:\tool2\Python24\lib\site-packages\pyunitx\wxui\wxapp.py", line 24, in OnInit self.init_option() File "C:\tool2\Python24\lib\site-packages\pyunitx\wxui\wxapp.py", line 137, in init_option self.runner.init_check(self.test_list, self.spec_list) File "C:\tool2\Python24\Lib\site-packages\pyunitx\wxui\wxframework.py", line 6 7, in init_check self.open(tddtree, bddtree) File "C:\tool2\Python24\Lib\site-packages\pyunitx\wxui\wxframework.py", line 7 3, in open self.option.read(filename) File "C:\tool2\Python24\lib\site-packages\pyunitx\runneroption.py", line 34, i n read parser.read(self.get_filepath(readpath)) File "C:\tool2\Python24\lib\ConfigParser.py", line 262, in read for filename in filenames: TypeError: iteration over non-sequence
ä½ããã¨ã©ã¼åºã¦ããããããï¼
(ç¾è±¡ã¨ãã¦ã¯ãä¸ç¬ç»é¢ãåºãç¬éã«è½ã¡ã)
è²ã å¼ã£ã¦ã¿ããã§ãããC:\tool2\Python24\Lib\site-packages\pyunitx\runneroption.pyã®ã29è¡ä»¥éã®ã³ã¼ãã以ä¸ã®ããã«ä¿®æ£ããã°ãã¨ãããããåãããã«ãªãã¾ããã
PyUnitX posted from ãã©ãèµ
ä¿®æ£ã³ã¼ãï¼ def read(self, filepath): import ConfigParser # added start if filepath == None: self.tests = {} return # added end readpath = self.get_filepath(filepath) print "read: %s" % readpath parser = ConfigParser.SafeConfigParser() parser.read(self.get_filepath(readpath)) self.tests = {}
ãã ãã¯ã©ã¹å³ãPyDocçã®æ©è½ã使ããªãã£ãããã¦ã¾ãã
å¤åãGraphvizã®ã¤ã³ã¹ãã¼ã«ã¨ã足ããªãé¨åããããã§ãããã
ã¨ããã§ããã£ã¼ãããã¯ã¯ãã©ãããããããã ããï¼
BBSã¿ãããªã®ãè¦å½ãããªãããBlogãè¦å½ãããªãã
ãã±ããç»é²ã£ã¦ã®ã§ããã¹ãããã®ããªï¼
ã§ããåæã«ããã®ãä½ã ãã
ãããã誰ãç¥ããªãã§ããããï¼
2006/07/23 追è¨
pyunitx-0.19.win32.exe ã«ãªã£ããã解決ããã£ã½ãã§ãã
ãã£ãããã£ãã