Re: missing info when a module is not found

[email protected] (Vadim Belman) Wed, 16 Oct 2019 13:40:00 -0400
Newsgroups perl.perl6.compiler
Message-ID <[email protected]>
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:
>=20
> Hi,
>=20
> 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.
>=20
> E.g.
>=20
> running a perl program
>=20
> =3D=3D=3DSORRY!=3D=3D=3D
> 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#
>=20
> 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.
>=20
> Regards,
> Marcel Timmerman
>=20