<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6379</bug_id>
          
          <creation_ts>2014-05-28 12:05:53 +0000</creation_ts>
          <short_desc>RuntimeWarning: DateTimeField received a naive datetime while time zone support is active</short_desc>
          <delta_ts>2015-08-07 12:52:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ionut Chisanovici">ionutx.chisanovici</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>jessica.zhang</cc>
          
          <qa_contact name="Ionut Chisanovici">ionutx.chisanovici</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43616</commentid>
    <comment_count>0</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-05-28 12:05:53 +0000</bug_when>
    <thetext>Hi guys,

While doing the performance script for toaster, the part for toaster urls load time, I have discovered that when I&apos;m trying to load &apos;http://localhost:8000/gui/build/1/target/1/packagefile/1&apos;, I get the following warning generated by the script:

/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py:827: RuntimeWarning: DateTimeField received a naive datetime (2014-05-28 00:00:00) while time zone support is active.
  RuntimeWarning)

Investigating this, I have discovered that this warning is generated by the toastergui/views.py file when the above url is requested.

What I did to check this was:
1. source toaster stop
2. rm -rf toaster_web.log
3. source toaster start
4. tail -f toaster_web.log
5. open/request the above url via browser

We need to fix this issue as the perf script which is implemented as manage.py command will cover that warning as well.

Cheers,
Ionut C</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44153</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-06-24 12:45:24 +0000</bug_when>
    <thetext>Fixed, pending review submission.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45048</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-08-08 14:38:17 +0000</bug_when>
    <thetext>Fixed, merged. QA, please verify and close.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45372</commentid>
    <comment_count>3</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-09-03 11:29:30 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>