Re: [pygccxml-development] Recent changes
Brought to you by:
mbaas,
roman_yakovenko
|
From: Matthias B. <ba...@ir...> - 2006-05-03 08:13:19
|
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...
After some more modifications here and there I think it works again.
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?
- Matthias -
|