Re: [pygccxml-development] Recent changes
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-05-03 08:25:55
|
On 5/3/06, Matthias Baas <ba...@ir...> wrote: > Roman Yakovenko wrote: > > On 5/2/06, Matthias Baas <ba...@ir...> wrote: > >> Roman Yakovenko wrote: > >> > 5. New bugs! Please test py++. > >> > >> Maybe here is one, I get the following error when I run my script with > >> latest pyplusplus: > >> > >> File "pypp_setup.py", line 538, in autoArgPolicies > >> if decl.ignore: > >> File ".../pyplusplus/decl_wrappers/decl_wrapper.py", line 67, in > >> _get_ignore > >> return self._ignore or not self.exportable > >> File ".../pyplusplus/decl_wrappers/decl_wrapper.py", line 91, in > >> get_exportable > >> if self._exportable is None: > >> AttributeError: 'constructor_t' object has no attribute '_exportable' > > > > I need help with the problem. I don't understand how it could happen. > > ( I am sure you are current on the whole source tree, right ? ) > > Yes, but it only struck me when I was reading this. The problem was I > forgot to delete the cache before running the new version and the cache > still contained the old code.... sorry... :-). Funny. At work I deal a lot with backward computability of saved data. And here I forgot about it completely. Some day I will fix it. It means tha= t we should save some "version" number within archive. > After some more modifications here and there I think it works again. Good > One more thing though, in pygccxml/declarations/scopedef.py (and maybe > other places as well) there are log messages like the following: > > utils.logger.info( 'running query: %s and <user defined function>' % > str( matcher ) ) > > These messages are issued as "info" messages and I get flooded with > those messages when I run my script. Could those be changed to "debug" > messages so that I can disable them without having to disable the entire > log stream? Go ahead. Please fix it and commit the change. > - Matthias - Thanks -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |