Closed Bug 645722 Opened 13 years ago Closed 13 years ago

Whining clobbers cron mail with Moose warnings

Categories

(Bugzilla :: Whining, defect)

4.1.1
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: Wurblzap, Unassigned)

Details

Every fifteen minutes, whine.pl notifies the cron owner with the following message:
---------------------------------------------------------------------------
Name "Class::MOP::load_first_existing_class" used only once: possible typo at /usr/local/share/perl/5.10.1/Any/Moose.pm line 194.
Name "Class::MOP::class_of" used only once: possible typo at /usr/local/share/perl/5.10.1/Any/Moose.pm line 194.
---------------------------------------------------------------------------
Okay. Could you tell me the version of Class::MOP, Any::Moose, Moose, and Mouse that you have installed? Also, why is your whine.pl using Moose instead of Mouse? There's no code inside of whine.pl that would load Moose (which is what is required for Any::Moose to switch to Moose).
The following information is from the .pm files. I hope that's the right source.
Class::MOP v0.63
Any::Moose v0.13
Moose      v0.54

I don't seem to have Mouse installed. (There is no Mouse.pm in any @INC dir.)
Ah, okay, that explains that. Somehow you managed to install Any::Moose without installing Mouse, even though Mouse is required, AFAIK. Also, your Moose is very old. Either installing Mouse or updating Moose will resolve your problem. (Normal installations won't experience this since Any::Moose requires Mouse.) It should also speed up your Bugzilla quite a bit if you're running in mod_cgi.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Target Milestone: Bugzilla 4.2 → ---
All right, thanks. Installing Mouse did the trick. Moose doesn't appear to depend on it, though. Maybe we need to require Mouse?
Status: RESOLVED → VERIFIED
(In reply to comment #4)
> All right, thanks. Installing Mouse did the trick. Moose doesn't appear to
> depend on it, though. Maybe we need to require Mouse?

  It's Any::Moose that depends on it, not Moose.
You need to log in before you can comment on or make changes to this bug.