Skip Menu |

This queue is for tickets about the MooseX-ClassAttribute CPAN distribution.

Report information
The Basics
Id: 78905
Status: resolved
Priority: 0/
Queue: MooseX-ClassAttribute

People
Owner: Nobody in particular
Requestors: piemas25 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't locate object method "add_class_attribute" via package "Class::MOP::Class"
Date: Sat, 11 Aug 2012 11:44:53 +0100
To: bug-moosex-classattribute [...] rt.cpan.org
From: pierre masci <piemas25 [...] gmail.com>
Hi, i'm trying to run MooseX::ClassAttribute (version 0.26) on Windows (is this the problem?), i installed Class::MOP::Class after getting this error message, but it didn't change anything. The error is at line 39 in MooseX/ClassAttribute I repeat the error (written in the title of this message) : Can't locate object method "add_class_attribute" via package "Class::MOP::Class" Have a nice day =o)
On Sat Aug 11 06:45:06 2012, piemas25@gmail.com wrote: Show quoted text
> Hi, i'm trying to run MooseX::ClassAttribute (version 0.26) on Windows
(is Show quoted text
> this the problem?), > i installed Class::MOP::Class after getting this error message, but it > didn't change anything. > > The error is at line 39 in MooseX/ClassAttribute > I repeat the error (written in the title of this message) : > Can't locate object method "add_class_attribute" via package > "Class::MOP::Class" > > Have a nice day =o)
Is this a test failure or a problem with your code. It's really hard to figure out what's going on without some code to look at.
Try reversing the `use` declarations for Moose::Role and MooseX::ClassAttribute. -- Evan Carroll System Lord of the Internets http://www.evancarroll.com
From: mascip [...] gmail.com
Thank you for your help. I forgot to send a code snippet at the time, sorry. Since then i have abandoned this particular project, and re- installed gcc and Perl (now Cygwin instead of Strawberry). I can now use MooseX::ClassAttribute without any problem. Sorry for not being able to reproduce the situation, i guess you can close this ticket.