Well, it's progress, I suppose! :)

I suspect the problem you are up against now is your software
versions. I see you are on Django 1.3 (really new) and Python 2.4.3
(really old!). What distro are you using to end up in that scenario??

At any rate, unfortunately for your scenario, satchmo is really best
run on Django 1.1, and I'm accustomed to running it on at least python
2.5 (though really 2.4 ought to work, I think). I'm not certain your
present issue is due to being on django 1.3, but it's a pretty good
bet. Maybe someone else can chime on regarding your particular error
below; it doesn't look all that familiar to me.


--Stuart

On Mon, Nov 29, 2010 at 5:35 PM, m1chael <myk...@gmail.com> wrote:
> Thanks Stuart!
>
> We're getting closer :)
>
> I have done what you've said.. and instead of the admin doing nothing,
> it is actually doing something (not working, but it's throwing an
> error now)
>
> for testing purposes.. I copied
> /usr/lib/python2.4/site-packages/Satchmo-0.9_2-py2.4.egg/satchmo_ext/product_feeds/templates/product_feeds/plugins/admin_tools.html
> to
> /home/hotpaparazzi/hotpaparazzi/templates/ebay/plugins/admin_tools.html
>
> It makes sense what you've told me, but now I have stumbled on this bug...
>
> Environment:
>
> Request Method: GET
> Request URL: http://www.hotpaparazzi.com:8000/admin/
> Django Version: 1.3 pre-alpha
> Python Version: 2.4.3
> Installed Applications:
> ['django.contrib.sites',
>  'django.contrib.messages',
>  'satchmo_store.shop',
>  'django.contrib.admin',
>  'django.contrib.auth',
>  'django.contrib.admindocs',
>  'django.contrib.contenttypes',
>  'django.contrib.comments',
>  'django.contrib.sessions',
>  'django.contrib.sitemaps',
>  'registration',
>  'keyedcache',
>  'livesettings',
>  'l10n',
>  'sorl.thumbnail',
>  'satchmo_store.contact',
>  'tax',
>  'tax.modules.no',
>  'tax.modules.area',
>  'tax.modules.percent',
>  'shipping',
>  'product',
>  'product.modules.configurable',
>  'payment',
>  'payment.modules.paypal',
>  'payment.modules.giftcertificate',
>  'satchmo_utils',
>  'app_plugins',
>  'tagging',
>  'photologue',
>  'ebay']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.middleware.locale.LocaleMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.middleware.doc.XViewMiddleware',
>  'threaded_multihost.middleware.ThreadLocalMiddleware',
>  'satchmo_store.shop.SSLMiddleware.SSLRedirect',
>  'django.middleware.csrf.CsrfViewMiddleware',
>  'django.contrib.messages.middleware.MessageMiddleware')
>
>
> Template error:
> In template 
> /usr/lib/python2.4/site-packages/Satchmo-0.9_2-py2.4.egg/satchmo_store/shop/templates/admin/index.html,
> error at line 138
>   Caught Exception while rendering: Found a compiled template that is
> incompatible with the deprecated
> `django.template.loaders.find_template_source` function.
>   128 :                                </li>
>
>
>   129 :                                <li>
>
>
>   130 :                                <a href="{% url 
> satchmo_admin_product_export %}">{%
> trans 'Export Product Defs' %}</a><br/>
>
>
>   131 :                                </li>
>
>
>   132 :                                <li>
>
>
>   133 :                                <a href="{% url 
> satchmo_admin_variation_list %}">{%
> trans 'Product Variation Manager' %}</a><br/>
>
>
>   134 :                                </li>
>
>
>   135 :                                <li>
>
>
>   136 :                                <a href="{% url keyedcache_stats 
> %}">{% trans 'Cache
> Status' %}</a><br/>
>
>
>   137 :                                </li>
>
>
>   138 :                                 {% plugin_point "admin_tools" %}
>
>
>   139 :                        </ul>
>
>
>   140 :                </div>
>
>
>   141 :        </div>
>
>
>   142 : </div>
>
>
>   143 : {% endblock %}
>
>
>   144 :
>
> Traceback:
> File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py"
> in get_response
>  100.                     response = callback(request,
> *callback_args, **callback_kwargs)
> File "/usr/lib/python2.4/site-packages/django/contrib/admin/sites.py" in 
> wrapper
>  207.                 return self.admin_view(view, cacheable)(*args, **kwargs)
> File "/usr/lib/python2.4/site-packages/django/utils/decorators.py" in
> _wrapped_view
>  76.                     response = view_func(request, *args, **kwargs)
> File "/usr/lib/python2.4/site-packages/django/views/decorators/cache.py"
> in _wrapped_view_func
>  69.         response = view_func(request, *args, **kwargs)
> File "/usr/lib/python2.4/site-packages/django/contrib/admin/sites.py" in inner
>  190.             return view(request, *args, **kwargs)
> File "/usr/lib/python2.4/site-packages/django/views/decorators/cache.py"
> in _wrapped_view_func
>  69.         response = view_func(request, *args, **kwargs)
> File "/usr/lib/python2.4/site-packages/django/contrib/admin/sites.py" in index
>  396.             context_instance=context_instance
> File "/usr/lib/python2.4/site-packages/django/shortcuts/__init__.py"
> in render_to_response
>  20.     return HttpResponse(loader.render_to_string(*args,
> **kwargs), **httpresponse_kwargs)
> File "/usr/lib/python2.4/site-packages/django/template/loader.py" in
> render_to_string
>  186.     return t.render(context_instance)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render
>  173.             return self._render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in _render
>  167.         return self.nodelist.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render
>  796.                 bits.append(self.render_node(node, context))
> File "/usr/lib/python2.4/site-packages/django/template/debug.py" in 
> render_node
>  72.             result = node.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/loader_tags.py" in 
> render
>  125.         return compiled_parent._render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in _render
>  167.         return self.nodelist.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render
>  796.                 bits.append(self.render_node(node, context))
> File "/usr/lib/python2.4/site-packages/django/template/debug.py" in 
> render_node
>  72.             result = node.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/loader_tags.py" in 
> render
>  125.         return compiled_parent._render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in _render
>  167.         return self.nodelist.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render
>  796.                 bits.append(self.render_node(node, context))
> File "/usr/lib/python2.4/site-packages/django/template/debug.py" in 
> render_node
>  72.             result = node.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/loader_tags.py" in 
> render
>  62.             result = block.nodelist.render(context)
> File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render
>  796.                 bits.append(self.render_node(node, context))
> File "/usr/lib/python2.4/site-packages/django/template/debug.py" in 
> render_node
>  72.             result = node.render(context)
> File 
> "/usr/lib/python2.4/site-packages/django_app_plugins-0.1.0-py2.4.egg/app_plugins/templatetags/app_plugins.py"
> in render
>  133.                                            takes_context)
> File 
> "/usr/lib/python2.4/site-packages/django_app_plugins-0.1.0-py2.4.egg/app_plugins/templatetags/app_plugins.py"
> in callback
>  118.     return func(*args, **kwdargs)
> File 
> "/usr/lib/python2.4/site-packages/django_app_plugins-0.1.0-py2.4.egg/app_plugins/templatetags/app_plugins.py"
> in plugin_point
>  219.             apps = [ app for app, tpl in tpls if template_exists(tpl) ]
> File 
> "/usr/lib/python2.4/site-packages/django_app_plugins-0.1.0-py2.4.egg/app_plugins/templatetags/app_plugins.py"
> in template_exists
>  162.         loader.find_template_source(templ)
> File "/usr/lib/python2.4/site-packages/django/template/loader.py" in
> find_template_source
>  149.         raise Exception("Found a compiled template that is
> incompatible with the deprecated
> `django.template.loaders.find_template_source` function.")
>
> Exception Type: TemplateSyntaxError at /admin/
> Exception Value: Caught Exception while rendering: Found a compiled
> template that is incompatible with the deprecated
> `django.template.loaders.find_template_source` function.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Satchmo users" group.
> To post to this group, send email to satchmo-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> satchmo-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-us...@googlegroups.com.
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to