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
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
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
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
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
>
> 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
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
, 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
>
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
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
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
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
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
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
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
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
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
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
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
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');
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
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
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
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
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__-
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
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
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
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
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
* 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
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
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
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
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
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
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
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
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
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
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.
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
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
>
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..
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
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]
***
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
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
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
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
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
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
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
53 matches
Mail list logo