hi,
when gtkhtml2 and webkit is missing here is what happens :
'''
Traceback (most recent call last):
File "pida/core/application.py", line 87, in run_pida
start_success = b.start()
File "pida/core/boss.py", line 62, in start
self._sm.start_services()
File "pida/core/servicemanager.py", line 202, in start_services
svc.start()
File "pida/services/plugins/plugins.py", line 424, in start
self.update_installed_plugins(start=True)
File "pida/services/plugins/plugins.py", line 487, in
update_installed_plugins
plugin = self.boss.start_plugin(service_name)
File "pida/core/boss.py", line 103, in start_plugin
return self._sm.start_plugin(name)
File "pida/core/servicemanager.py", line 153, in start_plugin
plugin.start()
File "pida-plugins/library/library.py", line 318, in start
self._browser = bclass(self)
File "pida/ui/views.py", line 152, in __init__
self.create_ui()
File "pida/services/browseweb/browseweb.py", line 262, in create_ui
self.__browser = HtmlWidget(self)
TypeError: 'NoneType' object is not callable
'''
[...]
247 if webkit is not None:
248 HtmlWidget = WebkitHtmlWidget
249 elif gtkhtml2 is not None:
250 HtmlWidget = GtkHtmlWidget
251 else:
252 HtmlWidget = None # <- if it's None
253
254
255 class BrowserView(PidaView):
256 ICON_NAME = 'gtk-library'
257 SHORT_TITLE = _('Browser')
258
259 HAS_TITLE = False
260
261 def create_ui(self):
262 self.__browser = HtmlWidget(self) # <- that can't work ;)
[...]
as I can't create tickets on track, I'm posting it here.
so it has to be patched to fail loudly with a "please install gtkhtml2
or webkit" message. Gonna do it back home if no one does it... (but as I
installed gtkhtml2 I wanted to save the traceback ;) )
--
Guyzmo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PIDA" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pida?hl=en-GB
-~----------~----~----~----~------~----~------~--~---