Re: GtkChamplain API broke somewhere from 0.6->0.8
- From: Łukasz Jernaś <deejay1 srem org>
- To: Robert Park <rbpark exolucere ca>
- Cc: libchamplain-list gnome org
- Subject: Re: GtkChamplain API broke somewhere from 0.6->0.8
- Date: Sun, 26 Dec 2010 17:07:42 +0100
On Sun, Dec 26, 2010 at 9:05 AM, Robert Park <rbpark exolucere ca> wrote:
> Hi hackers!
>
> In case you don't remember me, (as far as I'm aware) I'm the only
> developer using libchamplain in a Python application via the
> introspection bindings rather than static bindings.
>
> Up until now, I've been developing against stock Fedora 14 packages,
> which used libchamplain 0.6, and I haven't had too many problems. The
> app runs, it has a few crashing bugs, but it can be described as
> usable.
>
> A few weeks ago, I had my first bug report from a user of my app. He
> was running Arch linux, which (at least at the time of his bug report)
> was using libchamplain 0.8. He told me he was getting this error when
> he ran my program:
>
> Traceback (most recent call last):
> File "./gottengeography.py", line 1835, in <module>
> if __name__ == "__main__": GottenGeography().main()
> File "./gottengeography.py", line 717, in __init__
> self.map_view = self.champlain.get_view()
> AttributeError: 'Embed' object has no attribute 'get_view'
OK, seems that the reason for this is that the get_view method is
marked with "introspection=0" in the gir file and as such isn't
exported in the introspection stuff. Now we just have to figure out
how to export it properly ;)
Regards,
--
Łukasz [DeeJay1] Jernaś
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]