Can't seem to track this down.  The only mentions I could find are:

In django:

$ egrep -rI '\butils\b'
./changedescs/models.py:from django.utils.translation import ugettext_lazy as _
./diffviewer/models.py:from django.utils.translation import ugettext_lazy as _
./diffviewer/views.py:from django.utils.translation import ugettext as _
./diffviewer/forms.py:from django.utils.encoding import smart_unicode
./diffviewer/forms.py:from django.utils.translation import ugettext as _
./diffviewer/diffutils.py:from django.utils.html import escape
./diffviewer/diffutils.py:from django.utils.http import urlquote
./diffviewer/diffutils.py:from django.utils.safestring import mark_safe
./diffviewer/diffutils.py:from django.utils.translation import ugettext as _
./webapi/json.py:from django.utils.translation import ugettext as _
./webapi/resources.py:from django.utils.translation import ugettext as _
./webapi/tests.py:from django.utils import simplejson
./test.py:from django.test.utils import setup_test_environment,
teardown_test_environment
./reviews/admin.py:from django.utils.translation import ugettext_lazy as _
./reviews/models.py:from django.utils.html import escape
./reviews/models.py:from django.utils.safestring import mark_safe
./reviews/models.py:from django.utils.translation import ugettext_lazy as _
./reviews/views.py:from django.utils import simplejson
./reviews/views.py:from django.utils.http import http_date
./reviews/views.py:from django.utils.safestring import mark_safe
./reviews/views.py:from django.utils.translation import ugettext as _
./reviews/forms.py:from django.utils.translation import ugettext as _
./reviews/datagrids.py:from django.utils.html import conditional_escape
./reviews/datagrids.py:from django.utils.translation import ugettext_lazy as _
./reviews/feeds.py:from django.utils.feedgenerator import Atom1Feed
./reviews/templatetags/reviewtags.py:from django.utils import simplejson
./reviews/templatetags/reviewtags.py:from django.utils.translation
import ugettext_lazy as _
./scmtools/admin.py:from django.utils.translation import ugettext_lazy as _
./scmtools/sshutils.py:from django.utils.translation import ugettext_lazy as _
./scmtools/forms.py:from django.utils.datastructures import SortedDict
./scmtools/forms.py:from django.utils.translation import ugettext_lazy as _
./scmtools/git.py:from django.utils.translation import ugettext_lazy as _
./scmtools/errors.py:from django.utils.translation import ugettext as _
./scmtools/svn.py:from django.utils.translation import ugettext as _
./admin/views.py:from django.utils.translation import ugettext as _
./admin/checks.py:from django.utils.translation import gettext as _
./admin/forms.py:from django.utils.safestring import mark_safe
./admin/forms.py:from django.utils.translation import ugettext as _
./accounts/admin.py:from django.utils.translation import ugettext_lazy as _
./accounts/models.py:from django.utils.translation import ugettext_lazy as _
./accounts/forms.py:from django.utils.translation import ugettext as _
./settings.py:# Can't import django.utils.translation yet

In djblets:

$ egrep -rI '\butils\b'
./log/views.py:from django.utils.translation import ugettext as _
./webapi/core.py:from django.utils import simplejson
./webapi/core.py:from django.utils.encoding import force_unicode
./feedview/feedparser.py:# W3DTF-style date parsing adapted from PyXML
xml.utils.iso8601, written by
./util/dates.py:    from django.utils.http import http_date
./util/misc.py:from django.utils.translation import ugettext as _
./util/fields.py:from django.utils import simplejson
./util/fields.py:from django.utils.encoding import smart_unicode
./util/tests.py:from django.utils.html import strip_spaces_between_tags
./util/templatetags/djblets_utils.py:from django.utils.safestring
import mark_safe
./util/templatetags/djblets_forms.py:from django.utils.encoding import
force_unicode
./util/templatetags/djblets_forms.py:from django.utils.html import escape
./datagrid/grids.py:from django.utils.cache import patch_cache_control
./datagrid/grids.py:from django.utils.safestring import mark_safe
./datagrid/grids.py:from django.utils.translation import ugettext as _

In my reviewboard www dir:

$ egrep -rI '\butils\b'
fgrep: ./htdocs/errordocs: No such file or directory
./htdocs/media/admin/js/admin/RelatedObjectLookups.js:    // Unescape
a string that was escaped using django.utils.html.escape.
./htdocs/media/admin/js/admin/RelatedObjectLookups.js:    //
django.utils.html.escape.

On Wed, Aug 8, 2012 at 3:51 PM, Yang Zhang <yanghates...@gmail.com> wrote:
> No, the only change I've made is a tweak to the client-side
> Javascript.  Is there any way to tell where this is coming from?
>
> On Wed, Aug 8, 2012 at 3:45 PM, Christian Hammond <chip...@chipx86.com> wrote:
>> The only 'utils' that ever gets imported anywhere by us is django.utils. We
>> never reference as 'utils'.
>>
>> Do you have any modifications to Review Board or Djblets on your server?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Wed, Aug 8, 2012 at 3:13 PM, Yang Zhang <yanghates...@gmail.com> wrote:
>>>
>>> Setting up via modpython, seeing this exception:
>>>
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254] Filename:
>>> '/var/www/review', referer: https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254] PathInfo:
>>> '', referer: https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254] Traceback
>>> (most recent call last):, referer: https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]   File
>>> "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537,
>>> in HandlerDispatch\n    default=default_handler, arg=req,
>>> silent=hlist.silent), referer: https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]   File
>>> "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229,
>>> in _process_target\n    result = _execute_target(config, req, object,
>>> arg), referer: https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]   File
>>> "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128,
>>> in _execute_target\n    result = object(arg), referer:
>>> https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]   File
>>>
>>> "/home/yang/.virtualenvs/oldreview/lib/python2.7/site-packages/django/core/handlers/modpython.py",
>>> line 212, in handler\n    return ModPythonHandler()(req), referer:
>>> https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]   File
>>>
>>> "/home/yang/.virtualenvs/oldreview/lib/python2.7/site-packages/django/core/handlers/modpython.py",
>>> line 174, in __call__\n    self.load_middleware(), referer:
>>> https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]   File
>>>
>>> "/home/yang/.virtualenvs/oldreview/lib/python2.7/site-packages/django/core/handlers/base.py",
>>> line 47, in load_middleware\n    raise
>>> exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"'
>>> % (mw_module, e)), referer: https://foo.com/
>>> [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254]
>>> ImproperlyConfigured: Error importing middleware
>>> djblets.siteconfig.middleware: "cannot import name utils", referer:
>>> https://foo.com/
>>>
>>> Any ideas? Thanks.
>>>
>>> --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~----------~----~----~----~------~----~------~--~---
>>> To unsubscribe from this group, send email to
>>> reviewboard+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/reviewboard?hl=en
>>
>>
>> --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to