googleads / googleads-perl-lib

AdWords API Perl Client Library
Apache License 2.0
5 stars 19 forks source link

Version 4.0.0: Undefined subroutine &Class::Load::is_class_loaded #12

Closed sundquist closed 9 years ago

sundquist commented 9 years ago

I just migrated over to v201506 and my application dose not work.

A warning message encountered was "Undefined subroutine &Class::Load::is_class_loaded called at APP_TOP/lib/perl5/Google/Ads/SOAP/Typelib/ComplexType.pm line 87."(line of following url.) https://github.com/googleads/googleads-perl-lib/blob/master/lib/Google/Ads/SOAP/Typelib/ComplexType.pm#L86

when commenting out this line(ComplexType.pm line 87), my app work well.

In my application, line which occurs the above message is "use Google::Ads::AdWords::v201506::OrderBy;" .

How do I solve this problem?

My development environment is following.

Development environment

$ uname -a Linux clweb321v 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux

$ cat /etc/redhat-release CentOS release 5.3 (Final)

$ perl -v

This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linux

Copyright 1987-2011, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.

I use Carton as dependency manager. And I issued following command to update API Version. $ carton install Google::Ads::AdWords::Client $ cat cpanfile | grep "Google::Ads::AdWords" cpanfile requires 'Google::Ads::AdWords::Client' => '== 4.0.1';

sundquist commented 9 years ago

Hello Perl client library users,

This issue was introduced with version 4.0.0 of the library and affects certain environments. I'm looking into it.

Best, Nadine, AdWords API Team

sundquist commented 9 years ago

Hello Perl client library users,

This issue was fixed with version 4.1.0.

Cheers, Nadine, AdWords API Team