← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1814508] [NEW] django_timezone failure with timezone "Asia/Shanghai"

 

Public bug reported:

overview:
while i was running horiozn locally in mac osx with a virtual environment of python3.7 . everything went ok. and like below:
Performing system checks...

System check identified no issues (0 silenced).
February 04, 2019 - 07:57:26
Django version 2.0.10, using settings 'openstack_dashboard.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
FutureWarning: Possible nested set at position 329 

but when i use a browser to browse the http://127.0.0.1:8000/ it failes
with error message:

UnknownTimeZoneError at /
'Asia%2FShanghai'

python version:
horizon/.tox/venv/bin/python
python --version
Python 3.7.2
osx: 10.14.2

horizon info:
commit be5b04ca6d62e23086daaca5873e5d18bf4f43f4 (HEAD -> master, origin/master, origin/HEAD)
Merge: f02e7c5ad d4cea903b
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
Date:   Sat Jan 12 18:35:31 2019 +0000

    Merge "Error should be reported when only a space is entered"

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: timezone

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1814508

Title:
  django_timezone failure with timezone "Asia/Shanghai"

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  overview:
  while i was running horiozn locally in mac osx with a virtual environment of python3.7 . everything went ok. and like below:
  Performing system checks...

  System check identified no issues (0 silenced).
  February 04, 2019 - 07:57:26
  Django version 2.0.10, using settings 'openstack_dashboard.settings'
  Starting development server at http://127.0.0.1:8000/
  Quit the server with CONTROL-C.
  FutureWarning: Possible nested set at position 329 

  but when i use a browser to browse the http://127.0.0.1:8000/ it
  failes with error message:

  UnknownTimeZoneError at /
  &#39;Asia%2FShanghai&#39;

  python version:
  horizon/.tox/venv/bin/python
  python --version
  Python 3.7.2
  osx: 10.14.2

  horizon info:
  commit be5b04ca6d62e23086daaca5873e5d18bf4f43f4 (HEAD -> master, origin/master, origin/HEAD)
  Merge: f02e7c5ad d4cea903b
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
  Date:   Sat Jan 12 18:35:31 2019 +0000

      Merge "Error should be reported when only a space is entered"

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1814508/+subscriptions


Follow ups