> /home/zyga/checkbox.bzr/thunderbolt-testing/checkbox-ng/checkbox_ng/commands/newcli.py(82)__init__()
-> if display is None:
(Pdb) provider_loader
<bound method CheckboxLauncherTool._load_providers of <checkbox_ng.tools.CheckboxLauncherTool object at 0x7fa9bfc1aba8>>
Which leads me to tools.py which simply loads all providers by calling _load_providers().
So there are two bugs here:
- depmgr should not crash in this case
- plainbox should have better API than all_providers() (which loads all except for categories and manifest provider)
I'll patch each bug separately. I'll report them and link them here.
Adding another breakpoint I see this:
=== modified file 'checkbox- ng/checkbox_ ng/commands/ newcli. py' ng/checkbox_ ng/commands/ newcli. py 2015-03-31 07:26:46 +0000 ng/checkbox_ ng/commands/ newcli. py 2015-04-14 14:14:02 +0000
display= None):
super( ).__init_ _(provider_ loader, config_loader, ns, ns.color)
display = get_display()
self. _launcher = launcher
--- checkbox-
+++ checkbox-
@@ -78,6 +78,7 @@
def __init__(self, provider_loader, config_loader, ns, launcher,
+ import pdb; pdb.set_trace()
if display is None:
> /home/zyga/ checkbox. bzr/thunderbolt -testing/ checkbox- ng/checkbox_ ng/commands/ newcli. py(82)_ _init__ () rTool._ load_providers of <checkbox_ ng.tools. CheckboxLaunche rTool object at 0x7fa9bfc1aba8>>
-> if display is None:
(Pdb) provider_loader
<bound method CheckboxLaunche
Which leads me to tools.py which simply loads all providers by calling _load_providers().
So there are two bugs here:
- depmgr should not crash in this case
- plainbox should have better API than all_providers() (which loads all except for categories and manifest provider)
I'll patch each bug separately. I'll report them and link them here.