|
Posted by Jason Lowder on February 24, 2008, 11:42 am
Please log in for more thread options Thank you, but the same error exists.
I removed the Curses package altogether and ran the following:
C:\Perl\bin>ppm install http://www.bribes.org/perl/ppm/Curses.ppd
Downloading Curses-1.20...done
Unpacking Curses-1.20...done
Generating HTML for Curses-1.20...done
Installing to site area...done
6 files unchanged
C:\Perl\bin>ppm install
http://www.bribes.org/perl/ppm/Curses-Widgets.ppd
Downloading Curses-Widgets-1.997...done
Unpacking Curses-Widgets-1.997...done
Generating HTML for Curses-Widgets-1.997...done
Installing to site area...done
13 files installed
13 files unchanged
So far so good. The context checker seems to now like both the main and
widgets modules. I then execute my script and receive the following:
Can't locate object method "ComboBox" via package "Curses::Widgets" at
C:\OpenPerlIDE\PerlScripts\Repository.pl line 37.
$cb = $frame1->Curses::Widgets::ComboBox->new({
The line of failure is above ^. This is the same error as before.
I then downloaded the demo script you provided a link to. On two
different machines it fails. Depending on the editor I run from, I
either receive a crash in the Perl Command Line Interpreter, or when
using Komodo Edit, I receive a return error code of -1073741819.
Running directly from the command line just returns immediately.
I am running this on Windows.
Any other suggestions? Or for that matter is there another module I can
use for a drop-down list box?
Thank again,
Jason
Jean-Louis MOREL wrote:
> jlowder@austin.removeme.rr.com a dit...
>> Now my Widgets module can't seem to find any of it components. When
>> typing out "use Curses::Widgets::" my IDE (Komodo Edit) shows me all the
>> various widget options, yet when I select one I receive an error.
>>
>> This is what I see when trying to run my script with the example
>> combobox widget code.
>>
>> Can't locate object method "ComboBox" via package "Curses::Widgets" at
>> C:\OpenPerlIDE\PerlScripts\Repository.pl line 37.
>>
>> Is there something else I need to do in order to fully configure the
>> widgets modules? I've been looking online but can't find any
>> instructions on what to do. There doesn't appear to be a .ppd file for
>> the Widgets component.
>>
>
> I added the module Curses::Widgets in my repository.
> To install it:
>
> ppm install http://www.bribes.org/perl/ppm/Curses-Widgets.ppd
>
> The test script (seems to work fine):
>
> http://www.bribes.org/perl/CursesWidgetsDemo.zip
>
> HTH
>
|