Opened 5 years ago

Closed 5 years ago

#630 closed defect (fixed)

Filehandle STDOUT reopened as $fh only for input

Reported by: szabgab Owned by: azawawi
Priority: major Milestone:
Component: editor Version: 0.47
Keywords: Cc:

Description

I got the following warning on the console:

Filehandle STDOUT reopened as $fh only for input at lib/Padre/File/Local.pm line 131.

trunk r8474

Change History (5)

comment:1 Changed 5 years ago by Sewi

I got it too and it seems that the open command got a non-filename for opening. Do you know who to reproduce it?

Maybe r8483 is a fix

comment:2 Changed 5 years ago by Sewi

It happens in various places, even in App::Ack when using "Search in Files". I didn't find any reason (besided that something closes STDOUT and STDERR).

Could this be a ProcessStream? - problem?

I'm still using Ubuntu's ProcessStream? version 0.11 which used to work, do you use the same version?

Running Padre using the Perl debugger may help, but watching fileno(STDOUT) didn't break.

comment:3 Changed 5 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to assigned

comment:4 Changed 5 years ago by szabgab

For me it seems to happen every time I switch to a new editor window.
(r8583)

comment:5 Changed 5 years ago by azawawi

  • Resolution set to fixed
  • Status changed from assigned to closed

It happened to me only in "last" startup mode. A 'close;' was being used for no apparent reason. Most probably a mistake. Please let me know if it happens again.

Fixed in r8633

Note: See TracTickets for help on using tickets.