public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
@ 2011-05-12 12:33 Tobias Burnus
  2011-05-12 12:57 ` Tobias Burnus
  0 siblings, 1 reply; 8+ messages in thread
From: Tobias Burnus @ 2011-05-12 12:33 UTC (permalink / raw)
  To: overseers, Frédéric Buclin

Hello,

I am getting the following error at 
http://gcc.gnu.org/bugzilla/attachment.cgi

GCC Bugzilla has suffered an internal error. Please save this page and 
send it to overseers@gcc.gnu.org with details of what you were doing at 
the time this message appeared.

URL: http://gcc.gnu.org/bugzilla/attachment.cgi

The function |Bugzilla::Attachment->create| requires a |description| 
argument, and that argument was not set.


That happend when I tried to add an attachment at:
http://gcc.gnu.org/bugzilla/attachment.cgi?bugid=48972&action=enter

The settings were:
File: (some file name)
Description: "Test case"
Content-Type:  (*) Select from list [ text/plain ]

Comment: (some comment)


Tobias

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 12:33 GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument Tobias Burnus
@ 2011-05-12 12:57 ` Tobias Burnus
  2011-05-12 19:49   ` Frédéric Buclin
  0 siblings, 1 reply; 8+ messages in thread
From: Tobias Burnus @ 2011-05-12 12:57 UTC (permalink / raw)
  To: overseers, Frédéric Buclin

On 05/12/2011 02:32 PM, Tobias Burnus wrote:
> The function |Bugzilla::Attachment->create| requires a |description| 
> argument, and that argument was not set.
>
> The settings were:
> File: (some file name)
> Description: "Test case"

I mixed up different hosts - causing that the file to be uploaded was 
nonexisting. However, the error message is misleading (-> Bugzilla bug).

Tobias

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 12:57 ` Tobias Burnus
@ 2011-05-12 19:49   ` Frédéric Buclin
  2011-05-12 20:30     ` Tobias Burnus
  0 siblings, 1 reply; 8+ messages in thread
From: Frédéric Buclin @ 2011-05-12 19:49 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: overseers

Le 12. 05. 11 14:57, Tobias Burnus a écrit :
> I mixed up different hosts - causing that the file to be uploaded was
> nonexisting. However, the error message is misleading (-> Bugzilla bug).

I already fixed the confusing error message upstream last month (both
Bugzilla 4.0.1 and 4.1.2 have this fix; Bugzilla 3.6 is restricted to
security fixes only).

Frédéric

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 19:49   ` Frédéric Buclin
@ 2011-05-12 20:30     ` Tobias Burnus
  2011-05-12 20:59       ` Frédéric Buclin
  0 siblings, 1 reply; 8+ messages in thread
From: Tobias Burnus @ 2011-05-12 20:30 UTC (permalink / raw)
  To: LpSolit; +Cc: overseers

Frédéric Buclin wrote:
> I already fixed the confusing error message upstream last month (both
> Bugzilla 4.0.1 and 4.1.2 have this fix
Nice! Talking about 4.0.x, is it planned to update Bugzilla? I'd be 
especially interested in the autocomplete feature for users ...

Additionally, I wonder whether/where the source code of the GCC 
installation is available. One missing feature of the installation of 
3.6 is that "PR 124 comment 5" no longer links there but only to "PR 
124" and to "comment 5" of the current bug; using "bug 124 comment 5" 
works, but that does not help with old bugs.

Additionally, I and others (at #gcc) are wondering why Bugzilla emails 
currently take that long - up to an hour (and often out of order). Until 
recently the emails were quickly sent. It seems to be Bugzilla specific 
as otherwise, emails to the mailing list quickly arrive.

Tobias

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 20:30     ` Tobias Burnus
@ 2011-05-12 20:59       ` Frédéric Buclin
  2011-05-12 21:12         ` Frank Ch. Eigler
  0 siblings, 1 reply; 8+ messages in thread
From: Frédéric Buclin @ 2011-05-12 20:59 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: overseers

Le 12. 05. 11 22:29, Tobias Burnus a écrit :
> Nice! Talking about 4.0.x, is it planned to update Bugzilla?

I didn't plan to upgrade GCC Bugzilla to 4.0, no. I planned to move to
4.2 directly when it reaches the release candidate stage (4.2rc1). The
reason is that I estimated that GCC users wouldn't benefit from the new
features in 4.0, seeing how they use it (but maybe I'm wrong).


 I'd be
> especially interested in the autocomplete feature for users ...

Is that the single new feature GCC admins want from 4.0?


> Additionally, I wonder whether/where the source code of the GCC
> installation is available.

It's in /sourceware/bugzilla/gcc-bugzilla/. If you cannot access it,
custom code is available from this bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43011, see the two
attachments there.



 One missing feature of the installation of
> 3.6 is that "PR 124 comment 5" no longer links there but only to "PR
> 124" and to "comment 5" of the current bug; using "bug 124 comment 5"
> works, but that does not help with old bugs.

Yes, I know. You already reported it as bug 46305. :) The reason I
didn't fix it is that it requires one additional hack in the core code
that I didn't want to do, to minimize the list of hacks (which is
fortunately small). The hack shouldn't be necessary in Bugzilla 4.2, so
I could fix this bug once we upgrade to 4.2rc1.


> Additionally, I and others (at #gcc) are wondering why Bugzilla emails
> currently take that long - up to an hour (and often out of order). Until
> recently the emails were quickly sent.

No idea. I'm not responsible with this part of the process. :) If this
is a recent behavior change, then Bugzilla is probably not the culprit
as I didn't change anything in it since January 25. Or maybe another
admin changed something I'm not aware of (which wouldn't be a great idea
as we may get conflicts when upgrading as I wouldn't be aware of the
code change).


Frédéric

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 20:59       ` Frédéric Buclin
@ 2011-05-12 21:12         ` Frank Ch. Eigler
  2011-05-12 21:50           ` Tobias Burnus
  0 siblings, 1 reply; 8+ messages in thread
From: Frank Ch. Eigler @ 2011-05-12 21:12 UTC (permalink / raw)
  To: Frédéric Buclin; +Cc: Tobias Burnus, overseers

Hi -

lpsolit wrote:

> [...]
> > Additionally, I and others (at #gcc) are wondering why Bugzilla emails
> > currently take that long - up to an hour (and often out of order). Until
> > recently the emails were quickly sent.
> 
> No idea. I'm not responsible with this part of the process. [...]

The installation uses bugzilla workqueues for email, which can get
behind in case of (shudder) mail loops or just heavy load.

- FChE

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 21:12         ` Frank Ch. Eigler
@ 2011-05-12 21:50           ` Tobias Burnus
  2011-05-12 21:57             ` Frédéric Buclin
  0 siblings, 1 reply; 8+ messages in thread
From: Tobias Burnus @ 2011-05-12 21:50 UTC (permalink / raw)
  Cc: Frédéric Buclin, overseers

Frank Ch. Eigler wrote:
[Regarding very slow bug emails]
> The installation uses bugzilla workqueues for email, which can get
> behind in case of (shudder) mail loops or just heavy load.

OK - though it is surprising that this seemingly never occurred before 
to that extend. Slow server - yes, slow Bugzilla - yes, but not normal 
webserver speed and slow mail sending is new - hopefully, it will be a 
temporary glitch.

Frédéric Buclin wrote:
>> Nice! Talking about 4.0.x, is it planned to update Bugzilla?
> I didn't plan to upgrade GCC Bugzilla to 4.0, no. I planned to move to
> 4.2 directly when it reaches the release candidate stage (4.2rc1). The
> reason is that I estimated that GCC users wouldn't benefit from the new
> features in 4.0, seeing how they use it (but maybe I'm wrong).

I think there are only a few small items, which would be nice; thus, 
deferring the update until 4.2 is fine.

> Is that the single new feature GCC admins want from 4.0?

I don't know. I find it useful - others probably do not need it, but 
might like other features.

> Yes, I know. You already reported it as bug 46305.
But it was never acknowledged. I have now added a comment stating that 
it will happen in 4.2 to avoid an extra hack.

Tobias

PS: I somehow would feel better if the Bugzilla password would be 
transferred via HTTPS, but that probably would cause too much server load...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument
  2011-05-12 21:50           ` Tobias Burnus
@ 2011-05-12 21:57             ` Frédéric Buclin
  0 siblings, 0 replies; 8+ messages in thread
From: Frédéric Buclin @ 2011-05-12 21:57 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: overseers

Le 12. 05. 11 23:50, Tobias Burnus a écrit :
> PS: I somehow would feel better if the Bugzilla password would be
> transferred via HTTPS, but that probably would cause too much server
> load...

/me votes to enable SSL always, on Bugzilla, to avoid MITM attacks.

Frédéric

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-12 21:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 12:33 GCC Bugzilla: internal error: Bugzilla::Attachment->create requires a description argument Tobias Burnus
2011-05-12 12:57 ` Tobias Burnus
2011-05-12 19:49   ` Frédéric Buclin
2011-05-12 20:30     ` Tobias Burnus
2011-05-12 20:59       ` Frédéric Buclin
2011-05-12 21:12         ` Frank Ch. Eigler
2011-05-12 21:50           ` Tobias Burnus
2011-05-12 21:57             ` Frédéric Buclin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).