Ubuntu 13.04 - Python 2.7.4 - Django 1.4.5 - Satchmo_Store 0.9.3
I am just starting to learn python as a beginning programmer, with django
on my list of things to learn, and want to be able to play with Satchmo as
I progress in understanding.
I am thinking I have only have two problems left to fix on my satchmo store
install before I can move on to the store tutor. I'd greatly appreciate
your help and insight as I have been stuck here for some time now.
I went to Ubuntu 13.04 and Satchmo_Store 0.9.3 because it seemed the
simplest to obtain, as I was unclear about how to install Satchmo 0.9.2 and
get all the dependency versions correct as both the quick and long versions
of the install seem to point at 0.9.3 version. It was confusing that they
each had different paths in their installs also! So, I have installed
satchmo on my future intended server which lives right now on my home
network. It doesn't have any graphics support.
My configuration checks out as good, as you can see here:
root@10:/home/ubuntu/src/satchmo/scripts/store# python manage.py
satchmo_check
Checking your satchmo configuration.
Using Django version 1.4.5
Using Satchmo version 0.9.3-pre hg-2547:02e3fd12a11d
Your configuration is OK. (no errors)
root@10:/home/ubuntu/src/satchmo/scripts/store#
I have "python manage.py runserver" running in Console#1. However, when I
try to browse to the store using the lynx browser `
http://127.0.0.1:8000/shop` in Console#2, Terminal#1 running the store's
server shows this results in a failed attempt:
[25/Aug/2013 12:55:12] "GET /shop HTTP/1.0" 404 6408
So....evidently the greeting page is not being found...
When I run Satchmo's second test, it shows me the following two errors
which appear to me to be the same error. Either way, I do not understand
enough to know what it is trying to tell me or how to go about fixing it--
root@10:/home/ubuntu/src/satchmo/scripts/store# python manage.py test
Creating test database for alias 'default'...
FAIL: test_sitemap_index_with_https_request
(django.contrib.sitemaps.tests.https.HTTPSDetectionSitemapTests)
A sitemap index requested in HTTPS is rendered with HTTPS links
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/django/contrib/sitemaps/tests/https.py",
line 40, in test_sitemap_index_with_https_request
""" % self.base_url.replace('http://', 'https://'))
AssertionError: '' != '<?xml version="1.0"
encoding="UTF-8"?>\n<sitemapindex xmlns=
"http://www.sitemaps.org/schemas/sitemap/0.9"<http://www.sitemaps.org/schemas/sitemap/0.9>
>\n<sitemap><loc>https://example.com/simple/sitemap-simple.xml
</loc></sitemap>\n</sitemapindex>\n'
======================================================================
FAIL: test_sitemap_section_with_https_request
(django.contrib.sitemaps.tests.https.HTTPSDetectionSitemapTests)
A sitemap section requested in HTTPS is rendered with HTTPS links
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/django/contrib/sitemaps/tests/https.py",
line 49, in test_sitemap_section_with_https_request
""" % (self.base_url.replace('http://', 'https://'), date.today()))
AssertionError: '' != '<?xml version="1.0" encoding="UTF-8"?>\n<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"<http://www.sitemaps.org/schemas/sitemap/0.9>
>\n<url><loc>https://example.com/location/
</loc><lastmod>2013-08-23</lastmod><changefreq>never</changefreq><priority>0.5</priority></url>\n</urlset>\n'
----------------------------------------------------------------------
Ran 646 tests in 400.243s
FAILED (failures=2, skipped=2)
Destroying test database for alias 'default'...
root@10:/home/ubuntu/src/satchmo/scripts/store#
I greatly appreciate your kind help, insight, and thoughts! Thanks!
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users.
For more options, visit https://groups.google.com/groups/opt_out.