Bug 7216

Summary: Toaster managed mode: python tracebacks in backend console
Product: [Build System, Metadata & Runtime] Toaster Reporter: Ionut Chisanovici <ionutx.chisanovici>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, bogdanx.a.voiculescu, cristiana.voicu
Version: 1.8   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
toaster_ui.log none

Description Ionut Chisanovici 2015-01-21 09:56:52 UTC
Created attachment 2349 [details]
toaster_ui.log

Hi,

For 1.8 M2 RC1, I have two python tracebacks in backend console.
Unfortunately I cannot tell you when those were generated or what I did.

Exception happened during processing of request from ('127.0.0.1', 34599)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/uievent.py", line 149, in process_request


Traceback (most recent call last):
  File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/toasterui.py", line 290, in main
    buildinfohelper.store_dependency_information(event)
  File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1076, in store_dependency_information
    raise Exception(errormsg)

Attached the toaster_ui.log.

Cheers,
Ionut C
Comment 1 Belen Barros Pena 2015-03-11 16:30:59 UTC
expected behaviour
Comment 2 Paul Eggleton 2015-03-16 15:02:54 UTC
We really don't want to show tracebacks to the user if we can possibly avoid it. Either the error is expected and should never be shown (i.e. we should catch it), or we need to fix the source of the error.
Comment 3 Alexandru Damian 2015-03-19 19:03:48 UTC
pushed for review on poky-contrib:adamian/20150319_7184
Comment 4 Alexandru Damian 2015-03-30 12:14:29 UTC
Merged in master as 1385f2877090b23b11ac5d47f06ae5df2d1ed655
Comment 5 Alexandru Damian 2015-03-30 12:14:41 UTC
1385f2877090b23b11ac5d47f06ae5df2d1ed655
Comment 6 Alexandru Roman 2015-12-15 15:06:26 UTC
Verified.