[Bug 32231] Warning: gzwrite() expects parameter 1 to be resource, boolean given

2011-11-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32231

Niklas Laxström niklas.laxst...@gmail.com changed:

   What|Removed |Added

   Keywords|need-review, patch  |
 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Niklas Laxström niklas.laxst...@gmail.com 2011-11-10 
08:46:28 UTC ---
Now checked, committed in r102286.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 32231] Warning: gzwrite() expects parameter 1 to be resource, boolean given

2011-11-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32231

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low
 CC||m...@everybody.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 32231] Warning: gzwrite() expects parameter 1 to be resource, boolean given

2011-11-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32231

--- Comment #2 from Niklas Laxström niklas.laxst...@gmail.com 2011-11-09 
20:36:46 UTC ---
I think hashar committed some fail-fast code for this.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 32231] Warning: gzwrite() expects parameter 1 to be resource, boolean given

2011-11-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32231

Sumana Harihareswara suma...@panix.com changed:

   What|Removed |Added

   Keywords||need-review, patch
 CC||suma...@panix.com

--- Comment #3 from Sumana Harihareswara suma...@panix.com 2011-11-09 
21:23:10 UTC ---
+patch, +need-review

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 32231] Warning: gzwrite() expects parameter 1 to be resource, boolean given

2011-11-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32231

--- Comment #1 from Antoine hashar Musso has...@free.fr 2011-11-07 10:10:08 
UTC ---
Created attachment 9368
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=9368
add traceback when boolean used as a file handle

I can not reproduce locally.

Looks like at some point a file could not be opened hence $this-file receive
the 'false' value which is then used as a file handle.

One way to track this issue would be to add a check in the write function so it
emits a stack trace when a boolean is used as a handle. See attached patch.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l