Re: missing info when a module is not found
[email protected] (Marcel Timmerman) Thu, 17 Oct 2019 14:55:46 +0200
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
Hi Vadim, I've opened an issue #3238 for this Regards, Marcel > Hi Marcel, > > Could you, please, open a ticket on github about this? Meanwhile, `perl6 --ll-exception` could possibly provide you with more details. > > Best regards, > Vadim Belman > >> On Oct 16, 2019, at 1:15 PM, Marcel Timmerman <[email protected]> wrote: >> >> Hi, >> >> I've seen a LTA error message when some module is not found. It only presents a line number but not the source file where it is 'use'd. >> >> E.g. >> >> running a perl program >> >> ===SORRY!=== >> Could not find Gnome::Gtk3::ImageMenuItem at line 18 in: >> file#/home/marcel/Languages/Perl6/Projects/mongo-perl6-driver/lib >> file#/home/marcel/Languages/Perl6/Projects/gtk-v3/lib >> file#/home/marcel/Languages/Perl6/Projects/gtk-glade/lib >> file#/home/marcel/Languages/Perl6/Projects/Library/lib >> inst#/home/marcel/.perl6 >> inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/site >> inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/vendor >> inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/core >> ap# >> nqp# >> perl5# >> >> The project I'm working on is somewhat large and consists of many files. Grep didn't do it for me and also the search in the atom editor did not help me out. What the possible cause could be is a `require ::($x)` somewhere, where this name is not visible, so I'd rather see a module/program name along with the line number. >> >> Regards, >> Marcel Timmerman >>