Closed
Bug 34320
Opened 25 years ago
Closed 25 years ago
Got "Software Error" when trying to attach some specific text file
Categories
(Bugzilla :: Bugzilla-General, defect, P3)
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: huang, Assigned: justdave)
Details
Got "Software Error" when trying to attach some specific text file
I am just wondering to know whether there is limitation for attaching file for
bugzilla..... when I was trying to attach some specific text file (about 6MB),
I got a "Software Error" message.....
Comment 1•25 years ago
|
||
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details,
see my posting in netscape.public.mozilla.webtools,
news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Reporter | ||
Comment 2•25 years ago
|
||
Anybody taking care of this problem yet?
Comment 3•25 years ago
|
||
I believe the bugzilla.mozilla.org installation of bugzilla will choke on
attachments bigger than 1 megabyte. It's a MySQL thing; this is mentioned
somewhere in Bugzilla's README file.
Reporter | ||
Comment 4•25 years ago
|
||
If this is bugzilla limitation, shouldn't it display the message to let users
know the limitation instead of just get the "software error" message?
it is a mysql thing. and it's not something that can be displayed in a bugzilla
form because it's a command line argument to the mysql daemon at start time.
basically.
marking as won't fix, because there isn't a good way of fixing this.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Comment 6•25 years ago
|
||
Is there any way of informing the user of this problem as a possibility on _any_
error that occurs when you try to attach a file?
Assignee | ||
Comment 7•24 years ago
|
||
Just for completeness, the error message generated is:
Software error:
insert into attachments (bug_id, filename, description, mimetype, ispatch,
submitter_id, thedata) values
(34320,'MacMozillaInstaller.sea', 'testing multiMB attachments to get the error
message', 'application/octet-stream', 0,
10297, '<<10.7 MB of data omitted>>'): MySQL server has gone away at globals.pl
line 134, <STDIN> chunk 34324.
I agree, that's not something we can easily trap. verif. wontfix
Status: RESOLVED → VERIFIED
Comment 8•24 years ago
|
||
I got a similiar error.
Bugzilla version 2.11
Create attachment
Bug 34320
Content-type: text/html
Software error:
insert into attachments (bug_id, filename, description, mimetype, ispatch,
submitter_id, thedata) values (34320,'eeevil.txt', 'eeeeevil text file > 7MB',
'text/plain', 0, 7322, 'blah de dah wo de doh ha ha ha bwahahaha i am you\'re
master! Get in my belly you little twirp. I am you\'re father! I 0wn j00! /* -*-
Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The
contents of this file are subject to the Netscape Public * License Version 1.1
(the "License"); you may not use this file * except in compliance with the
License. You may obtain a copy of * the License at http://www.mozilla.org/NPL/ *
* Software distributed under the License is distributed on an "AS * IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or * implied. See the License for
the specific language governing * rights and limitations under the License. * *
The Original Code is mozilla.org code. * * The Initial Developer of the Original
Code is Netscape * Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All * Rights Reserved.
* * Contributor(s): */ #include "nsIRequest.idl" interface nsIURI; interface
nsIInputStream; interface nsIOutputStream; interface nsIStreamObserver;
interface nsIStreamListener; interface nsIStreamProvider; interface
nsILoadGroup; interface nsIInterfaceRequestor; interface nsIFile;
.
.
.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
YTINASNI
ETH!AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!! THE
INSANITY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
YTINASNI
ETH!AHHHHHHHHHHHHHHH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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
YTINASNI
ETH!AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!! THE
INSANITY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
YTINASNI ETH!'): MySQL server has gone away at globals.pl line 134, <STDIN>
chunk 164712.
Please send mail to this site's webmaster for help.
u little twirp. I am you\'re father! I 0wn j00! /* -*- Mode: C++; tab-width: 4;
indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are
subject to the Nets
Comment 9•24 years ago
|
||
justdave: Is there a way we could break up attachments that are too large for
MySql? Or maybe there is some other way we can send the data to MySql - ie:
write it to a file and then tell MySql to open the file and copy it to the
attachments.
Assignee | ||
Comment 10•24 years ago
|
||
I don't think timing is the issue. From experience writing other mySQL apps
(some are text-based command-line driven shells) mySQL doesn't time out and go
away after a while. Something triggered it. In this case, probably the query it
too big for it to handle or something so it "hangs up" on the caller mid-query.
You probably could read in a file, but how do you know when to do so? We don't
know how big the file is until after it's been uploaded.
Comment 11•24 years ago
|
||
See also bug 59390 "Abort large (>1MB) attachments before uploading and with a
reasonable error message".
Assignee | ||
Comment 12•24 years ago
|
||
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•