Issue 67 in django-jython: Error when building war with static_url and ADMIN_MEDIA_PREFIX pointing to same directory.

12 views
Skip to first unread message

django...@googlecode.com

unread,
Dec 1, 2011, 4:54:11 PM12/1/11
to django-j...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 67 by runningg...@gmail.com: Error when building war with
static_url and ADMIN_MEDIA_PREFIX pointing to same directory.
http://code.google.com/p/django-jython/issues/detail?id=67

What steps will reproduce the problem?
1.Install latest 1.3.0b1 and update war.py in doj/management/comands/ to
have STATIC_URL logic from
http://code.google.com/p/django-jython/source/detail?spec=svn125aa5ff8ea7d5001efbe8e5afaf8cf9af2f12bb&r=125aa5ff8ea7d5001efbe8e5afaf8cf9af2f12bb
2.Create project.
3.Set STATIC_URL = '/static/' and ADMIN_MEDIA_PREFIX = '/static/admin/'
4.Run jython manage.py war

What is the expected output? What do you see instead?
Expect war to be created without errors.

Instead you get a Errno 17 because the os.makdir() function fails on
creation of admin static file, since the static/ directory already exists
from the create of the STATIC_URL file.

What version of the product are you using? On what operating system?
1.3.0b1 with updated war.py mentioned above

Please provide any additional information below.
Can be avoided by changing STATIC_URL to be different from
ADMIN_MEDIA_PREFIX. Not sure if that should be the case though.

django...@googlecode.com

unread,
Feb 6, 2012, 8:45:59 AM2/6/12
to django-j...@googlegroups.com
Updates:
Status: Accepted
Owner: juneau001

Comment #1 on issue 67 by juneau001: Error when building war with

static_url and ADMIN_MEDIA_PREFIX pointing to same directory.
http://code.google.com/p/django-jython/issues/detail?id=67

(No comment was entered for this change.)

django...@googlecode.com

unread,
Feb 10, 2012, 2:10:52 PM2/10/12
to django-j...@googlegroups.com

Comment #2 on issue 67 by l...@adconion.com: Error when building war with
static_url and ADMIN_MEDIA_PREFIX pointing to same directory.
http://code.google.com/p/django-jython/issues/detail?id=67

I see the exact same issue as the above user.

django...@googlecode.com

unread,
Aug 10, 2014, 4:24:29 AM8/10/14
to django-j...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 67 by andr...@st0cker.at: Error when building war with
static_url and ADMIN_MEDIA_PREFIX pointing to same directory.
http://code.google.com/p/django-jython/issues/detail?id=67

(No comment was entered for this change.)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages