Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB86B10CC7 for ; Wed, 20 Nov 2013 19:41:18 +0000 (UTC) Received: (qmail 7482 invoked by uid 500); 20 Nov 2013 19:41:18 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 7463 invoked by uid 500); 20 Nov 2013 19:41:18 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 7455 invoked by uid 99); 20 Nov 2013 19:41:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 19:41:18 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noreply@sourceforge.net designates 216.34.181.60 as permitted sender) Received: from [216.34.181.60] (HELO smtp.ch3.sourceforge.com) (216.34.181.60) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 19:41:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.com; s=x; h=Date:References:In-Reply-To:Message-ID:Subject:Reply-To:From:To:MIME-Version:Content-Type; bh=kXyeDbbsn1n6p0/zj7B3pZdF5SForkpRqdUYjzTAHRY=; b=Bsf+dn4SRswi3ZTNcCGF6hMTjl6Snk1zKi3aJV82s1nL2cLQJrVVxY3YymFy8BTTfthpG4eQtjuDetM9RW2Uhe7oBUe+/8cVs5gAvtT8x4zEakmBRnS0ysRGdcrSrmS4mNuFQfiOfMC4ritIsHPhupvqDjtLP1izeOXfeBjEG9o=; Received: from localhost ([127.0.0.1] helo=sfs-alluradaemon-2.v29.ch3.sourceforge.com) by sfs-alluradaemon-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VjDdu-0005Z2-1d for allura-dev@incubator.apache.org; Wed, 20 Nov 2013 19:40:54 +0000 Content-Type: multipart/related; boundary="===============0174342827644235124==" MIME-Version: 1.0 To: allura-dev@incubator.apache.org From: "Cory Johns" Reply-To: "[allura:tickets] " <6903@tickets.allura.p.re.sf.net> Subject: [allura:tickets] #6903 GC date parsing error Message-ID:

In-Reply-To: <528d0d0281b24b46d7e64ed4.tickets@allura.p.sourceforge.net> References: <528d0d0281b24b46d7e64ed4.tickets@allura.p.sourceforge.net> Date: Wed, 20 Nov 2013 19:40:54 +0000 X-Virus-Checked: Checked by ClamAV on apache.org --===============0174342827644235124== Content-Type: multipart/alternative; boundary="===============1475767273994691334==" MIME-Version: 1.0 --===============1475767273994691334== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit - **status**: open --> in-progress - **assigned_to**: Cory Johns --- ** [tickets:#6903] GC date parsing error** **Status:** in-progress **Labels:** import google-code **Created:** Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema **Last Updated:** Wed Nov 20, 2013 07:26 PM UTC **Owner:** Cory Johns ~~~~ File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 132, in import_tool self.process_fields(ticket, issue) File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 171, in process_fields ticket.created_date = datetime.strptime(issue.get_issue_created_date(), '%c') File "/usr/lib64/python2.7/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data 'Tue Jul 9 19:03:12 2013' does not match format '%c' ~~~~ Maybe we shouldn't use %c which is locale-dependent? --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============1475767273994691334== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
  • status: open --> in-progress
  • assigned_to: Cory Johns

[tickets:#6903] GC date parsing error

Status: in-progress
Labels: import google-code
Created: Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema
Last Updated: Wed Nov 20, 2013 07:26 PM UTC
Owner: Cory Johns

  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 132, in import_tool
    self.process_fields(ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 171, in process_fields
    ticket.created_date = datetime.strptime(issue.get_issue_created_date(), '%c')
  File "/usr/lib64/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data 'Tue Jul  9 19:03:12 2013' does not match format '%c'

Maybe we shouldn't use %c which is locale-dependent?


Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============1475767273994691334==-- --===============0174342827644235124==--