[Bug 448670] Re: Gramps crashes after some minutes

2010-11-03 Thread Benny
** Changed in: gramps (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2010-11-03 Thread Duncan Lithgow
@Benny: please don't mark as Fix Released without some explanation.
Clearly asking users to uninstall webkit is not a sensible solution as
nemarona explained above.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-12-29 Thread nemarona
python-webkit comes automatically installed with Ubuntu. This means that 
uninstalling it will also uninstall the ubuntu-desktop package, whose presence 
is crucial when upgrading to a new Ubuntu version. If you follow Serge's advice 
and remove and reinstall python-webkit, I suggest you do
sudo apt-get remove python-webkit
sudo apt-get install ubuntu-desktop
By the way, I tried this to no avail.
Any solution / fix / workaround to this bug?

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-12-11 Thread blaisemarion
I got the same problem with Karmic and Gramps. It happens right after it
is opened and the database is unlocked to load. Did anyone find a fix
yet?

Thanks.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 448670] Re: Gramps crashes after some minutes

2009-12-11 Thread Duncan Lithgow
I haven't had this bug since I installed 3.1.3

Duncan

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-11-25 Thread Serge Noiraud
As we call some webkit function earlier ( webkit problem )
I tried to solve this.
I made a patch : It works for me. can you test it ?

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-11-25 Thread Serge Noiraud
I don't know how to add a patch, so I copy it :
--- /usr/share/gramps/DataViews/GeoView.py.org  2009-11-25 10:52:12.0 
+0100
+++ /usr/share/gramps/DataViews/GeoView.py  2009-11-25 10:53:15.0 
+0100
@@ -417,8 +417,9 @@
 
 Set the backward and forward button in accordance to the browser.
 
-self.forward_action.set_sensitive(self.renderer.can_go_forward())
-self.back_action.set_sensitive(self.renderer.can_go_back())
+pass
+#self.forward_action.set_sensitive(self.renderer.can_go_forward())
+#self.back_action.set_sensitive(self.renderer.can_go_back())
 
 def open(self, url):
 
@@ -698,6 +699,11 @@
 
 Specifies the UIManager XML code that defines the menus and buttons
 associated with the interface.
+placeholder name=CommonNavigation
+  toolitem action=Back/  
+  toolitem action=Forward/  
+  toolitem action=Refresh/
+/placeholder
 
 if Config.get(Config.GEOVIEW_GOOGLEMAPS):
 alternate_map = GoogleMaps
@@ -709,11 +715,6 @@
 alternate_map = MicrosoftMaps
 return '''ui
   toolbar name=ToolBar
-placeholder name=CommonNavigation
-  toolitem action=Back/  
-  toolitem action=Forward/  
-  toolitem action=Refresh/
-/placeholder
 placeholder name=CommonEdit
   toolitem action=OpenStreetMap/
   toolitem action=%s/
@@ -731,9 +732,9 @@
 Required define_actions function for PageView. Builds the action
 group information required. 
 
-HtmlView._define_actions_fw_bw(self)
-self.forward_action.set_sensitive(False)
-self.back_action.set_sensitive(False)
+#HtmlView._define_actions_fw_bw(self)
+#self.forward_action.set_sensitive(False)
+#self.back_action.set_sensitive(False)
 self._add_action('OpenStreetMap', 'gramps-openstreetmap', 
  _('_OpenStreetMap'),
  callback=self.select_openstreetmap_map,

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-11-11 Thread Serge Noiraud
You can use gtkmozembed in place of webkit to have a workaround
sudo aptitude remove python-webkit
sudo aptitude install python-gtkmozembed
Then run gramps.
You should not have this problem anymore.
If the problem always occurs, it's a gramps problem.
If it doesn't, it's a webkit problem.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-11-09 Thread Serge Noiraud
I can reproduce the problem too. If it's the same problem than the bug 3341 on 
gramps-project bug list,
http://www.gramps-project.org/bugs/view.php?id=3341

** (gramps.py:5858): DEBUG: NP_Initialize
** (gramps.py:5858): DEBUG: NP_Initialize succeeded
 --- modulename: GeoView, funcname: page_loaded
GeoView.py(210): self.set_button_sensitivity()
 --- modulename: GeoView, funcname: set_button_sensitivity
GeoView.py(187): self.fct()
 --- modulename: GeoView, funcname: set_button_sensitivity
GeoView.py(420): 
self.forward_action.set_sensitive(self.renderer.can_go_forward())
 --- modulename: GeoView, funcname: can_go_forward
GeoView.py(169): return self.window.can_go_forward()
GeoView.py(421): self.back_action.set_sensitive(self.renderer.can_go_back())
 --- modulename: GeoView, funcname: can_go_back
GeoView.py(157): return self.window.can_go_back()
Segmentation fault (core dumped)

This is a libwebkit or a python-webkit problem :
I ask to webkit if I can go back ( go to the prior html page )
It should answer False because at this moment, we have no html page loaded.

As you can see, the can_go_forward is ok. This is used to have the back and 
forward button active or not.
self.window = webkit.webview()

If I use : python -m trace --count when I launch gramps, sometimes it work, 
sometimes it doesn't,
So The problem appears ( I suppose ) when webkit is not fully initialized.

Does it help ?
is it the same bug than 
https://bugs.launchpad.net/ubuntu/+source/gramps/+bug/388815 ?


** Bug watch added: GRAMPS Bug Tracking System #3341
   http://www.gramps-project.org/bugs/view.php?id=3341

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-11-08 Thread Serge Noiraud
I'm the gramps  developper which include GeoView in gramps.
Geoview try to load libwebkit or gtkmozembed to show the maps.
If we have none of these kits, Geoview is not loaded.
If we have one kit, we load the kit available
and if we have the two kits, webkit is used.
If you don't need the maps for the moment, you can disallow geoview in the .ini 
file
$HOME/.gramps/gramps.ini or gramps32.ini
You remove 'GeoView' in the data-views variable.

This is for the work around. Normally, gramps must run correctly.

Now, for your problem, I think there is a problem during libwebkit and 
python-webkit installation.
During the karmic development, I already had this problem one time.
To correct this, I only did :
sudo aptitude remove python-webkit
then
sudo aptitude install python-webkit
and normally, the problem should disapear ...

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-11-08 Thread Petr Hejl
Thanks Serge. The first think I tried was to disable GeoView by removing
GeoView from data-views in keys.ini. It didn't help.

What helped is:
removing GeoView from data-views in keys.ini
removing geoview=True from keys.ini
removing temp/GeoView

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-16 Thread Duncan Lithgow
I understand that this is now working for each of you, but was the
original problem a bug or something you did wrong. I'd like to either
close this or forward it to the gramps developers.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-16 Thread merovius
I could not say either way honestly. It was the first time I tried to
use it after upgrading to Karmic Beta. It would crash almost
immediately. After doing as suggested on the Ubuntu forum and backing up
the .gramps folder and reinstalling it worked. The downloaded .deb
worked but not reinstalling with synaptic. Not sure what the difference
(if any) would be. I then filed a bug and found this same one already
filed. Sorry if thats not much help. Thanks for your efforts in any
event.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-16 Thread Duncan Lithgow
** Changed in: gramps (Ubuntu)
   Status: Confirmed = Invalid

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-11 Thread riny

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/33445448/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/33445449/XsessionErrors.txt

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-11 Thread merovius
I seem to have this same issue under Karmic. I would appear to have
fixed it by uninstalling GRAMPS with synaptic and then reinstalling from
the website by downloading the .deb file. Did loose the last bit of work
I did a few weeks ago.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-11 Thread merovius
** Changed in: gramps (Ubuntu)
   Status: New = Confirmed

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-11 Thread merovius
I forgot to mention that I did $mv ~/.gramps ~/.gramps.backup before I
uninstalled and reinstalled via the .deb file. I have been advised that
this technique did not work for another user. I am not sure if they used
the $mv ~/.gramps ~/.gramps.backup command first when they tried the
reinstall.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-11 Thread Duncan Lithgow
@riny: have you run the 'Check and Repair Database' tool? Does that report any 
problems? What about starting GRAMPS from the command line, that might give 
some error messages you can paste here.
@merovius: it's probably a better idea to export the databases you want to keep 
to the GRAMPS XML format before upgrading. Then re-import them.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 448670] Re: Gramps crashes after some minutes

2009-10-11 Thread merovius
Update: The other user (sweevo) has reported his second attempt using
$mv ~/.gramps ~/.gramps.backup worked and he was able to close and copy
his old .gramps file back into the new one and all was well with his
GRAMPS install.

The process is in this forum
http://ubuntuforums.org/showthread.php?t=1288475

I had exported my file but did not import it. I just left the original
in my home folder.

I did run from terminal and copied the errors to the above forum. Hope
that is of some use.

I may try copying my old.gramps folder over to my new one and see if the
data I seem to have lost returns. I have fairly recent backups so no
worry over major data loss.

-- 
Gramps crashes after some minutes
https://bugs.launchpad.net/bugs/448670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs