This allows user to directly report a crash by clicking on abrt icon. This is a first patch which just adds --report=crashid option to abrt-gui. Please review.
Thx, Jirka
On Mon, 2010-03-08 at 12:22 +0100, Jiri Moskovcak wrote:
This allows user to directly report a crash by clicking on abrt icon. This is a first patch which just adds --report=crashid option to abrt-gui. Please review.
Tested. It works with valid UUID.
With invalid UUID, I am getting this:
# abrt-gui --report 12345 Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in <module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
Also it does not support "UID:UUID" syntax, with the same error:
# abrt-gui --report 0:b6d7f71b Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in <module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
This syntax is needed, for example, to allow root to specify which crash to report when there are two identical crashes with different UIDs.
-- vda
On Mon, 2010-03-08 at 14:59 +0100, Denys Vlasenko wrote:
On Mon, 2010-03-08 at 12:22 +0100, Jiri Moskovcak wrote:
This allows user to directly report a crash by clicking on abrt icon. This is a first patch which just adds --report=crashid option to abrt-gui. Please review.
Tested. It works with valid UUID.
With invalid UUID, I am getting this:
...
Also, "abrt-gui --help" probably should list options now. It can be added in src/Gui/abrt-gui.
On 03/08/2010 02:59 PM, Denys Vlasenko wrote:
On Mon, 2010-03-08 at 12:22 +0100, Jiri Moskovcak wrote:
This allows user to directly report a crash by clicking on abrt icon. This is a first patch which just adds --report=crashid option to abrt-gui. Please review.
Tested. It works with valid UUID.
With invalid UUID, I am getting this:
# abrt-gui --report 12345 Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in<module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
Yes, already fixed this.
Also it does not support "UID:UUID" syntax, with the same error:
# abrt-gui --report 0:b6d7f71b Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in<module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
This syntax is needed, for example, to allow root to specify which crash to report when there are two identical crashes with different UIDs.
Yes, will add this.
Also, "abrt-gui --help" probably should list options now. It can be added in src/Gui/abrt-gui.
and also this.
-- vda
Crash-catcher mailing list Crash-catcher@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/crash-catcher
Fixed version of previous patch, adds the missing functionality for --report=<uid>:<hash> - fixes usage with invalid UUID - and abrt-gui --help prints the help message
J.
On 03/08/2010 03:08 PM, Jiri Moskovcak wrote:
On 03/08/2010 02:59 PM, Denys Vlasenko wrote:
On Mon, 2010-03-08 at 12:22 +0100, Jiri Moskovcak wrote:
This allows user to directly report a crash by clicking on abrt icon. This is a first patch which just adds --report=crashid option to abrt-gui. Please review.
Tested. It works with valid UUID.
With invalid UUID, I am getting this:
# abrt-gui --report 12345 Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in<module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
Yes, already fixed this.
Also it does not support "UID:UUID" syntax, with the same error:
# abrt-gui --report 0:b6d7f71b Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in<module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
This syntax is needed, for example, to allow root to specify which crash to report when there are two identical crashes with different UIDs.
Yes, will add this.
Also, "abrt-gui --help" probably should list options now. It can be added in src/Gui/abrt-gui.
and also this.
-- vda
Crash-catcher mailing list Crash-catcher@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/crash-catcher
Crash-catcher mailing list Crash-catcher@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/crash-catcher
3rd version which really fixes $ abrt-gui --help J.
On 03/08/2010 05:14 PM, Jiri Moskovcak wrote:
Fixed version of previous patch, adds the missing functionality for --report=<uid>:<hash>
- fixes usage with invalid UUID
- and abrt-gui --help prints the help message
J.
On 03/08/2010 03:08 PM, Jiri Moskovcak wrote:
On 03/08/2010 02:59 PM, Denys Vlasenko wrote:
On Mon, 2010-03-08 at 12:22 +0100, Jiri Moskovcak wrote:
This allows user to directly report a crash by clicking on abrt icon. This is a first patch which just adds --report=crashid option to abrt-gui. Please review.
Tested. It works with valid UUID.
With invalid UUID, I am getting this:
# abrt-gui --report 12345 Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in<module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
Yes, already fixed this.
Also it does not support "UID:UUID" syntax, with the same error:
# abrt-gui --report 0:b6d7f71b Traceback (most recent call last): File "/usr/share/abrt/CCMainWindow.py", line 319, in<module> rs = ReporterSelector(dumplist.getDumpByCrashID(crashid),daemon,parent=None) File "/usr/share/abrt/CCReporterDialog.py", line 352, in __init__ for reporter_name in AnalyzerActionsAndReporters[crashdump.getAnalyzerName()].split(','): AttributeError: 'NoneType' object has no attribute 'getAnalyzerName'
This syntax is needed, for example, to allow root to specify which crash to report when there are two identical crashes with different UIDs.
Yes, will add this.
Also, "abrt-gui --help" probably should list options now. It can be added in src/Gui/abrt-gui.
and also this.
-- vda
Crash-catcher mailing list Crash-catcher@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/crash-catcher
Crash-catcher mailing list Crash-catcher@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/crash-catcher
Crash-catcher mailing list Crash-catcher@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/crash-catcher
crash-catcher@lists.fedorahosted.org