Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to report a bug of reportbug?

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

How to report a bug of reportbug?

#1 Post by Danielsan »

Reportbug crash when I tried to report a bug:

Code: Select all

reportbug
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2233, in <module>
    main()
  File "/usr/bin/reportbug", line 1107, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 2149, in user_interface
    package, severity, mode, charset=charset, tags=tags)
  File "/usr/bin/reportbug", line 182, in handle_editing
    editor, charset)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1561, in func
    op = klass(parent)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 539, in __init__
    self.widget = self.create_widget()
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1173, in create_widget
    expander = Gtk.Expander("Other system information")
TypeError: GObject.__init__() takes exactly 0 arguments (1 given)
How can I report this bug? :roll:

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: How to report a bug of reportbug?

#2 Post by edbarx »

Reportbug is a software, therefore, it is subject to the same attributes of all software, also including the attribute, of having bugs. The simplest way I can think of, is to boot a Live distribution which does NOT have the mentioned bug and run reportbug from within that.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to report a bug of reportbug?

#3 Post by GarryRicketson »

You do not have to use "reportbug", to report a bug, all though it is recommended,
it is NOT required , to submit a bug report.
From; https://www.debian.org/Bugs/ReportingHow to report a bug in Debian using reportbug
We strongly recommend that you report bugs in Debian using the reportbug program.
Then further down it says:
Sending the bug report via e-mail
You can report bugs in Debian by sending an e-mail to submit@bugs.debian.org with a special format described below. --------reportbug (see above) will properly format the e-mails for you; please use it!------snip--
And "below" it goes on to explain , and shows how the "special format" should be,
Sending the bug report via e-mail
You can report bugs in Debian by sending an e-mail to submit@bugs.debian.org
It is not all that complicated, just read and follow the guidelines.
Then e-mail the report to the appropriate addresses.

For additional details and suggestions:
How to report bugs in a Debian package

This (above) is in case you do not have a Live CD or USB handy, :
The simplest way I can think of, is to boot a Live distribution which does NOT have the mentioned bug and run reportbug from within that.
Either way, would work.
The "live CD" might be the easiest,... I can not duplicate any bug on my system,
It seems to work just fine.
I did notice this in the manual:http://www.debian.org/Bugs/Developer#tags

Code: Select all

man reportbug
DESCRIPTION
reportbug is primarily designed to report bugs in the Debian dis‐
tribution; by default, it creates an email to the Debian bug
tracking system at submit@bugs.debian.org with information about
the bug you've found, and makes a carbon copy of the report for
you as well.
Can you look at the manual ? (see the above command)
Note this:
OPTIONS
The program follows the usual GNU command line syntax, with long
options starting with two dashes (`--'). A summary of options
are included below.
-h, --help
Show summary of options.
--version
Show the version of reportbug and exit.
This would be important , if you do make the report manually,...the version you
are using, as well as what version of Debian, which you did not
bother to mention here either, similar to when asking a question here,
it is very important to include the details , what version of Debian, what version of
the package or program,... Output, showing exactly what you did,..etc.
For example:

Code: Select all

garry@debian:~/pascal$ reportbug --version
reportbug 6.4.4
 
I am using the reportbug version "6.44",.....and I can not find any "bug"......
however, I do find some things that could occur if the Person Between the Keyboard and Chair, does not read instructions and manuals,...
I am not saying this is the case, but before submitting a "bug report",...one does need
to make sure it is not a poorly configured system, hardware, etc,... quite often
reading the manual, can solve what appears to be a bug. Just saying,...
============ For example: ============
What exactly does it say, when you start "reportbug" without any options ?
Like this:

Code: Select all

garry@debian:~/pascal$ reportbug
Welcome to reportbug! Since it
looks like this is the first
time you have used reportbug, we
are configuring its behavior.
These settings will be saved to
the file
"/home/garry/.reportbugrc",
which you will be free to edit
further.
Please choose the default
operating mode for reportbug.
At what point did the error occur ?
I ask because, I did get some errors similar to yours, but it is NOT a bug,
the ones I got are because I do not have any outgoing or incoming e-mail
configured on this machine, ...That is to say if you do not have your e-mail
setup to send and recieve e-mail, it will generate a error,...but it is not a "bug"
On this computer, I delibrately do not allow outgoing or incoming e-mail,..
but that is another topic,...any way, I go to another server, to check my e-mail, and send e-mail,
I am kind of busy with something else,...but
in a nut shell, the OP does not give enough details to even submit a good bug
report.
The version of Debian is a important factor,...mine is Debian 7.00 wheezy.

Code: Select all

Please enter the name of the
package in which you have found
a problem, or type 'other' to
report a more general problem.
> quit

reportbug: exiting due to user interrupt.
garry@debian:~/pascal$ man reportbug
garry@debian:~/pascal$ reportbug --version
reportbug 6.4.4
garry@debian:~/pascal$ 
  

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: How to report a bug of reportbug?

#4 Post by Danielsan »

Cool, so basically I have to report two bug hence...

In this case how can I print a log error of a terminal application? Maybe open the terminal application within another terminal? :?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to report a bug of reportbug?

#5 Post by GarryRicketson »

In this case how can I print a log error of a terminal application?
I am not sure what you mean here, but if I am guessing correctly,
for example:

Code: Select all

# cat /var/log/syslog > output-syslog.txt 
Prints the syslog file contents to a file called " output-syslog.txt "
Since the log files in /var/log can only be opened by root, or using
sudo, that is what the # indicates, it is not part of the command.
But any way, after you have the output in a text file form, you can
put it on a USB stick, copy/paste it using a editor , what ever you
want,... to make the file writable by a normal user, you need to change
the permissions, (hope you know how to do that), make your self
owner, instead of "root",...
Another example :

Code: Select all

dmesg > dmesg.txt
Prints the dmesg to a file named "dmesg.txt", it will be in the same
directory that you run the comman from,... if you want it to be in another
directory:

Code: Select all

dmseg > /home/joes/path-to-directory/dmesg.txt 
This prints the Version to a text file named "example-bug-report.txt" :

Code: Select all

 reportbug --version > example-bug-report.txt 
Last edited by GarryRicketson on 2016-12-27 02:32, edited 1 time in total.

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: How to report a bug of reportbug?

#6 Post by Danielsan »

Well, let me do this simpler... Some times I like playing with a terminal game called Greed, unfortunately the Debian's version has a bug, if you know the game, when you do a wrong move a line of characters disappears without reason because the bug. Were may I find some info about that bug?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to report a bug of reportbug?

#7 Post by GarryRicketson »

I don't know about this game "Greed", searching did not find much either,...
https://packages.debian.org/jessie/greed

I tried these key words :

Code: Select all

Bug in the Debian game Greed 
Well, let me do this simpler... Some times I like playing with a terminal game called Greed,
That does simplify it some what,... also a note, on the link above,
It would be better to start here: https://packages.debian.org/sid/games-puzzle
Package: games-puzzle (1.6)
Do you have the entire "games-puzzle" package ?
----- OK------
Looking at the above link, it shows 'games-tasks' is a dependency,
do you have that installed ?

dep: games-tasks (= 1.6)
Debian Games tasks for tasksel
And further down, the link to the
"greed" game, it is a reccomended addition to the game package,....
https://packages.debian.org/jessie/greed
Make sure you have all the dependencies,....
There is more information, but:
https://bugs.debian.org/cgi-bin/pkgrepo ... ist=stable
No bug, like what you describe has been reported, the only one is a
"wishlist" request for menus, and icons,.... But it might give you sort of
a idea as to how to also submit a report,...also there are contact addresses
for the maintainers of the game,...
From: https://packages.debian.org/jessie/greed Package: greed (3.10-1)
curses-based clone of the DOS free-ware game Greed
This is a curses-based clone of the DOS free-ware game Greed. The goal of this game is to try to eat as much as possible of the board before munching yourself into a corner
Now that I am thinking about it, I kind of think I vaquely remember this game,
on Dos,...but never really liked it much, my favorite is MS PacMan,... but any way,
you might be better off trying to find the original game, and run it on Dosbox,....
that is what I do for my "Pacman game",.... I have been trying for years now,
to make a good clone, that runs directly on Linux, and Debian, but not much luck,
and there are some "clones", actually many, but none of them really work well, there
all ways seems to be "bugs",.....and none of them are like the original,...
Even if I downloaded the "source" for greed, unless you are using Debian 7 or 6,
what ever I found , if anything, would not do you any good,...besides that, when ever
I have the time, I am busy trying to get my "pacman game"
working better on my system,... but "games are fun to play around with", trying
to get them working better is part of the game, I think,... Actually now that I am
remebering more,...it seems to me like I used some of the code, in a qbasic version
of "greed", to help me work out some qbasic code for a qbasic version of "pacman",...
if you know the game, when you do a wrong move a line of characters disappears without reason because the bug
this sounds like a very familiar , problem,..."the bug" also kept eating my dots,
uncontrollably,.... Try not to make any "WRONG MOVES" !
I think that was part of why I did not like the game very much,...it was to hard,
I just don't know any more, it was all so long ago.
===== Note: =====
Downloaded the game,

Code: Select all

man greed
AUTHORS
Originally written by Matt
Day. Maintained by
esr@snark.thyrsus.com. See
ESR's home page at
http://www.catb.org/~esr/ for
updates and other resources.
There you go,.... there also might be some clues in the manual,...just now
started to look at it,....
I do remember this game, it sucks, no point in it, and besides that it "locks up"
a lot,...I don't know if it is a intententional part of the game, or a bug,...or both,...
but even way back when it was a Dos game, it was the same thing, ....
Take note, what it says at the bottom of the manual :
BUGS
This really ought to be an X game, but that would have been too
much like work.
I don't think anyone will be very interested in trying to solve this other "bug",...
The game seems "buggy" but it also seems to me like it all ways was this way,...
and well, a "clone" is a "clone".

User avatar
mor
Posts: 970
Joined: 2010-08-28 15:16
Location: mor@debian

Re: How to report a bug of reportbug?

#8 Post by mor »

Danielsan wrote:Were may I find some info about that bug?
You find info about bugs in any package by searching the bug tracker. Also you can have comprehensive info about anything related to any package by going to the package tracking system. In both you input the package name and you get what you look for.
As for the package greed, there is only one bug open and it is a wishlist bug.
I tried the game and couldn't see anything wrong with it "when you do a wrong move a line of characters disappears without reason because the bug", so try to be far more detailed when you report the bug.

Hope you have all you need now, good luck.

Bye

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: How to report a bug of reportbug?

#9 Post by Danielsan »

Sorry my bad, I am expressed very bad.

I would say where can I find some terminal outputs where verifying that something is going wrong.

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: How to report a bug of reportbug?

#10 Post by Danielsan »

Eventually someone else reported the bug: https://bugs.debian.org/cgi-bin/bugrepo ... se&mbox=no

Post Reply