Skip Menu |
 

This queue is for tickets about the Cache-Cache CPAN distribution.

Report information
The Basics
Id: 72240
Status: resolved
Priority: 0/
Queue: Cache-Cache

People
Owner: Nobody in particular
Requestors: feratilbeau [...] hotmail.com
Cc:
AdminCc:

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



MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 365
Download (untitled) / with headers
text/plain 365b
In Cache::FileBackend, mkpath can throw a fatal exception in sub _Create_Directory, e.g.: mkpath( $directory, 0, $DIRECTORY_MODE ); may croak. Since the existence of the directory is tested just after: -d $directory or throw Error::Simple( "Couldn't create directory: $directory: $!" ); may it do an eval {} around mkpath please? Regards, Jean-Damien.
From swartz [...] pobox.com Mon Nov 7 11: 38:34 2011
MIME-Version: 1.0 (Apple Message framework v1084)
X-Spam-Status: No, score=-5.166 tagged_above=-99.9 required=10 tests=[AWL=0.955, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2598-1320659896-1434.72240-4-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1084)
X-Spam-Flag: NO
References: <RT-Ticket-72240 [...] rt.cpan.org> <rt-3.8.HEAD-2598-1320659896-1434.72240-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: text/plain; charset="utf-8"
Message-ID: <F8D4CF54-74B0-4F1A-B4D7-1A966C5FD88E [...] pobox.com>
X-Sasl-Enc: kGByg6ShEwovQJlKNWv21QaTbCWUf60l+/EvBwApg7bZ 1320683905
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.166
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] messagingengine.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2D3DD240D3C for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 11:38:34 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yKq+-GurIcuw for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 11:38:32 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 13D39240BF1 for <bug-Cache-Cache [...] rt.cpan.org>; Mon, 7 Nov 2011 11:38:31 -0500 (EST)
Received: (qmail 5946 invoked by uid 103); 7 Nov 2011 16:38:31 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 7 Nov 2011 16:38:31 -0000
Received: from out3.smtp.messagingengine.com (HELO out3.smtp.messagingengine.com) (66.111.4.27) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Mon, 07 Nov 2011 08:38:28 -0800
Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id BB24D20A78 for <bug-Cache-Cache [...] rt.cpan.org>; Mon, 7 Nov 2011 11:38:25 -0500 (EST)
Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 07 Nov 2011 11:38:25 -0500
Received: from [10.1.10.110] (c-98-248-195-203.hsd1.ca.comcast.net [98.248.195.203]) by mail.messagingengine.com (Postfix) with ESMTPSA id 60C7348339E for <bug-Cache-Cache [...] rt.cpan.org>; Mon, 7 Nov 2011 11:38:25 -0500 (EST)
Delivered-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72240]
Return-Path: <swartz [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=smtpout; bh=RNpbbOywITFXggsFvAaHZBQXO4w=; b=Gf 46iabmazMfAnZyWeNyj74QC+jfSb59ABorxierSlHgmjCd2W4HFXULduvBvwofXz 9KNI2l8XgdRT47m0S73UHiinP1UCBE2+X2Sq3lhsycFEFMTgWNKHDZXrsZx9zZya s34E4Dz/aQLFiGSUefFzw44O+ysVdi2Z7qUay+5FU=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
X-RT-Mail-Extension: cache-cache
Date: Mon, 7 Nov 2011 08:38:25 -0800
X-Spam-Level:
To: bug-Cache-Cache [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Jonathan Swartz <swartz [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-2601-1320683914-713.72240-0-0 [...] rt.cpan.org>
Content-Length: 966
Download (untitled) / with headers
text/plain 966b
Cache::Cache is unlikely to get any more development. Have you considered switching to CHI? It has a fairly compatible API and its File driver is much more efficient. On Nov 7, 2011, at 1:58 AM, jddurand via RT wrote: Show quoted text
> Mon Nov 07 04:58:15 2011: Request 72240 was acted upon. > Transaction: Ticket created by jddfr74 > Queue: Cache-Cache > Subject: (No subject given) > Broken in: 1.06 > Severity: Normal > Owner: Nobody > Requestors: feratilbeau@hotmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72240 > > > > In Cache::FileBackend, mkpath can throw a fatal exception in sub > _Create_Directory, e.g.: > > mkpath( $directory, 0, $DIRECTORY_MODE ); > > may croak. Since the existence of the directory is tested just after: > > -d $directory or > throw Error::Simple( "Couldn't create directory: $directory: $!" ); > > may it do an eval {} around mkpath please? > > Regards, Jean-Damien. >
From feratilbeau [...] hotmail.com Mon Nov 7 12: 45:38 2011
X-Originalarrivaltime: 07 Nov 2011 17:45:31.0578 (UTC) FILETIME=[0B73E1A0:01CC9D75]
MIME-Version: 1.0
X-Spam-Status: No, score=-6.233 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2601-1320683915-703.72240-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
Importance: Normal
References: <RT-Ticket-72240 [...] rt.cpan.org> <rt-3.8.HEAD-2598-1320659896-1434.72240-4-0 [...] rt.cpan.org> <F8D4CF54-74B0-4F1A-B4D7-1A966C5FD88E [...] pobox.com>,<rt-3.8.HEAD-2601-1320683915-703.72240-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <BAY148-W405466076935369E56EA71BDD90 [...] phx.gbl>
Content-Type: multipart/alternative; boundary="_38784086-2fef-4bb2-aa1c-d90ae7c29f6d_"
X-Spam-Score: -6.233
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 32FA7240C8B for <cpan-bug+cache-cache [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 12:45:38 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KYDsuNs852K8 for <cpan-bug+cache-cache [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 12:45:36 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 45204240BF1 for <bug-cache-cache [...] rt.cpan.org>; Mon, 7 Nov 2011 12:45:36 -0500 (EST)
Received: (qmail 13514 invoked by uid 103); 7 Nov 2011 17:45:35 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 7 Nov 2011 17:45:35 -0000
Received: from bay0-omc2-s6.bay0.hotmail.com (HELO bay0-omc2-s6.bay0.hotmail.com) (65.54.190.81) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Mon, 07 Nov 2011 09:45:33 -0800
Received: from BAY148-W40 ([65.54.190.125]) by bay0-omc2-s6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 7 Nov 2011 09:45:31 -0800
Delivered-To: cpan-bug+cache-cache [...] hipster.bestpractical.com
Subject: RE: [rt.cpan.org #72240]
Return-Path: <feratilbeau [...] hotmail.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+cache-cache [...] hipster.bestpractical.com
X-RT-Mail-Extension: cache-cache
Date: Mon, 7 Nov 2011 18:45:30 +0100
X-Spam-Level:
X-Originating-Ip: [80.254.155.43]
To: <bug-cache-cache [...] rt.cpan.org>
From: un soleil pour tous <feratilbeau [...] hotmail.com>
RT-Message-ID: <rt-3.8.HEAD-2598-1320687939-47.72240-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 439
Download (untitled) / with headers
text/plain 439b
Dear Jonathan, Yes, sensible answer. Being on Windows, CHI did not installed well last time, and right now it installs simply fine! So, this is very good news, please close this ticket; I will switch to CHI. Best Regards, Jean-Damien: Show quoted text
> Jonathan wrote: > Cache::Cache is unlikely to get any more development. Have you considered switching to CHI? It has a fairly compatible API and its File driver is much more efficient.
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 688
From swartz [...] pobox.com Mon Nov 7 12: 52:14 2011
MIME-Version: 1.0 (Apple Message framework v1084)
X-Spam-Status: No, score=-5.803 tagged_above=-99.9 required=10 tests=[AWL=0.318, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2598-1320687939-1770.72240-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1084)
X-Spam-Flag: NO
References: <RT-Ticket-72240 [...] rt.cpan.org> <rt-3.8.HEAD-2598-1320659896-1434.72240-4-0 [...] rt.cpan.org> <F8D4CF54-74B0-4F1A-B4D7-1A966C5FD88E [...] pobox.com>,<rt-3.8.HEAD-2601-1320683915-703.72240-6-0 [...] rt.cpan.org> <BAY148-W405466076935369E56EA71BDD90 [...] phx.gbl> <rt-3.8.HEAD-2598-1320687939-1770.72240-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: text/plain; charset="utf-8"
Message-ID: <9DF22163-8C95-4E1B-B863-2C289AD28AF5 [...] pobox.com>
X-Sasl-Enc: uXx21/NfqYfbYrsP7uLIjQOmmDt37hpdP+hTdN1j2xSP 1320688325
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.803
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] messagingengine.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 50E6C240C8B for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 12:52:14 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KdLKRl0zxKmm for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 12:52:12 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 90DA8240BF1 for <bug-Cache-Cache [...] rt.cpan.org>; Mon, 7 Nov 2011 12:52:12 -0500 (EST)
Received: (qmail 13951 invoked by uid 103); 7 Nov 2011 17:52:11 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 7 Nov 2011 17:52:11 -0000
Received: from out3.smtp.messagingengine.com (HELO out3.smtp.messagingengine.com) (66.111.4.27) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Mon, 07 Nov 2011 09:52:08 -0800
Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id EC3BC20576 for <bug-Cache-Cache [...] rt.cpan.org>; Mon, 7 Nov 2011 12:52:05 -0500 (EST)
Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 07 Nov 2011 12:52:05 -0500
Received: from [10.1.10.110] (c-98-248-195-203.hsd1.ca.comcast.net [98.248.195.203]) by mail.messagingengine.com (Postfix) with ESMTPSA id 97C44483519 for <bug-Cache-Cache [...] rt.cpan.org>; Mon, 7 Nov 2011 12:52:05 -0500 (EST)
Delivered-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72240]
Return-Path: <swartz [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=smtpout; bh=HFqEwK8e+bwluxDQ/k8Hev+3I54=; b=mM MyPXsxWacjUcssfn9Ba0+cl7Q+I1mBGzdIZ514EnYCwZZPLN+7JYJClFEvNTqSck FDU8QcqZ9l1iKyF8v03ad++YjCU9fd2O+NFBJVIHgcnhrdCshV4Kqy/0e7NpEuVE 28+mibkmOZ30ZeGYC8Yuj/XG2B9vNnsJESVEPMfVA=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
X-RT-Mail-Extension: cache-cache
Date: Mon, 7 Nov 2011 09:52:05 -0800
X-Spam-Level:
To: bug-Cache-Cache [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Jonathan Swartz <swartz [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-2598-1320688335-690.72240-0-0 [...] rt.cpan.org>
Content-Length: 629
Download (untitled) / with headers
text/plain 629b
Good to hear! Jon On Nov 7, 2011, at 9:45 AM, jddurand via RT wrote: Show quoted text
> Queue: Cache-Cache > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72240 > > > > Dear Jonathan, > > Yes, sensible answer. Being on Windows, CHI did not installed well last time, and right now it installs simply fine! > So, this is very good news, please close this ticket; I will switch to CHI. > > Best Regards, Jean-Damien: >
>> Jonathan wrote: >> Cache::Cache is unlikely to get any more development. Have you considered switching to CHI? It has a fairly compatible API and its File driver is much more efficient.
> >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.