Mojolicious with DBIx - DBIx::Schema::Loader Issues

97 views
Skip to first unread message

satish MP

unread,
Aug 4, 2014, 4:06:01 AM8/4/14
to mojol...@googlegroups.com
Hello All,

I am working on a small demo application to showcase the Mojolicious framework with DBIx::Class- Strength of Perl in my company.
I have created required schema. I am trying to use DBIx::Schema::Loader and create to create the required schema classes automatically.
I have reffered https://github.com/tempire/MojoExample example. I am trying to run this https://github.com/tempire/MojoExample/blob/master/script/generate_schema locally, I get  the following error:

Bizarre copy of UNKNOWN in scalar assignment at C:/Dwimperl/perl/site/lib/DBIx/Class/Schema/Loader/Base.pm line 1059.

Perl.exe stops working, and the application exits (using morbo).

Please let me know if you have any suggestions/hints.

Thanks,

Satish

Daniel Vinciguerra

unread,
Aug 4, 2014, 7:44:58 AM8/4/14
to mojolicious
Hi buddy,

Here it works fine on my machine... it's an Ubuntu 14.04 SO! But I don't know about running it on Windows or if needs something or have some restriction (bug, etc..)

Do the reverse thing and use dbicdump command-line tool to try generate classes from a database to test the DBIC.

Best,



Daniel Vinciguerra (@dvinciguerra)

Web solution architect, perl dev, vegetarian, geek and co-founder at Bivee
bivee.com.br  -  github.com/Bivee


--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Satish

unread,
Aug 4, 2014, 10:48:19 AM8/4/14
to mojol...@googlegroups.com
Hello All,

Thanks for the response!!!

The issue got resolved after installing different Perl version 18 (64 bit). Then Installed the DBIx::Schema::Loader once again.
Earlier I had 5.14 version. Now I am not getting that error.

Regards,
Satish


--
You received this message because you are subscribed to a topic in the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mojolicious/Q-gJpilsGTA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.

To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.



--
Regards,

Satish

"Live with Love and Humanity"

Daniel Vinciguerra

unread,
Aug 4, 2014, 11:20:29 AM8/4/14
to mojolicious
No! Thank YOU for the feedback! ;-)

Best,


Daniel Vinciguerra (@dvinciguerra)

Web solution architect, perl dev, vegetarian, geek and co-founder at Bivee
bivee.com.br  -  github.com/Bivee


Reply all
Reply to author
Forward
0 new messages