Re: [Catalyst] no such table: book - catalyst tutorial Chapter03

2014-04-29 Thread Dimitar Petrov
Did you delete your .db (sqlite db file) by accident? What happens if you try manually: $ sqlite3 myapp.db $ select * from books; Best, Dimitar On Tue, Apr 29, 2014 at 11:39 AM, mi ja wrote: > While learning from catalysts tutorial I got this massage in > Chapter03(code from tutorial not min

[Catalyst] no such table: book - catalyst tutorial Chapter03

2014-04-29 Thread mi ja
While learning from catalysts tutorial I got this massage in Chapter03(code from tutorial not mine) DBIx::Class::ResultSet::all(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: book [for Statement "SELECT me.id, me.title, me.rating FROM book me"] at /home/mike/Documents

Re: [Catalyst] Tutorial (in VMware) keeps losing ability to authenticate

2013-03-04 Thread Tomas Doran
On 2 Mar 2013, at 14:54, Dan Lowe wrote: > Thanks for suggestions, everyone. This does seem to be what's happening > (despite the fact that the VM is running ntpd). Even quite a while after > un-sleeping the computer, the VM continues to have an incorrect date, so ntpd > doesn't seem to be do

Re: [Catalyst] Tutorial (in VMware) keeps losing ability to authenticate

2013-03-02 Thread Dan Lowe
On Feb 21, 2013, at 8:32 PM, Tomas Doran wrote: > I'd guess the time in your VM is going crazy? (I.e. not getting updated).. > > Cookies (etc) are based on real time stamps - so if your VM gets very > confused about the time, logins will stop working… > > Can you try just running 'date' insid

Re: [Catalyst] Tutorial (in VMware) keeps losing ability to authenticate

2013-02-21 Thread Tomas Doran
osing sync and an > IE cookies clash. > > Check the clock on your VM is accurate - worth a go :) > > Ben > > > On 30 January 2013 21:10, Dan Lowe wrote: > I have been doing the Catalyst tutorial, at > > https://metacpan.org/module/Catalyst::Manual::Tutorial >

Re: [Catalyst] Tutorial (in VMware) keeps losing ability toauthenticate

2013-02-14 Thread Ben Vinnerd
> Regards, > Nicolas > -- > De : Ben Vinnerd > Envoyé : 14/02/2013 11:00 > À : The elegant MVC web framework > Objet : Re: [Catalyst] Tutorial (in VMware) keeps losing ability > toauthenticate > > > I seem to recall have authentication problems w

RE: [Catalyst] Tutorial (in VMware) keeps losing ability toauthenticate

2013-02-14 Thread Nicolas Vs
Install an ntp server on your host/vm and start it with its default configuration. Regards, Nicolas -Message d'origine- De : Ben Vinnerd Envoyé : 14/02/2013 11:00 À : The elegant MVC web framework Objet : Re: [Catalyst] Tutorial (in VMware) keeps losing ability toauthenticate I se

Re: [Catalyst] Tutorial (in VMware) keeps losing ability to authenticate

2013-02-14 Thread Ben Vinnerd
, Dan Lowe wrote: > I have been doing the Catalyst tutorial, at > > https://metacpan.org/module/Catalyst::Manual::Tutorial > > I am using the VMware virtual machine, as recommended. This is running in > VMware Fusion 5 Pro on a Mac. Overall it works perfectly fine, except that >

[Catalyst] Tutorial (in VMware) keeps losing ability to authenticate

2013-01-30 Thread Dan Lowe
I have been doing the Catalyst tutorial, at https://metacpan.org/module/Catalyst::Manual::Tutorial I am using the VMware virtual machine, as recommended. This is running in VMware Fusion 5 Pro on a Mac. Overall it works perfectly fine, except that periodically, I lose the ability to

Re: [Catalyst] Tutorial Woes on OS X

2011-09-23 Thread Tom Keller
or me. >> >> On Sep 22, 2011, at 12:58 PM, Bill Birkett wrote: >> >>> Hello- >>> >>> I'm trying to run the Catalyst Tutorial on OS X. I installed >>> VirtualBox and the tutorial according to the instructions on the >>> shadowc

Re: [Catalyst] Tutorial Woes on OS X

2011-09-23 Thread Bill Birkett
I installed a working copy of Perl with perlbrew, cpan'd the tutorial modules and svn'd the tutorial test files. Two hours and one missing module later, success. Thanks for suggesting perlbrew. Sounds like a good solution. The tutorial VM is strongly recommended in the tutorial documentatio

Re: [Catalyst] Tutorial Woes on OS X

2011-09-22 Thread Bill Birkett
Thanks for suggesting perlbrew. Sounds like a good solution. The tutorial VM is strongly recommended in the tutorial documentation, which is why I went down that path. Why do you need to install in a VM? Why not just install for OSX? You probably want your own perl (not system's perl) but

Re: [Catalyst] Tutorial Woes on OS X

2011-09-22 Thread Bill Birkett
What version of Parallels are you running? I was unable to migrate the VM using Build 5.0.9376. Parallels ... works for me. On Sep 22, 2011, at 12:58 PM, Bill Birkett wrote: Hello- I'm trying to run the Catalyst Tutorial on OS X. I installed VirtualBox and the tutorial according t

Re: [Catalyst] Tutorial Woes on OS X

2011-09-22 Thread Charlie Garrison
Good morning, On 22/09/11 at 3:58 PM -0400, Bill Birkett wrote: I'm trying to run the Catalyst Tutorial on OS X. I installed VirtualBox and the tutorial according to the instructions on the shadowcat website. Everything seems to work, except there is no network connection, only the

Re: [Catalyst] Tutorial Woes on OS X

2011-09-22 Thread Tom Keller
Parallels ... works for me. On Sep 22, 2011, at 12:58 PM, Bill Birkett wrote: > Hello- > > I'm trying to run the Catalyst Tutorial on OS X. I installed > VirtualBox and the tutorial according to the instructions on the > shadowcat website. Everything seems to work

[Catalyst] Tutorial Woes on OS X

2011-09-22 Thread Bill Birkett
Hello- I'm trying to run the Catalyst Tutorial on OS X. I installed VirtualBox and the tutorial according to the instructions on the shadowcat website. Everything seems to work, except there is no network connection, only the local loopback, lo 127.0.0.1. Then I installed a Debian VM

[Catalyst] tutorial::03 problem

2011-09-09 Thread Tom Keller
Greetings, I can't seem to get the authors form the books list in the Catalyst::Manual::Tutorial [% tt_authors = [ ]; tt_authors.push(author.last_name) FOREACH author = book.authors %] ([% tt_authors.size | html %]) [% tt_authors.join(', ') | html %] the schema for the SQLite database is sq

Re: [Catalyst] Tutorial woes.

2011-08-11 Thread Roderick A. Anderson
Darius Jokilehto wrote: On 11/08/11 00:06, Roderick A. Anderson wrote: I can't find where my error is while doing the tutorial. [snip] Here are the results of a recursive grep starting at MyApp looking for role_id. lib/MyApp/Schema/Result/User.pm:110:__PACKAGE__->many_to_many(roles => 'u

Re: [Catalyst] Tutorial woes.

2011-08-11 Thread Roderick A. Anderson
Darius Jokilehto wrote: On 11/08/11 00:06, Roderick A. Anderson wrote: I can't find where my error is while doing the tutorial. [snip] Here are the results of a recursive grep starting at MyApp looking for role_id. lib/MyApp/Schema/Result/User.pm:110:__PACKAGE__->many_to_many(roles => 'u

Re: [Catalyst] Tutorial woes.

2011-08-11 Thread Darius Jokilehto
On 11/08/11 00:06, Roderick A. Anderson wrote: I can't find where my error is while doing the tutorial. [snip] Here are the results of a recursive grep starting at MyApp looking for role_id. lib/MyApp/Schema/Result/User.pm:110:__PACKAGE__->many_to_many(roles => 'user_roles', 'role_id');

Re: [Catalyst] Tutorial woes.

2011-08-10 Thread Kieren Diment
On 11/08/2011, at 12:20 PM, John Napiorkowski wrote: > From: Roderick A. Anderson >> To: The elegant MVC web framework >> Sent: Wednesday, August 10, 2011 7:06 PM >> Subject: [Catalyst] Tutorial woes. >> >> I can't find where my error is while doing the

Re: [Catalyst] Tutorial woes.

2011-08-10 Thread John Napiorkowski
From: Roderick A. Anderson >To: The elegant MVC web framework >Sent: Wednesday, August 10, 2011 7:06 PM >Subject: [Catalyst] Tutorial woes. > >I can't find where my error is while doing the tutorial. > >I make it all the way to end of 06 Authorization and suddenly I

[Catalyst] Tutorial woes.

2011-08-10 Thread Roderick A. Anderson
I can't find where my error is while doing the tutorial. I make it all the way to end of 06 Authorization and suddenly I get errors starting with: Couldn't render template "books/list.tt2: undef error - search_related: result source 'UserRole' has no such relationship role_id at /usr/lib/per

Re: [Catalyst] Tutorial : Schema Generator

2010-08-10 Thread Mark A. Stratman
On Aug 2, 2010, at 5:39 PM, Greg Zapp wrote: > I keep having to manually change 'role_id' and 'user_id' to 'role' and > 'user'. My data base is MySQL and I have the foreign keys setup in the > UserRole table. Why is this happening? It happens for the BookAuthor as > well, and it causes che

[Catalyst] Tutorial : Schema Generator

2010-08-02 Thread Greg Zapp
Hey guys! I'm working my way through the tutorial chapters and I keep running on this issue. Here is some output from the static schema loader: __PACKAGE__->set_primary_key("user_id", "role_id"); __PACKAGE__->belongs_to("role_id", "MyApp::Schema::Result::Role", { id => "role_id" }); __PACKAGE__-

[Catalyst] SproutCore and Catalyst tutorial

2010-07-03 Thread Pavel A. Karoukin
Hello, Just posted small tutorial on how to create backend for SproutCore frontend. Any comments are welcome! If someone have something to add to posted code - I really want to know it and make this tutorial better and easier to grab. Want to spread a word a bit more about this wonderful framework

[Catalyst] Tutorial work atten hkclark

2010-01-25 Thread xenoterrac...@gmail.com
I've been evicted from my home, and am unable to access the internet on anything but this sad little phone. I'm unsure how long it will take me to acquire access, as my rural conditions makes my options limited. So for now i won't be able to continue the work on the tutorial, and if

Re: [Catalyst] Catalyst tutorial

2009-07-19 Thread Moritz Onken
Am 19.07.2009 um 13:28 schrieb Octavian Râşniţă: In Catalyst::Manual::Tutorial::04_BasicCRUD.pod I read that we need to specify the ResultSet classes we want to use with: __PACKAGE__->resultset_class('MyApp::Schema::ResultSet::Book'); I've seen that it works even without it. Is this line re

[Catalyst] Catalyst tutorial

2009-07-19 Thread Octavian Râşniţă
In Catalyst::Manual::Tutorial::04_BasicCRUD.pod I read that we need to specify the ResultSet classes we want to use with: __PACKAGE__->resultset_class('MyApp::Schema::ResultSet::Book'); I've seen that it works even without it. Is this line really needed? Octavian

Re: [Catalyst] Tutorial for cache?

2009-04-23 Thread Octavian Râsnita
From: "Jonathan Rockway" * On Thu, Apr 16 2009, Peter Karman wrote: I had the same experience and just switched to the File cache plugin instead. Are you storing big things, i.e. pieces of data bigger than the cache "pages"? If so, fastmmap will silently not store those pieces of data. In g

Re: [Catalyst] Tutorial for cache?

2009-04-23 Thread Jonathan Rockway
* On Thu, Apr 16 2009, Peter Karman wrote: > I had the same experience and just switched to the File cache plugin > instead. Are you storing big things, i.e. pieces of data bigger than the cache "pages"? If so, fastmmap will silently not store those pieces of data. In general, I find it very fla

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Peter Karman
Alexander Tamm wrote on 04/16/2009 01:32 AM: > Tomas Doran wrote: > >> Take a look at Catalyst::Plugin::Cache. The docs are a bit crap >> (patches welcome!), but it'll do what you want, and has nice features >> to give you curried accessors for things etc.. > > Well, that's just it... I've read t

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Tomas Doran
On 16 Apr 2009, at 08:54, Graeme Lawton wrote: Also Catalyst::Plugin::Cache::Store::FastMmap is now deprecated as you can use it without store, and should see a slight performance improvement. Erm, the configuration which was shown doesn't use C::P::Cache::Store::FastMMap. Also, I guess i

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Graeme Lawton
Also Catalyst::Plugin::Cache::Store::FastMmap is now deprecated as you can use it without store, and should see a slight performance improvement. Graeme 2009/4/16 Tomas Doran : > > On 16 Apr 2009, at 07:32, Alexander Tamm wrote: > >> Tomas Doran wrote: >> >>> Take a look at Catalyst::Plugin::Cac

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Tomas Doran
On 16 Apr 2009, at 07:32, Alexander Tamm wrote: Tomas Doran wrote: Take a look at Catalyst::Plugin::Cache. The docs are a bit crap (patches welcome!), but it'll do what you want, and has nice features to give you curried accessors for things etc.. Well, that's just it... I've read the do

Re: [Catalyst] Tutorial for cache?

2009-04-15 Thread Alexander Tamm
Tomas Doran wrote: Take a look at Catalyst::Plugin::Cache. The docs are a bit crap (patches welcome!), but it'll do what you want, and has nice features to give you curried accessors for things etc.. Well, that's just it... I've read the docs and tried to configure it, but I never get a cach

Fwd: [Catalyst] Tutorial for cache?

2009-04-15 Thread Peter Edwards
2009/4/15 Tomas Doran > > On 15 Apr 2009, at 07:23, Alexander Tamm wrote: > >> J. Shirley wrote: >> >>>I'm trying to find out how to implement caching on a site, >>>preferrably with Cache::FastMmap, but I'm open to suggestions. I'm >>>not including my trial source now, since I'm unsure

Re: [Catalyst] Tutorial for cache?

2009-04-15 Thread Tomas Doran
On 15 Apr 2009, at 07:23, Alexander Tamm wrote: J. Shirley wrote: I'm trying to find out how to implement caching on a site, preferrably with Cache::FastMmap, but I'm open to suggestions. I'm not including my trial source now, since I'm unsure I have read the correct docum

Re: [Catalyst] Tutorial for cache?

2009-04-15 Thread Oliver Charles
On Wed, Apr 15, 2009 at 7:25 AM, Alexander Tamm wrote: > Thanks, but I should have specified that I want to cache values in the > application itself. I already have an implementation for controlling the > browsers cache. This is less of a Catalyst question then I guess? You could make use of cach

Re: [Catalyst] Tutorial for cache?

2009-04-14 Thread Alexander Tamm
J. Shirley wrote: I'm trying to find out how to implement caching on a site, preferrably with Cache::FastMmap, but I'm open to suggestions. I'm not including my trial source now, since I'm unsure I have read the correct documentation. Catalyst::Plugin::PageCache? Thanks, but

Re: [Catalyst] Tutorial for cache?

2009-04-14 Thread Alexander Tamm
Oliver Charles wrote: On Tue, Apr 14, 2009 at 5:11 PM, Alexander Tamm wrote: Hi, I'm trying to find out how to implement caching on a site This has been covered quite a bit in the Catalyst advent calendar articles, maybe these will help: http://catalyst.perl.org/calendar/2007/11 http://www.

Re: [Catalyst] Tutorial for cache?

2009-04-14 Thread Oliver Charles
On Tue, Apr 14, 2009 at 5:11 PM, Alexander Tamm wrote: > Hi, > > I'm trying to find out how to implement caching on a site This has been covered quite a bit in the Catalyst advent calendar articles, maybe these will help: http://catalyst.perl.org/calendar/2007/11 http://www.catalystframework.org

Re: [Catalyst] Tutorial for cache?

2009-04-14 Thread J. Shirley
On Wed, Apr 15, 2009 at 1:11 AM, Alexander Tamm wrote: > Hi, > > I'm trying to find out how to implement caching on a site, preferrably with > Cache::FastMmap, but I'm open to suggestions. I'm not including my trial > source now, since I'm unsure I have read the correct documentation. > > Alex >

[Catalyst] Tutorial for cache?

2009-04-14 Thread Alexander Tamm
Hi, I'm trying to find out how to implement caching on a site, preferrably with Cache::FastMmap, but I'm open to suggestions. I'm not including my trial source now, since I'm unsure I have read the correct documentation. Alex -- Alexander Tamm Developer FRANTIC | http://www.frantic.com a..

Re: [Catalyst] No targets specified for Task::Catalyst::Tutorial

2009-01-02 Thread Ascii King
I see this is already a known bug. Sorry. Ascii King wrote: > > When running the commands: > > cpan Task::Catalyst::Tutorial > or > sudo perl -MCPAN -e 'install Task::Catalyst::Tutorial' > > it asks me if I want to install the dependencies. I select yes and

[Catalyst] No targets specified for Task::Catalyst::Tutorial

2009-01-02 Thread Ascii King
When running the commands: cpan Task::Catalyst::Tutorial or sudo perl -MCPAN -e 'install Task::Catalyst::Tutorial' it asks me if I want to install the dependencies. I select yes and then I get the following error. ==> Auto-install the 9 mandatory module(s) from CPAN? [y] ***

Re: [Catalyst] Tutorial

2008-05-05 Thread Matt S Trout
On Thu, May 01, 2008 at 11:17:33AM -0700, gaurav001 wrote: > > Hello gurus, > I am newb for Catalyst so forgive me if I ask stupid questions. > I have Rockway's book. I followed it. All went good so far (ignore > FormBuilder stuff ). Now i want to customize application. Lets say > FormBuilder.rend

Re: [Catalyst] Tutorial

2008-05-04 Thread Alejandro Imass
IMHO we should all be thinking of outputting UIML or XUL from TT and push a lot more work to the client, letting your server REST a lot ;-) On Fri, May 2, 2008 at 6:09 PM, Ali M. <[EMAIL PROTECTED]> wrote: > Considere reading the mailist thread about the possibilities for a new book > here is the

Re: [Catalyst] Tutorial

2008-05-01 Thread Ali M.
Considere reading the mailist thread about the possibilities for a new book here is the link http://www.gossamer-threads.com/lists/catalyst/users/18157 it will give you a better idea about the state of catalyst documentation and how to find answer Good luck On Thu, May 1, 2008 at 9:17 PM, gaura

[Catalyst] Tutorial

2008-05-01 Thread gaurav001
Hello gurus, I am newb for Catalyst so forgive me if I ask stupid questions. I have Rockway's book. I followed it. All went good so far (ignore FormBuilder stuff ). Now i want to customize application. Lets say FormBuilder.render gives me submit button automatically (no idea how). But what if I wa

Re: [Catalyst] Tutorial update (was: -next- book)

2008-04-29 Thread Kieren Diment
On 30 Apr 2008, at 07:43, Aaron Brown wrote: Marcus Ramberg wrote: We have a bunch of library documentation, manuals and tutorials for Catalyst tho (which we are very happy to accept new contributors to :) Speaking of which... I'm a new Catalyst user, or at least I've been trying, so I

[Catalyst] Tutorial update (was: -next- book)

2008-04-29 Thread Aaron Brown
Marcus Ramberg wrote: We have a bunch of library documentation, manuals and tutorials for Catalyst tho (which we are very happy to accept new contributors to :) Speaking of which... I'm a new Catalyst user, or at least I've been trying, so I naturally worked through the online tutorial to wr

[Catalyst] catalyst tutorial sample question about authorization

2008-04-02 Thread Albert Lee
I'm reading the tutorial chapter 5 : Authorization I add some like this : [% IF Catalyst.check_user_roles('user') %] Logout [% END %] [% IF Catalyst.check_user_roles('admin') %] Create [% END %] and then login in a user who has "user" role but no "admin" role, it shows some error on browse