[Bug 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2009-10-12 Thread AcCEsS
This promlem is still in Intrepid (0.12.3-1) and still in Karmic (0.15).

I compiled git source (0.15) but this problem is same.

I tried to remove .recently-used.xbel but it didn't help.

Console messages:

/usr/lib/python2.6/dist-packages/gaupol/gtk/util.py:108: GtkWarning: 
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main_iteration()
/usr/lib/python2.6/dist-packages/gaupol/gtk/main.py:213: GtkWarning: 
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main()

Sorry poor english!

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2009-10-12 Thread Osmo Salomaa
I still have no solution, but I'll recommend an easy workaround that
removes the recent menus entirely: Edit file
/usr/share/gaupol/ui/ui.xml and remove the lines that add the recent
menus (lines 11-20 in gaupol 0.15). That still leaves you with open
button menu on the toolbar, but that should be easier to avoid (if that
too causes a freeze).

Since 2.12 PyGTK has a gtk.RecentAction class. For the next version of
gaupol, I can switch to using that instead of the manual menu creation
and attaching that's currently used. It may or may not solve this bug.

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2009-10-12 Thread AcCEsS
Thanks for your response this tricks solved the problem! I am waiting
for the next version. This program is the best subtitle editor!

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-12-14 Thread fhucho
** Changed in: gaupol (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-12-03 Thread fhucho
In Intrepid (clean install) it works well now, so if it is still an
issue for anybody please reply in 3 days otherwise I will mark this bug
as Fix Released.

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-05-24 Thread clewis
** Changed in: gaupol (Ubuntu)
   Status: Incomplete = Confirmed

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-05-10 Thread clewis
I tried your suggestions but the problem persists.

What I have found is that if I comment out the item.set_submenu(menu)
line (in this method and the next, because the Open Recent Translation
code has the same problem) the program no longer freezes. The Open
Recent menu no longer functions, of course, but it seems like a viable
workaround until this bug can be fixed :-)

Please let me know if there's anything else you'd like me to try.

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-05-09 Thread clewis
Same problem here with Hardy (release, not beta), using Gaupol 0.12.3-1
package.

Here's what I get if I launch Gaupol from a terminal:

Universal Encoding Detector not found;
character encoding auto-detection not possible.
/usr/lib/python2.5/site-packages/gaupol/gtk/main.py:218: GtkWarning: 
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main()

If I delete .recently-used.xbel I also get the:

/usr/lib/python2.5/site-packages/gaupol/gtk/util.py:105: GtkWarning: 
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main_iteration()

..output, as per fhucho's report.

I haven't spotted any similar problems with other apps (e.g. Gedit) that
make use of .recently-used.xbel

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-05-09 Thread Osmo Salomaa
Apparently some event happens with the recent file menu, possibly just
focus being moved to it, and for some reason the menu is not realized
and can't handle the event. Perhaps the event then remains pending and
causes the following while-loop to never exit?

while gtk.events_pending():
gtk.main_iteration()

The relevant method is this (gaupol/gtk/agents/menu.py:193):

def on_show_recent_main_menu_activate(self, *args):
Show the recent main file menu.

item = self.get_menu_item(show_recent_main_menu)
menu = self._get_recent_menu(gaupol.gtk.DOCUMENT.MAIN)
callback = self.on_recent_main_menu_item_activated
menu.connect(item-activated, callback)
item.set_submenu(menu)
gaupol.gtk.util.iterate_main()

Maybe someone who can reproduce this could try adding 'menu.show()'
somewhere in there or change the ordering of the last three lines.

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-04-03 Thread Piotr Ożarowski
I cannot reproduce it

** Changed in: gaupol (Ubuntu)
   Status: New = Incomplete

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-04-03 Thread Osmo Salomaa
I can't reproduce it either.

When you select Open Recent in the File menu it initializes a
gtk.RecentChooserMenu, which uses gtk.RecentManager to parse and filter
$HOME/.recently-used.xbel.

You could try removing or renaming that file, although if there are some
problems with the file, it should come up with other applications using
gtk.Recent* as well.

If the file is very big (there's no limit to its growth!), it will take
a while to parse and filter it. Are you sure the freezing is permanent
and not temporary?

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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 206183] Re: Gaupol freezes the system after I select Open Recent in menu

2008-04-03 Thread fhucho
I tried to remove .recently-used.xbel, but it unfortunately didn't help.

After the system freezes, the processor is almost idle (I had to switch to 
terminal via Ctrl + Alt + F1 and run top to find this out).
I also tried to wait 2 minutes after the system freezed but nothing happened.
If I run gaupol from terminal, it gives out this output:

PyEnchant not found;
spell-checking not possible.
Universal Encoding Detector not found;
character encoding auto-detection not possible.
/usr/lib/python2.5/site-packages/gaupol/gtk/util.py:105: GtkWarning: 
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main_iteration()
/usr/lib/python2.5/site-packages/gaupol/gtk/main.py:218: GtkWarning: 
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main()

The both warnings appear immediately after I move the cursor over the
Open Recent item.

-- 
Gaupol freezes the system after I select Open Recent in menu
https://bugs.launchpad.net/bugs/206183
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