What other urlpatterns do you have ... and what's in i10.url? How about trying to install a virtualenv with just the right stuff in it, and try again?
On Apr 1, 12:33 pm, Ricko <[email protected]> wrote: > OK, I'm just going to show you the apps listed in my settings.py file, > it may help. This shows the live and commented ones: > > 'satchmo_store.shop', > 'django.contrib.admin', > 'django.contrib.admindocs', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.comments', > 'django.contrib.sessions', > 'django.contrib.sitemaps', > 'django.contrib.sites', > #'registration', > 'sorl.thumbnail', > 'satchmo_store', > 'keyedcache', > 'livesettings', > 'satchmo_store.contact', > 'product', > # **** > # * Optional feature, product brands > # * Uncomment below, and add the brand url in your satchmo_urls > setting > # * usually in local_settings.py > # **** > #'satchmo_ext.brand' > 'shipping', > 'payment', > 'payment.modules.giftcertificate', > 'satchmo_store.contact.supplier', > 'satchmo_utils', > 'satchmo_utils.thumbnail', > 'l10n', > 'tax', > # 'satchmo_ext.recentlist', > 'satchmo_ext.wishlist', > 'satchmo_ext.upsell', > 'satchmo_ext.productratings', > 'app_plugins', > # **** > # * Optional Feature, Tiered shipping > # * uncomment below to make that shipping module available in your > live site > # * settings page. enable it there, then configure it in the > # * admin/tiered section of the main admin page. > # **** > #'shipping.modules.tiered' > # **** > # * Optional feature newsletter > # **** > #'satchmo_ext.newsletter', > # **** > # * Optional feature product feeds > # * These are usually for googlebase > # **** > #'satchmo_ext.product_feeds', > # **** > # * Optional feature, tiered pricing > # * uncomment below, then set up in your main admin page. > # **** > #'satchmo_ext.tieredpricing', > # **** > # * Highly recommended app - use this to have access to the great > # * "Jobs" system. Seehttp://code.google.com/p/django-command-extensions/ > # * Make sure to set up your crontab to run the daily, hourly and > monthly > # * jobs. > # **** > #'django_extensions', > > Then my SATCHMO_SETTINGS are all commented out: > > SATCHMO_SETTINGS = { > # this will override any urls set in the store url modules > 'SHOP_URLS' : patterns('', > # disable this if you don't want multi-language > (r'^i18n/', include('l10n.urls')), > > # paypal urls need special treatment > # (r'^checkout/pay/$', > 'payment.modules.paypal.checkout_step2.pay_ship_info', > # {'SSL': False}, 'satchmo_checkout-step2'), > # (r'^checkout/confirm/$', > 'paypal.checkout_step3.confirm_info', > # {'SSL': False}, 'satchmo_checkout- > step3'), > ), > > Hope this helps Chris. It looks like I may not have a payment > processor in my apps? > > Cheers > Rick > > On Mar 31, 1:19 pm, Chris Moffitt <[email protected]> wrote: > > > > > Looks like an issue with the payment processor. Which payment processor(s) > > do you have enabled in your settings and installed apps? > > > -Chris > > > On Wed, Mar 31, 2010 at 2:19 PM, Ricko <[email protected]> wrote: > > > Thanks for all your help on this btw Chris, it's much appreciated. > > > Satchmo looks cool and I really want to get it going. > > > > OK, did what you suggested, here is the bottom of the stack: > > > > File "/Library/Python/2.5/site-packages/Satchmo-0.9_pre-py2.5.egg/ > > > payment/urls.py", line 30, in <module> > > > urlpatterns += make_urlpatterns() > > > File "/Library/Python/2.5/site-packages/Satchmo-0.9_pre-py2.5.egg/ > > > payment/urls.py", line 27, in make_urlpatterns > > > patterns.append(url(config_value(key, 'URL_BASE'), [urlmodule])) > > > File "/Library/Python/2.5/site-packages/django/conf/urls/ > > > defaults.py", line 33, in url > > > urlconf_module, app_name, namespace = view > > > ValueError: need more than 1 value to unpack > > > > Is this more useful? > > > > Cheers > > > Rick > > > > On Mar 31, 12:04 pm, Chris Moffitt <[email protected]> wrote: > > > > There's an error in your install somewhere and the template rendering is > > > > making it a bit difficult to track down. > > > > > Take a look at the code for the search form - > > >http://www.bitbucket.org/chris1610/satchmo/src/043feaf2306b/satchmo/a... > > > > > It's pretty simple, so try this: > > > > python manage.py shell > > > > from django.core import urlresolvers > > > > url = urlresolvers.reverse('satchmo_search') > > > > > The resulting error message should be a bit more useful. > > > > > -Chris > > > > > On Wed, Mar 31, 2010 at 1:34 PM, Ricko <[email protected]> wrote: > > > > > Running satchmo_check produces: > > > > > > Checking your satchmo configuration. > > > > > Using Django version 1.1.1 > > > > > Using Satchmo version 0.9-pre-SVN-unknown > > > > > Your configuration has no errors. > > > > > > Satchmo.log just had a warning about not having SSL, which I > > > > > subsequently installed, made no difference to the error. > > > > > > I tried commenting out the 'django.contrib.admindocs' app in the > > > > > settings.py, again no difference. Stumped. > > > > > > Cheers > > > > > Rick > > > > > > On Mar 30, 8:15 pm, Chris Moffitt <[email protected]> wrote: > > > > > > This error generally means there is something not installed > > > > > > correctly > > > and > > > > > > you're getting an error somewhere else but it's showing up when > > > trying to > > > > > > render your template. > > > > > > > Do you see anything in your satchmo.log file? > > > > > > Also, does python manage.py satchmo_check report any errors? > > > > > > > -Chris > > > > > > > On Tue, Mar 30, 2010 at 6:57 PM, Ricko <[email protected]> > > > wrote: > > > > > > > Yes, in my Satchmo settings.py file. > > > > > > > > Cheers > > > > > > > Rick > > > > > > > > On Mar 30, 4:51 pm, Chris Moffitt <[email protected]> wrote: > > > > > > > > Do you have 'django.contrib.admindocs' in your > > > INSTALLED_APPS? > > > > > > > > > -Chris > > > > > > > > > On Tue, Mar 30, 2010 at 6:45 PM, Ricko <[email protected]> > > > > > wrote: > > > > > > > > > Hi all, > > > > > > > > > > Managed to get my satchmo webserver up and running with the > > > help > > > > > from > > > > > > > > > this Group. I have another issue though. My server launches > > > fine, > > > > > but > > > > > > > > > when I try to go the default url '/store', I get this stack: > > > > > > > > > > Template error > > > > > > > > > > In template /Library/Python/2.5/site-packages/Satchmo-0.9_pre- > > > > > > > > > py2.5.egg/satchmo_store/shop/templates/base.html, error at > > > > > > > > > line > > > 26 > > > > > > > > > Caught an exception while rendering: need more than 1 value to > > > > > unpack > > > > > > > > > > Its complaining about this variable (inside the markup): > > > > > > > > > > <div> > > > > > > > > > {% satchmo_search_form %} > > > > > > > > > </div> > > > > > > > > > > I get the same error trying the Admin page, for the same page, > > > but > > > > > a > > > > > > > > > different variable: > > > > > > > > > > {% url django-admindocs-docroot as docsroot %} > > > > > > > > > > Cheers > > > > > > > > > Rick > > > > > > > > > > -- > > > > > > > > > You received this message because you are subscribed to the > > > Google > > > > > > > Groups > > > > > > > > > "Satchmo users" group. > > > > > > > > > To post to this group, send email to > > > > > [email protected]. > > > > > > > > > To unsubscribe from this group, send email to > > > > > > > > > [email protected]<satchmo-users%2bunsubscr...@goog > > > > > > > > > legroups.com> > > > <satchmo-users%[email protected]<satchmo-users%252Bunsubscribe > > > @googlegroups.com> > > > > > > <satchmo-users%[email protected]<satchmo-users%252Bunsubscribe > > > > > @googlegroups.com> > > > <satchmo-users%[email protected]<satchmo-users%25252Bunsubsc > > > [email protected]> > > > > > > > > <satchmo-users%[email protected]<satchmo-users%252Bunsubscribe > > > > > > > @googlegroups.com> > > > <satchmo-users%[email protected]<satchmo-users%25252Bunsubsc > > > [email protected]> > > > > > > <satchmo-users%[email protected]<satchmo-users%25252Bunsubsc > > > > > [email protected]> > > > <satchmo-users%[email protected]<satchmo-users%2525252Buns > > > [email protected]> > > > > > > > > > > . > > > > > > > > > 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 > > > [email protected]. > > > > > > > To unsubscribe from this group, send email to > > > > > > > [email protected]<satchmo-users%2bunsubscr...@goog > > > > > > > legroups.com> > > > <satchmo-users%[email protected]<satchmo-users%252Bunsubscribe > > > @googlegroups.com> > > > > > > <satchmo-users%[email protected]<satchmo-users%252Bunsubscribe > > > > > @googlegroups.com> > > > <satchmo-users%[email protected]<satchmo-users%25252Bunsubsc > > > [email protected]> > > > > > > > > . > > > > > > > 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 [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<satchmo-users%2bunsubscr...@goog > > > > > legroups.com> > > > <satchmo-users%[email protected]<satchmo-users%252Bunsubscribe > > > @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 [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<satchmo-users%2bunsubscr...@goog > > > legroups.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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
