From: Serge N. <Ser...@fr...> - 2009-11-24 20:37:04
|
Hi everybody, Did someone had this problem on other distribution than ubuntu karmic ? We use webkit and gramps 3.1.2 in ubuntu. libwebkit is 1.1.15 python-webkit 1.1.5 If someone has this problem, is it possible to test the patch given in the following issue ? http://www.gramps-project.org/bugs/view.php?id=3341 The GeoView initialization is different between trunk and 3.1.x And the problem occurs when geoview is loaded. I use the back and forward buttons. It seems they are called earlier. So I suppress them : not very useful in geoview. If the problem still occurs after that, I'll remove geoview from 3.1.3 and put it in gramps-addon. Serge |
From: Josip <jo...@pi...> - 2009-11-24 22:53:40
|
Serge Noiraud wrote: > Hi everybody, > > Did someone had this problem on other distribution than ubuntu karmic ? > > We use webkit and gramps 3.1.2 in ubuntu. > libwebkit is 1.1.15 > python-webkit 1.1.5 > Do you mean other distributions in general or just ones with same version of libraryes? ArchLinux 64 gramps 3.1.2 libwebkit 1.1.15.3 pywebkitgtk 1.1.7 No crash, forward and backward buttons works normal. -- Josip |
From: Serge N. <Ser...@fr...> - 2009-11-25 06:57:38
|
Josip a écrit : > Serge Noiraud wrote: >> Hi everybody, >> >> Did someone had this problem on other distribution than ubuntu karmic ? >> >> We use webkit and gramps 3.1.2 in ubuntu. >> libwebkit is 1.1.15 >> python-webkit 1.1.5 >> > > Do you mean other distributions in general or just ones with same > version of libraryes? Other distributions in general : Debian, Fedora, Mandriva, ... These distributions in stable status, beta, rc, ... > > ArchLinux 64 > gramps 3.1.2 > libwebkit 1.1.15.3 > pywebkitgtk 1.1.7 > > No crash, forward and backward buttons works normal. This is not a forward or backward problem. > Thanks for this. Serge |
From: Josip <jo...@pi...> - 2009-11-25 17:13:45
|
Serge Noiraud wrote: > This is not a forward or backward problem. > Well for me release 3.1.2 works OK but in branch rev13672 those buttons are disabled (back/forward still works from popup menu). -- Josip |
From: jerome <rom...@ya...> - 2009-11-27 18:06:46
|
Hi, I do not know if this is related but I get some warning during my session (Gramps-3.1.3, python 2.6, Ubuntu 9.04 + webkit) : console message: file:///../src/mapstraction/mapstraction.js @455: ReferenceError: Can't find variable: GMap2 I do not have internet connection, I get this message but I do not use GeoView ! (into other views). Looks like Gramps often calls this file during session. I see the comment on mapstraction/mapstraction.js, line 455 : case 'openstreetmap': // for now, osm is a hack on top of google if (GMap2) { if (GBrowserIsCompatible()) { this.maps[api] = new GMap2(element); but I do not know if this is important, related to problem on karmic (maybe webkit installed for Ephipany) or specific to my configuration (no active connection) ! Jérôme --- En date de : Mer 25.11.09, Serge Noiraud <Ser...@fr...> a écrit : > De: Serge Noiraud <Ser...@fr...> > Objet: Re: [Gramps-devel] [Gramps-users] GeoView : crash in ubuntu karmic > À: "Josip" <jo...@pi...> > Cc: "Gramps developers" <gra...@li...>, Gra...@li... > Date: Mercredi 25 Novembre 2009, 7h57 > Josip a écrit : > > Serge Noiraud wrote: > >> Hi everybody, > >> > >> Did someone had this problem on other distribution > than ubuntu karmic ? > >> > >> We use webkit and gramps 3.1.2 in ubuntu. > >> libwebkit is 1.1.15 > >> python-webkit 1.1.5 > >> > > > > Do you mean other distributions in general or just > ones with same > > version of libraryes? > Other distributions in general : Debian, Fedora, Mandriva, > ... > These distributions in stable status, beta, rc, ... > > > > > ArchLinux 64 > > gramps 3.1.2 > > libwebkit 1.1.15.3 > > pywebkitgtk 1.1.7 > > > > No crash, forward and backward buttons works normal. > This is not a forward or backward problem. > > > > Thanks for this. > > Serge > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's > new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |
From: Serge N. <Ser...@fr...> - 2009-11-27 22:31:03
|
jerome a écrit : > Hi, > > I do not know if this is related but I get some warning during my session (Gramps-3.1.3, python 2.6, Ubuntu 9.04 + webkit) : > > console message: file:///../src/mapstraction/mapstraction.js @455: ReferenceError: Can't find variable: GMap2 > > I do not have internet connection, I get this message but I do not use GeoView ! (into other views). > Looks like Gramps often calls this file during session. > The only way to have this message is to have geoview active. Only webkit or gecko read the file mapstraction.js gramps doesn't use it. Do you have files in $HOME/.gramps/temp/geoview ? ... |
From: Jérôme <rom...@ya...> - 2009-11-28 08:21:29
|
Serge, > The only way to have this message is to have geoview active. Yes, geoview is active (loaded into Gramps) I cannot use it, but I have looked at translations. I just find strange that this code is called not only when I am on GeoView (DB Manager, PeopleView, etc ..). I thought there was something related to PageView (ManagedWindow, ListView). If so, why not to try to less load this code during session. I agreed, branch is not trunk (related or not to crash, cannot select the loaded modules, PageView rewrite, etc ...). Also using GeoView without active network is not logical... ;) > Do you have files in $HOME/.gramps/temp/geoview ? Yes. But to remove them will re-create new files on next Gramps' session. I can easily ignore this mapstraction console message, I have no crash or slow-down performance on Navigation/Edition. Gramps-3.1.3 has an issue with webkit on karmic. Note, I have read that some fixed webkit versions has been added on Karmic's repositories ! I suppose the problem is that Karmic provides webkit as default (maybe for Epiphany, pigdin or GNOME ?) and Gramps will load GeoView, which default version crashes in Ubuntu Karmic, isn't it ? Jérôme Serge Noiraud a écrit : > jerome a écrit : >> Hi, >> >> I do not know if this is related but I get some warning during my >> session (Gramps-3.1.3, python 2.6, Ubuntu 9.04 + webkit) : >> >> console message: file:///../src/mapstraction/mapstraction.js @455: >> ReferenceError: Can't find variable: GMap2 >> >> I do not have internet connection, I get this message but I do not use >> GeoView ! (into other views). Looks like Gramps often calls this file >> during session. >> > The only way to have this message is to have geoview active. > Only webkit or gecko read the file mapstraction.js > gramps doesn't use it. > > Do you have files in $HOME/.gramps/temp/geoview ? > > ... > |
From: Benny M. <ben...@gm...> - 2009-11-29 22:02:15
|
2009/11/27 jerome <rom...@ya...>: > Hi, > > I do not know if this is related but I get some warning during my session (Gramps-3.1.3, python 2.6, Ubuntu 9.04 + webkit) : > > console message: file:///../src/mapstraction/mapstraction.js @455: ReferenceError: Can't find variable: GMap2 > > I do not have internet connection, I get this message but I do not use GeoView ! (into other views). > Looks like Gramps often calls this file during session. > > I see the comment on mapstraction/mapstraction.js, line 455 : > case 'openstreetmap': > > // for now, osm is a hack on top of google > > if (GMap2) { > > if (GBrowserIsCompatible()) { > > this.maps[api] = new GMap2(element); > > but I do not know if this is important, related to problem on karmic (maybe webkit installed for Ephipany) or specific to my configuration (no active connection) ! > I have seen this message also already. Not today though, but then, I'm now connected via wifi. Benny > > > Jérôme > > --- En date de : Mer 25.11.09, Serge Noiraud <Ser...@fr...> a écrit : > >> De: Serge Noiraud <Ser...@fr...> >> Objet: Re: [Gramps-devel] [Gramps-users] GeoView : crash in ubuntu karmic >> À: "Josip" <jo...@pi...> >> Cc: "Gramps developers" <gra...@li...>, Gra...@li... >> Date: Mercredi 25 Novembre 2009, 7h57 >> Josip a écrit : >> > Serge Noiraud wrote: >> >> Hi everybody, >> >> >> >> Did someone had this problem on other distribution >> than ubuntu karmic ? >> >> >> >> We use webkit and gramps 3.1.2 in ubuntu. >> >> libwebkit is 1.1.15 >> >> python-webkit 1.1.5 >> >> >> > >> > Do you mean other distributions in general or just >> ones with same >> > version of libraryes? >> Other distributions in general : Debian, Fedora, Mandriva, >> ... >> These distributions in stable status, beta, rc, ... >> >> > >> > ArchLinux 64 >> > gramps 3.1.2 >> > libwebkit 1.1.15.3 >> > pywebkitgtk 1.1.7 >> > >> > No crash, forward and backward buttons works normal. >> This is not a forward or backward problem. >> >> > >> Thanks for this. >> >> Serge >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and >> deployment - and focus on >> what you do best, core application coding. Discover what's >> new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |
From: Jérôme <rom...@ya...> - 2009-11-30 11:45:34
|
> I have seen this message also already. Not today though, but then, I'm now connected via wifi. I do not planned to connect this 3rd PC !!! Looks like that I get less warnings on trunk than branch : maybe Gramps-3.1.2 is looking many times at available maps during session (user preferences) and on trunk (maybe as plugins can be loaded or not), seems to me I get less warnings during session ? Note, now nobody will try Geoview without active connection ... But true this will also displayed on console/terminal when we are offline. GeoView is marked as experimental on 3.1.x, isn't it ? It works fine on Josip's configuration (forward and backward buttons works normal). And I get no crash with webkit and Ubuntu 9.04. So if it is out of Gramps (webkit provided by Ubuntu 9.10), maybe do not need to try to provide a fix on branch, on trunk only ? Jérôme Benny Malengier a écrit : > 2009/11/27 jerome <rom...@ya...>: >> Hi, >> >> I do not know if this is related but I get some warning during my session (Gramps-3.1.3, python 2.6, Ubuntu 9.04 + webkit) : >> >> console message: file:///../src/mapstraction/mapstraction.js @455: ReferenceError: Can't find variable: GMap2 >> >> I do not have internet connection, I get this message but I do not use GeoView ! (into other views). >> Looks like Gramps often calls this file during session. >> >> I see the comment on mapstraction/mapstraction.js, line 455 : >> case 'openstreetmap': >> >> // for now, osm is a hack on top of google >> >> if (GMap2) { >> >> if (GBrowserIsCompatible()) { >> >> this.maps[api] = new GMap2(element); >> >> but I do not know if this is important, related to problem on karmic (maybe webkit installed for Ephipany) or specific to my configuration (no active connection) ! >> > > I have seen this message also already. Not today though, but then, I'm > now connected via wifi. > > Benny > >> >> Jérôme >> >> --- En date de : Mer 25.11.09, Serge Noiraud <Ser...@fr...> a écrit : >> >>> De: Serge Noiraud <Ser...@fr...> >>> Objet: Re: [Gramps-devel] [Gramps-users] GeoView : crash in ubuntu karmic >>> À: "Josip" <jo...@pi...> >>> Cc: "Gramps developers" <gra...@li...>, Gra...@li... >>> Date: Mercredi 25 Novembre 2009, 7h57 >>> Josip a écrit : >>>> Serge Noiraud wrote: >>>>> Hi everybody, >>>>> >>>>> Did someone had this problem on other distribution >>> than ubuntu karmic ? >>>>> We use webkit and gramps 3.1.2 in ubuntu. >>>>> libwebkit is 1.1.15 >>>>> python-webkit 1.1.5 >>>>> >>>> Do you mean other distributions in general or just >>> ones with same >>>> version of libraryes? >>> Other distributions in general : Debian, Fedora, Mandriva, >>> ... >>> These distributions in stable status, beta, rc, ... >>> >>>> ArchLinux 64 >>>> gramps 3.1.2 >>>> libwebkit 1.1.15.3 >>>> pywebkitgtk 1.1.7 >>>> >>>> No crash, forward and backward buttons works normal. >>> This is not a forward or backward problem. >>> >>> Thanks for this. >>> >>> Serge >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal >>> Reports 2008 30-Day >>> trial. Simplify your report design, integration and >>> deployment - and focus on >>> what you do best, core application coding. Discover what's >>> new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gramps-devel mailing list >>> Gra...@li... >>> https://lists.sourceforge.net/lists/listinfo/gramps-devel >>> >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> > |
From: Duncan L. <dun...@gm...> - 2009-11-30 11:54:22
|
2009/11/30 Jérôme <rom...@ya...>: > GeoView is marked as experimental on 3.1.x, isn't it ? The text in the 'Internet Maps' tab of preferences does not suggest that GeoView is unstable Duncan |
From: Jérôme <rom...@ya...> - 2009-11-30 12:38:49
|
No, but suggest on first download : http://www.gramps-project.org/wiki/index.php?title=Third-party_Plugins documentation : http://www.gramps-project.org/wiki/index.php?title=GeoView and wiki manual : http://www.gramps-project.org/wiki/index.php?title=Gramps_3.1_Wiki_Manual_-_Main_Window#HTML_View_.28optional.29 I suppose, as most 3rd party-plugins, this is not a part of sources (tarball for release). So users need to download this additionnal feature. See also minor goals on roadmap (3.2) : http://www.gramps-project.org/wiki/index.php?title=Roadmap#Minor_goals Note, how do you enable GeoView ? User need to modify the .ini file ... That's not very user-friendly. If I take the risk to modify the stable code, then I know this could be unstable and became experimental (not fully tested). Ohhhh I made a mistake ! GeoView is on tarball ... (see src/DataView/Makefile.am) > pkgdata_PYTHON = \ > __init__.py\ > GeoView.py\ > GrampletView.py\ > PersonView.py\ > RelationView.py\ > FamilyList.py\ > PedigreeView.py\ > EventView.py\ > SourceView.py\ > PlaceView.py\ > MediaView.py\ > NoteView.py\ > RepositoryView.py > > # _MapView.py So, I could provide an easy fix for Ubuntu karmic ... src/DataView/Makefile.am pkgdata_PYTHON = \ __init__.py\ # GeoView.py\ GrampletView.py\ Note, I try to avoid to have the same plugin on multiple places (.gramps/plugins /usr/share/gramps/plugins). Is it really safe to provide GeoView on 3.1 *and* on 3r party plugins ? Jérôme Duncan Lithgow a écrit : > 2009/11/30 Jérôme <rom...@ya...>: >> GeoView is marked as experimental on 3.1.x, isn't it ? > > The text in the 'Internet Maps' tab of preferences does not suggest > that GeoView is unstable > > Duncan > |
From: Benny M. <ben...@gm...> - 2009-11-30 12:40:11
|
Jerome, all the concerns raised here have been addressed in upcoming version 3.2 GeoView is experimental because with 3.1.x there is no easy way to switch it off, and the only way to enable it for users is to distribute it with the default install. This is one of the reasons views are plugins in 3.2. So, for the 3.1.x series, Geoview remains experimental, but it should be stable. The problem with Karmic showed that just importing a lib can make Gramps crash, which is a behaviour we really would like to avoid if it is due only to Geoview. I think the changes of Serge in branch31 have fixed this issue. Benny 2009/11/30 Jérôme <rom...@ya...>: > No, but suggest on first download : > http://www.gramps-project.org/wiki/index.php?title=Third-party_Plugins > documentation : > http://www.gramps-project.org/wiki/index.php?title=GeoView > and wiki manual : > http://www.gramps-project.org/wiki/index.php?title=Gramps_3.1_Wiki_Manual_-_Main_Window#HTML_View_.28optional.29 > > I suppose, as most 3rd party-plugins, this is not a part of sources (tarball > for release). So users need to download this additionnal feature. > > See also minor goals on roadmap (3.2) : > http://www.gramps-project.org/wiki/index.php?title=Roadmap#Minor_goals > > Note, how do you enable GeoView ? > User need to modify the .ini file ... That's not very user-friendly. > If I take the risk to modify the stable code, then I know this could be > unstable and became experimental (not fully tested). > > Ohhhh I made a mistake ! > GeoView is on tarball ... (see src/DataView/Makefile.am) > >> pkgdata_PYTHON = \ >> __init__.py\ >> GeoView.py\ >> GrampletView.py\ >> PersonView.py\ >> RelationView.py\ >> FamilyList.py\ >> PedigreeView.py\ >> EventView.py\ >> SourceView.py\ >> PlaceView.py\ >> MediaView.py\ >> NoteView.py\ >> RepositoryView.py >> >> # _MapView.py > > So, I could provide an easy fix for Ubuntu karmic ... > > src/DataView/Makefile.am > > pkgdata_PYTHON = \ > __init__.py\ > # GeoView.py\ > GrampletView.py\ > > > Note, I try to avoid to have the same plugin on multiple places > (.gramps/plugins /usr/share/gramps/plugins). Is it really safe to provide > GeoView on 3.1 *and* on 3r party plugins ? > > > > Jérôme > > > > > Duncan Lithgow a écrit : >> >> 2009/11/30 Jérôme <rom...@ya...>: >>> >>> GeoView is marked as experimental on 3.1.x, isn't it ? >> >> The text in the 'Internet Maps' tab of preferences does not suggest >> that GeoView is unstable >> >> Duncan >> > > |
From: Jérôme <rom...@ya...> - 2009-11-30 16:11:37
|
Benny, > GeoView is experimental because with 3.1.x there is no easy way to > switch it off, and the only way to enable it for users is to > distribute it with the default install. > This is one of the reasons views are plugins in 3.2. It was not a "real" patch... :-[ I know that views are plugins on 3.2 only and that GeoView is loaded on DataView/_init_.py try: from GeoView import HtmlView, GeoView except: geopresent = False I also know that we can remove some views (PedigreeView) without crash on stable release... OK, it was not designed for that, maybe unsafe ? I suppose we can try to remove (just for testing) some views on .ini file, isn't it ? > we really would like to avoid if it is due only to Geoview. Why not enable/disable GeoView on .ini for testing ? data-views=GrampletView,PersonView,RelationshipView,FamilyListView,PedigreeView,EventView,SourceView,PlaceView,MediaView,RepositoryView,NoteView So GeoView should not be loaded, isn't it ? If we still get a crash, then maybe there is something else ! Jérôme Benny Malengier a écrit : > Jerome, > > all the concerns raised here have been addressed in upcoming version 3.2 > GeoView is experimental because with 3.1.x there is no easy way to > switch it off, and the only way to enable it for users is to > distribute it with the default install. > This is one of the reasons views are plugins in 3.2. > > So, for the 3.1.x series, Geoview remains experimental, but it should > be stable. The problem with Karmic showed that just importing a lib > can make Gramps crash, which is a behaviour we really would like to > avoid if it is due only to Geoview. I think the changes of Serge in > branch31 have fixed this issue. > > Benny > > 2009/11/30 Jérôme <rom...@ya...>: >> No, but suggest on first download : >> http://www.gramps-project.org/wiki/index.php?title=Third-party_Plugins >> documentation : >> http://www.gramps-project.org/wiki/index.php?title=GeoView >> and wiki manual : >> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.1_Wiki_Manual_-_Main_Window#HTML_View_.28optional.29 >> >> I suppose, as most 3rd party-plugins, this is not a part of sources (tarball >> for release). So users need to download this additionnal feature. >> >> See also minor goals on roadmap (3.2) : >> http://www.gramps-project.org/wiki/index.php?title=Roadmap#Minor_goals >> >> Note, how do you enable GeoView ? >> User need to modify the .ini file ... That's not very user-friendly. >> If I take the risk to modify the stable code, then I know this could be >> unstable and became experimental (not fully tested). >> >> Ohhhh I made a mistake ! >> GeoView is on tarball ... (see src/DataView/Makefile.am) >> >>> pkgdata_PYTHON = \ >>> __init__.py\ >>> GeoView.py\ >>> GrampletView.py\ >>> PersonView.py\ >>> RelationView.py\ >>> FamilyList.py\ >>> PedigreeView.py\ >>> EventView.py\ >>> SourceView.py\ >>> PlaceView.py\ >>> MediaView.py\ >>> NoteView.py\ >>> RepositoryView.py >>> >>> # _MapView.py >> So, I could provide an easy fix for Ubuntu karmic ... >> >> src/DataView/Makefile.am >> >> pkgdata_PYTHON = \ >> __init__.py\ >> # GeoView.py\ >> GrampletView.py\ >> >> >> Note, I try to avoid to have the same plugin on multiple places >> (.gramps/plugins /usr/share/gramps/plugins). Is it really safe to provide >> GeoView on 3.1 *and* on 3r party plugins ? >> >> >> >> Jérôme >> >> >> >> >> Duncan Lithgow a écrit : >>> 2009/11/30 Jérôme <rom...@ya...>: >>>> GeoView is marked as experimental on 3.1.x, isn't it ? >>> The text in the 'Internet Maps' tab of preferences does not suggest >>> that GeoView is unstable >>> >>> Duncan >>> >> > |