#16518: collectstatic management command fails with jython -------------------------------------------+------------------------------- Reporter: Josh Smeaton <josh.smeaton@…> | Owner: nobody Type: Uncategorized | Status: new Milestone: | Component: Version: 1.3 | contrib.staticfiles Keywords: | Severity: Normal Has patch: 1 | Triage Stage: Unreviewed UI/UX: 0 | Easy pickings: 0 -------------------------------------------+------------------------------- [https://code.djangoproject.com/ticket/14665 Ticket 14665] makes use of os.stat_float_times to work around an issue where some static files are collected all of the time. Unfortunately, Jython doesn't yet support the function stat_float_times, so the collectstatic management command fails.
This is a problem with Jython to be sure, and I've logged a ticket with the project [http://bugs.jython.org/issue1782# here]. I still feel that since staticfiles is now an integral part of django, that a minor work around for this should be included in order to continue support of jython as a platform. I'm including a patch with this ticket, made against the 1.3 branch since that is the version I'm currently using. I've also tested that it works in current trunk, so porting it there should be relatively painless if accepted. -- Ticket URL: <https://code.djangoproject.com/ticket/16518> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.