ActiveState Community

Win32 GetConsoleScreenBufferInfo call didn't work

Posted by danyeung_redback on 2008-11-19 15:11

I got the following software error when I try use access a cgi program in Apache in Vista.

Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at C:/perl/lib/Term/ReadKey.pm line 362.
Compilation failed in require at C:/perl/lib/Term/ReadLine/Perl.pm line 64.

Did someone know the root cause of the problem and how to resolve it

Thanks,
Daniel

rbh | Fri, 2009-10-23 02:20

I cant debug in Komodo

When I use -d switch I get, turning off "-d" script is ok (except for my own bug somewhere

"Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work."

Find 2 post without any solutions to problem to problem

http://community.activestate.com/forum/win32-getconsolescreenbufferinfo-...

and

http://community.activestate.com/forum-topic/setup-komodo-3-1-debug-mod-...

Has anyone who fixed this somehow?

rbh | Tue, 2009-10-27 00:40

Was able to debug after setting/(confirguring) the setenv directives in apache

SetEnv PERL5LIB "C:\Program Files\ActiveState Komodo x.x\lib\support\dbgp\perllib"
SetEnv PERLDB_OPTS "RemotePort=localhost:9000"
SetEnv DBGP_IDEKEY "rbh"