You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2013/11/20 20:27:02 UTC

[allura:tickets] #6903 GC date parsing error



---

** [tickets:#6903] GC date parsing error**

**Status:** open
**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:** nobody

~~~~
  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.

[allura:tickets] #6903 GC date parsing error

Posted by Tim Van Steenburgh <va...@users.sf.net>.
- **QA**: Tim Van Steenburgh



---

** [tickets:#6903] GC date parsing error**

**Status:** code-review
**Labels:** import google-code 
**Created:** Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema
**Last Updated:** Wed Nov 20, 2013 07:48 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.

[allura:tickets] #6903 GC date parsing error

Posted by Tim Van Steenburgh <va...@users.sf.net>.
- **status**: code-review --> closed



---

** [tickets:#6903] GC date parsing error**

**Status:** closed
**Labels:** import google-code 
**Created:** Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema
**Last Updated:** Wed Nov 20, 2013 07:52 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.

[allura:tickets] #6903 GC date parsing error

Posted by Cory Johns <ma...@users.sf.net>.
- **status**: in-progress --> code-review



---

** [tickets:#6903] GC date parsing error**

**Status:** code-review
**Labels:** import google-code 
**Created:** Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema
**Last Updated:** Wed Nov 20, 2013 07:40 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.

[allura:tickets] #6903 GC date parsing error

Posted by Cory Johns <ma...@users.sf.net>.
`allura:cj/6903`


---

** [tickets:#6903] GC date parsing error**

**Status:** code-review
**Labels:** import google-code 
**Created:** Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema
**Last Updated:** Wed Nov 20, 2013 07:40 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.

[allura:tickets] #6903 GC date parsing error

Posted by Cory Johns <ma...@users.sf.net>.
- **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.