https://bugzilla.wikimedia.org/show_bug.cgi?id=32263

       Web browser: ---
             Bug #: 32263
           Summary: "Cannot seek on a pipe" warning in maintenance scripts
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


For some reason this doesn't happen on my local machine but does happen on the
prototype server.

When I run maintenance scripts, I get lots of warnings like these:

Warning: fopen(): cannot seek on a pipe in
/srv/org/wikimedia/prototype/wikis/rl2/maintenance/Maintenance.php on line 313

Call Stack:
    0.0004     154088   1. {main}()
/srv/org/wikimedia/prototype/wikis/rl2/maintenance/update.php:0
    0.0026     782096   2.
require_once('/srv/org/wikimedia/prototype/wikis/rl2/maintenance/doMaintenance.php')
/srv/org/wikimedia/prototype/wikis/rl2/maintenance/update.php:147
    0.0995   12657528   3. UpdateMediaWiki->execute()
/srv/org/wikimedia/prototype/wikis/rl2/maintenance/doMaintenance.php:105
   10.8290   19037824   4. Maintenance->output()
/srv/org/wikimedia/prototype/wikis/rl2/maintenance/update.php:128
   10.8290   19037824   5. fopen()
/srv/org/wikimedia/prototype/wikis/rl2/maintenance/Maintenance.php:313


The offending line is $f = fopen( 'php://stdout', 'a' );

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to