Don't use Satchmo but looks like `shop_config` is not defined when you context_processors are called?
This is because from it looks like it gets the shop_config based on the current site based on the host. If the domain name saved in the admin for the site corresponding to the SITE_ID in your settings.py is incorrect or different from the host header in the HTTP request, it could possible cause this error.
This is because from it looks like it gets the shop_config based on the current site based on the host. If the domain name saved in the admin for the site corresponding to the SITE_ID in your settings.py is incorrect or different from the host header in the HTTP request, it could possible cause this error.
On Sun, Sep 22, 2013 at 6:02 PM, kooliah <kooliah@djeve.sites.djangohosting.ch> wrote:
I'm sorry but i started to send this message at 12.09 ...and at 14.00 google groups still does not show me neither on mail or web-interface. so i resend...
Sorry again, next time i'll wait 24 hours, to see if a post is sent...
On 09/22/2013 04:27 PM, Avraham Serour wrote:
really? how many times do you need to send and resend and cross post?--
On Sun, Sep 22, 2013 at 1:23 PM, <alkatron@gmail.com> wrote:
Everyday i receive 5-10 mysterious error messages of this kind--
....... ERRORS.....
File "....../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py", line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
<WSGIRequest
path:/plugins/tinymce_plugin/tiny_mce/plugins/more/editor_plugin.js,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
....
File ".../satchmo/satchmo/apps/satchmo_store/shop/context_processors.py", line 31, in settings
'shop_name': shop_config.store_name,
AttributeError: 'NoneType' object has no attribute 'store_name'
<WSGIRequest
path:/admin/login.aspx,
GET:<QueryDict: {}>,
....
File "..../django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
return self.cursor.execute(query, args)
DatabaseError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
<WSGIRequest
path:/art_folder/text-image_Series-1.jpg,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
....
....
....
.......END ERRORS......
All of them do not depend by my code but by django/satchmo source code, and never rise on developing server....but the thing I don't understand is paths.... I have no paths like them...Why it does not give "page not found" but Errors ??
If i give that url in browser it correctly gives me "page not found"........
Thank you
Alkatron
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment