Can't call method warn for RT-Extension-Assets-Import-CSV

Hello,

I’m experiencing some issues trying to import items into RT Assets. I have:
RT 4.2.11
RT::Extension::Assets 1.05
RT::Extension::Assets::Import::CSV 1.4

I get an error:
Can’t call method “warn” on an undefined value at /var/home/uwb/libraryrt.uwb.edu/rt/lib/RT.pm line 954.

I’m wondering if anyone else has seen this or has any quick fixes for it. I have done testing with the data I’m important and that doesn’t see to fix it.
I have run -debug but get same error.

Even though I would like to use the import I don’t have to today, but If I don’t at least start this conversation now, then I will be several days later before I do.

If there is a better place to send this like a bug reporting page, feel free to let me know that as well.

Thanks,

Armin

Armin Liedtke
Senior Computer Specialist
UWB-CC Campus Library
armhamer@uw.edumailto:armhamer@uw.edu
425-352-5428

I’m also seeing this message after some upgrades today.

I upgraded:
RT 4.2.6 -> 4.2.11
RT::Extension::Assets 1.0.2 => 1.05
RT::Extension::Assets::Import::CSV 1.3 (did not upgrade)

I have my log level set to critical and since this function looks to be for troubleshooting deprecations with log level warn, I commented it out for now and the imports proceed as normal.

Aaron> On Jun 22, 2015, at 2:12 PM, Armin Liedtke armhamer@uw.edu wrote:

Hello,

I’m experiencing some issues trying to import items into RT Assets. I have:
RT 4.2.11
RT::Extension::Assets 1.05
RT::Extension::Assets::Import::CSV 1.4

I get an error:
Can’t call method “warn” on an undefined value at /var/home/uwb/libraryrt.uwb.edu/rt/lib/RT.pm http://libraryrt.uwb.edu/rt/lib/RT.pm line 954.

I’m wondering if anyone else has seen this or has any quick fixes for it. I have done testing with the data I’m important and that doesn’t see to fix it.
I have run –debug but get same error.

Even though I would like to use the import I don’t have to today, but If I don’t at least start this conversation now, then I will be several days later before I do.

If there is a better place to send this like a bug reporting page, feel free to let me know that as well.

Thanks,

Armin

Armin Liedtke
Senior Computer Specialist
UWB-CC Campus Library
armhamer@uw.edu mailto:armhamer@uw.edu
425-352-5428

Just to double check, you commented out line 954, or something else?
Thanks,

ArminFrom: Aaron McCormack [mailto:aaron@backblaze.com]
Sent: Monday, June 22, 2015 4:58 PM
To: Armin Liedtke
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t call method warn for RT-Extension-Assets-Import-CSV

I’m also seeing this message after some upgrades today.

I upgraded:
RT 4.2.6 -> 4.2.11
RT::Extension::Assets 1.0.2 => 1.05
RT::Extension::Assets::Import::CSV 1.3 (did not upgrade)

I have my log level set to critical and since this function looks to be for troubleshooting deprecations with log level warn, I commented it out for now and the imports proceed as normal.

Aaron

Sorry I wasn’t clear…

Yes, just the logging on line 954 so that it reads:

#RT->Logger->$loglevel($msg);

This isn’t a proper solution, but is working for me temporarily.

Aaron> On Jun 23, 2015, at 8:36 AM, Armin Liedtke armhamer@uw.edu wrote:

Just to double check, you commented out line 954, or something else?
Thanks,

Armin

From: Aaron McCormack [mailto:aaron@backblaze.com]
Sent: Monday, June 22, 2015 4:58 PM
To: Armin Liedtke
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t call method warn for RT-Extension-Assets-Import-CSV

I’m also seeing this message after some upgrades today.

I upgraded:
RT 4.2.6 -> 4.2.11
RT::Extension::Assets 1.0.2 => 1.05
RT::Extension::Assets::Import::CSV 1.3 (did not upgrade)

I have my log level set to critical and since this function looks to be for troubleshooting deprecations with log level warn, I commented it out for now and the imports proceed as normal.

Aaron

On Jun 22, 2015, at 2:12 PM, Armin Liedtke <armhamer@uw.edu mailto:armhamer@uw.edu> wrote:

Hello,

I’m experiencing some issues trying to import items into RT Assets. I have:
RT 4.2.11
RT::Extension::Assets 1.05
RT::Extension::Assets::Import::CSV 1.4

I get an error:
Can’t call method “warn” on an undefined value at /var/home/uwb/libraryrt.uwb.edu/rt/lib/RT.pm http://libraryrt.uwb.edu/rt/lib/RT.pm line 954.

I’m wondering if anyone else has seen this or has any quick fixes for it. I have done testing with the data I’m important and that doesn’t see to fix it.
I have run –debug but get same error.

Even though I would like to use the import I don’t have to today, but If I don’t at least start this conversation now, then I will be several days later before I do.

If there is a better place to send this like a bug reporting page, feel free to let me know that as well.

Thanks,

Armin

Armin Liedtke
Senior Computer Specialist
UWB-CC Campus Library
armhamer@uw.edu mailto:armhamer@uw.edu
425-352-5428