Hi, guys. I don't know if this is the right place for this, but I'm
working on start-to-finish documentation for installing satchmo, and
I'm about 90% of the way there. I'm hitting a snag when I'm trying to
load sample store data:
Type 'yes' to load sample store data: yes
Creating site...
Creating Customers...
Creating Suppliers...
Creating Categories...
Creating products...
Creating product variations...
Traceback (most recent call last):
File "load_data.py", line 349, in <module>
load_data()
File "load_data.py", line 283, in load_data
pg1.create_products()
AttributeError: 'ConfigurableProduct' object has no attribute
'create_products'
I'm digging into it, but if anyone has more information about this
error or its solution I would be grateful.
Strangely, I'm also unable to log in as the superuser I create during
load_data.py. These two problems don't seem like they would be
related, but they lead me to believe I have steered wrong somewhere
along the way.
On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> Hi, guys. I don't know if this is the right place for this, but I'm > working on start-to-finish documentation for installing satchmo, and > I'm about 90% of the way there. I'm hitting a snag when I'm trying to > load sample store data:
> Type 'yes' to load sample store data: yes > Creating site... > Creating Customers... > Creating Suppliers... > Creating Categories... > Creating products... > Creating product variations... > Traceback (most recent call last): > File "load_data.py", line 349, in <module> > load_data() > File "load_data.py", line 283, in load_data > pg1.create_products() > AttributeError: 'ConfigurableProduct' object has no attribute > 'create_products'
> I'm digging into it, but if anyone has more information about this > error or its solution I would be grateful.
> Strangely, I'm also unable to log in as the superuser I create during > load_data.py. These two problems don't seem like they would be > related, but they lead me to believe I have steered wrong somewhere > along the way.
# python manage.py satchmo_load_store
Loading sample store data.
Creating site...
Creating Customers...
Creating Suppliers...
Creating Categories...
Creating products...
Creating product variations...
Create a test user...
Regarding not being able to sign in, I had an error in my satchmo.log
that said something like, "shop config not loaded, loading test
shop" (I am unable to get this error now-- I will try to reproduce).
> What version of Satchmo and Django are you using?
> What happens when you run this:
> python manage.py satchmo_load_store
> -Chris
> On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > Hi, guys. I don't know if this is the right place for this, but I'm
> > working on start-to-finish documentation for installing satchmo, and
> > I'm about 90% of the way there. I'm hitting a snag when I'm trying to
> > load sample store data:
> > Type 'yes' to load sample store data: yes
> > Creating site...
> > Creating Customers...
> > Creating Suppliers...
> > Creating Categories...
> > Creating products...
> > Creating product variations...
> > Traceback (most recent call last):
> > File "load_data.py", line 349, in <module>
> > load_data()
> > File "load_data.py", line 283, in load_data
> > pg1.create_products()
> > AttributeError: 'ConfigurableProduct' object has no attribute
> > 'create_products'
> > I'm digging into it, but if anyone has more information about this
> > error or its solution I would be grateful.
> > Strangely, I'm also unable to log in as the superuser I create during
> > load_data.py. These two problems don't seem like they would be
> > related, but they lead me to believe I have steered wrong somewhere
> > along the way.
satchmo.shop.models: WARNING No Shop Config found, using test shop
config.
I see the reference to Shop Config in satchmo/shop/models.py. I'm not
sure whether the admin superuser created during load_data.py is
related to this problem or not.
On May 8, 3:34 pm, Jay <jay.janshe...@gmail.com> wrote:
> Regarding not being able to sign in, I had an error in my satchmo.log
> that said something like, "shop config not loaded, loading test
> shop" (I am unable to get this error now-- I will try to reproduce).
> On May 8, 9:57 am, "Chris Moffitt" <ch...@moffitts.net> wrote:
> > What version of Satchmo and Django are you using?
> > What happens when you run this:
> > python manage.py satchmo_load_store
> > -Chris
> > On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > > Hi, guys. I don't know if this is the right place for this, but I'm
> > > working on start-to-finish documentation for installing satchmo, and
> > > I'm about 90% of the way there. I'm hitting a snag when I'm trying to
> > > load sample store data:
> > > Type 'yes' to load sample store data: yes
> > > Creating site...
> > > Creating Customers...
> > > Creating Suppliers...
> > > Creating Categories...
> > > Creating products...
> > > Creating product variations...
> > > Traceback (most recent call last):
> > > File "load_data.py", line 349, in <module>
> > > load_data()
> > > File "load_data.py", line 283, in load_data
> > > pg1.create_products()
> > > AttributeError: 'ConfigurableProduct' object has no attribute
> > > 'create_products'
> > > I'm digging into it, but if anyone has more information about this
> > > error or its solution I would be grateful.
> > > Strangely, I'm also unable to log in as the superuser I create during
> > > load_data.py. These two problems don't seem like they would be
> > > related, but they lead me to believe I have steered wrong somewhere
> > > along the way.
Ok... I figured out the problem loading the sample store data. I had
a version of load_data.py that did not match the version of satchmo I
had. Dumb mistake.
However, I am still left with the weirder and more serious problem of
not being able to sign in with the superuser created during
load_data.py. The error message I get on the login screen is, "Please
enter a correct username and password. Note that both fields are case-
sensitive." I get no errors in any of the logs. I am pushing each
button in the password very slowly... I'm certain I'm typing it
correctly. I'll keep digging to see if I can figure out what the
matter is.
Thanks again for your help.
On May 8, 5:24 pm, Jay <jay.janshe...@gmail.com> wrote:
> satchmo.shop.models: WARNING No Shop Config found, using test shop
> config.
> I see the reference to Shop Config in satchmo/shop/models.py. I'm not
> sure whether the admin superuser created during load_data.py is
> related to this problem or not.
> On May 8, 3:34 pm, Jay <jay.janshe...@gmail.com> wrote:
> > Regarding not being able to sign in, I had an error in my satchmo.log
> > that said something like, "shop config not loaded, loading test
> > shop" (I am unable to get this error now-- I will try to reproduce).
> > On May 8, 9:57 am, "Chris Moffitt" <ch...@moffitts.net> wrote:
> > > What version of Satchmo and Django are you using?
> > > What happens when you run this:
> > > python manage.py satchmo_load_store
> > > -Chris
> > > On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > > > Hi, guys. I don't know if this is the right place for this, but I'm
> > > > working on start-to-finish documentation for installing satchmo, and
> > > > I'm about 90% of the way there. I'm hitting a snag when I'm trying to
> > > > load sample store data:
> > > > I'm digging into it, but if anyone has more information about this
> > > > error or its solution I would be grateful.
> > > > Strangely, I'm also unable to log in as the superuser I create during
> > > > load_data.py. These two problems don't seem like they would be
> > > > related, but they lead me to believe I have steered wrong somewhere
> > > > along the way.
At the risk of being annoying, I should also add that the superuser
does, in fact, show up in the database with "is_staff" and
"is_superuser" true. It's either the hash process or the login
process that I seem to have borked.
On May 8, 5:24 pm, Jay <jay.janshe...@gmail.com> wrote:
> satchmo.shop.models: WARNING No Shop Config found, using test shop
> config.
> I see the reference to Shop Config in satchmo/shop/models.py. I'm not
> sure whether the admin superuser created during load_data.py is
> related to this problem or not.
> On May 8, 3:34 pm, Jay <jay.janshe...@gmail.com> wrote:
> > Regarding not being able to sign in, I had an error in my satchmo.log
> > that said something like, "shop config not loaded, loading test
> > shop" (I am unable to get this error now-- I will try to reproduce).
> > On May 8, 9:57 am, "Chris Moffitt" <ch...@moffitts.net> wrote:
> > > What version of Satchmo and Django are you using?
> > > What happens when you run this:
> > > python manage.py satchmo_load_store
> > > -Chris
> > > On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > > > Hi, guys. I don't know if this is the right place for this, but I'm
> > > > working on start-to-finish documentation for installing satchmo, and
> > > > I'm about 90% of the way there. I'm hitting a snag when I'm trying to
> > > > load sample store data:
> > > > I'm digging into it, but if anyone has more information about this
> > > > error or its solution I would be grateful.
> > > > Strangely, I'm also unable to log in as the superuser I create during
> > > > load_data.py. These two problems don't seem like they would be
> > > > related, but they lead me to believe I have steered wrong somewhere
> > > > along the way.
On Thu, May 8, 2008 at 4:55 PM, Jay <jay.janshe...@gmail.com> wrote:
> At the risk of being annoying, I should also add that the superuser > does, in fact, show up in the database with "is_staff" and > "is_superuser" true. It's either the hash process or the login > process that I seem to have borked.
> On May 8, 5:24 pm, Jay <jay.janshe...@gmail.com> wrote: > > Here is the error I get in satchmo.log:
> > satchmo.shop.models: WARNING No Shop Config found, using test shop > > config.
> > I see the reference to Shop Config in satchmo/shop/models.py. I'm not > > sure whether the admin superuser created during load_data.py is > > related to this problem or not.
> > On May 8, 3:34 pm, Jay <jay.janshe...@gmail.com> wrote:
> > > Regarding not being able to sign in, I had an error in my satchmo.log > > > that said something like, "shop config not loaded, loading test > > > shop" (I am unable to get this error now-- I will try to reproduce).
> > > On May 8, 9:57 am, "Chris Moffitt" <ch...@moffitts.net> wrote:
> > > > What version of Satchmo and Django are you using?
> > > > What happens when you run this:
> > > > python manage.py satchmo_load_store
> > > > -Chris
> > > > On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > > > > Hi, guys. I don't know if this is the right place for this, but > I'm > > > > > working on start-to-finish documentation for installing satchmo, > and > > > > > I'm about 90% of the way there. I'm hitting a snag when I'm trying > to > > > > > load sample store data:
> > > > > I'm digging into it, but if anyone has more information about this > > > > > error or its solution I would be grateful.
> > > > > Strangely, I'm also unable to log in as the superuser I create > during > > > > > load_data.py. These two problems don't seem like they would be > > > > > related, but they lead me to believe I have steered wrong somewhere > > > > > along the way.
> On Thu, May 8, 2008 at 4:55 PM, Jay <jay.janshe...@gmail.com> wrote:
> > At the risk of being annoying, I should also add that the superuser
> > does, in fact, show up in the database with "is_staff" and
> > "is_superuser" true. It's either the hash process or the login
> > process that I seem to have borked.
> > On May 8, 5:24 pm, Jay <jay.janshe...@gmail.com> wrote:
> > > Here is the error I get in satchmo.log:
> > > satchmo.shop.models: WARNING No Shop Config found, using test shop
> > > config.
> > > I see the reference to Shop Config in satchmo/shop/models.py. I'm not
> > > sure whether the admin superuser created during load_data.py is
> > > related to this problem or not.
> > > On May 8, 3:34 pm, Jay <jay.janshe...@gmail.com> wrote:
> > > > Regarding not being able to sign in, I had an error in my satchmo.log
> > > > that said something like, "shop config not loaded, loading test
> > > > shop" (I am unable to get this error now-- I will try to reproduce).
> > > > On May 8, 9:57 am, "Chris Moffitt" <ch...@moffitts.net> wrote:
> > > > > What version of Satchmo and Django are you using?
> > > > > What happens when you run this:
> > > > > python manage.py satchmo_load_store
> > > > > -Chris
> > > > > On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > > > > > Hi, guys. I don't know if this is the right place for this, but
> > I'm
> > > > > > working on start-to-finish documentation for installing satchmo,
> > and
> > > > > > I'm about 90% of the way there. I'm hitting a snag when I'm trying
> > to
> > > > > > load sample store data:
> > > > > > I'm digging into it, but if anyone has more information about this
> > > > > > error or its solution I would be grateful.
> > > > > > Strangely, I'm also unable to log in as the superuser I create
> > during
> > > > > > load_data.py. These two problems don't seem like they would be
> > > > > > related, but they lead me to believe I have steered wrong somewhere
> > > > > > along the way.
Also, for lack of a better place to put it at the moment, I'll
probably just leave the step-by-step document as it is (a published
google doc). If it's useful to anyone else, you're welcome to it.
It's a pretty thorough walkthrough for getting Satchmo up and running
on Slicehost or whatever Ubuntu server.
> On Thu, May 8, 2008 at 4:55 PM, Jay <jay.janshe...@gmail.com> wrote:
> > At the risk of being annoying, I should also add that the superuser
> > does, in fact, show up in the database with "is_staff" and
> > "is_superuser" true. It's either the hash process or the login
> > process that I seem to have borked.
> > On May 8, 5:24 pm, Jay <jay.janshe...@gmail.com> wrote:
> > > Here is the error I get in satchmo.log:
> > > satchmo.shop.models: WARNING No Shop Config found, using test shop
> > > config.
> > > I see the reference to Shop Config in satchmo/shop/models.py. I'm not
> > > sure whether the admin superuser created during load_data.py is
> > > related to this problem or not.
> > > On May 8, 3:34 pm, Jay <jay.janshe...@gmail.com> wrote:
> > > > Regarding not being able to sign in, I had an error in my satchmo.log
> > > > that said something like, "shop config not loaded, loading test
> > > > shop" (I am unable to get this error now-- I will try to reproduce).
> > > > On May 8, 9:57 am, "Chris Moffitt" <ch...@moffitts.net> wrote:
> > > > > What version of Satchmo and Django are you using?
> > > > > What happens when you run this:
> > > > > python manage.py satchmo_load_store
> > > > > -Chris
> > > > > On Wed, May 7, 2008 at 5:41 PM, Jay <jay.janshe...@gmail.com> wrote:
> > > > > > Hi, guys. I don't know if this is the right place for this, but
> > I'm
> > > > > > working on start-to-finish documentation for installing satchmo,
> > and
> > > > > > I'm about 90% of the way there. I'm hitting a snag when I'm trying
> > to
> > > > > > load sample store data: