Re: python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread Melvyn Sopacua
On maandag 4 juni 2018 12:58:39 CEST Gerald Brown wrote:
> I have been using ./manage.py shell for awhile and now all of a sudden it
> has stopped working with the error "AttributeError: 'property' object has
> no attribute '__dict__'".  I get the same error with anything I enter after
> the ./manage.py (i.e. runserver, dbshell, etc)

You most likely switched to Python 3. But a backtrace would help a lot to 
understand the cause.

-- 
Melvyn Sopacua

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3093672.KM6zN6OXxa%40fritzbook.
For more options, visit https://groups.google.com/d/optout.


Re: python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread Andréas Kühne
Hi,

I got really strange issues when I upgraded my ubuntu machine from 17.04 to
17.10 when they changed the python version that was shipped with ubuntu
(only going from python3.5 to 3.6 I THINK). This made all of my python
environments stop working and I had to recreate them from scratch. Have you
tried reinitializing the virtual environment?

Regards,

Andréas

2018-06-04 13:01 GMT+02:00 Gerald Brown :

>
>
> On Monday, June 4, 2018 at 6:58:39 PM UTC+8, Gerald Brown wrote:
>>
>> I have been using ./manage.py shell for awhile and now all of a sudden it
>> has stopped working with the error "AttributeError: 'property' object has
>> no attribute '__dict__'".  I get the same error with anything I enter after
>> the ./manage.py (i.e. runserver, dbshell, etc)
>>
>> I think it might have to do with something I added to my requirements.txt
>> file.
>>
>> Does anyone know of a way other than committing out the requirements.txt
>> one-by-one on how to solve this problem?
>>
>
> By the way it is running in a pyvenvwrapper virtual environment .
>
>>
>> Thanks.
>>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/b0b8631b-990b-4123-bc14-e10cf9b1406a%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCeZ7j4-kgFZUCHdBT1zyRKO3RxsCYqj90cg3HDM6eUJ0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread 'Anthony Flury' via Django users

On 04/06/18 12:01, Gerald Brown wrote:



On Monday, June 4, 2018 at 6:58:39 PM UTC+8, Gerald Brown wrote:

I have been using ./manage.py shell for awhile and now all of a
sudden it has stopped working with the error "AttributeError:
'property' object has no attribute '__dict__'".  I get the same
error with anything I enter after the ./manage.py (i.e. runserver,
dbshell, etc)

I think it might have to do with something I added to my
requirements.txt file.

Does anyone know of a way other than committing out the
requirements.txt one-by-one on how to solve this problem?


By the way it is running in a pyvenvwrapper virtual environment .


if everything is running in your virtual enviornment, do a `pip freeze` 
in both environments - and then do a diff between them - that at least 
will tell you which packages you have in the non-working environment 
which might be different from the working environment; there might be a 
lot though.


Have you possibly upgraded your django installation in the non-working 
environment - I can't image any 3rd Party non django installations 
breaking the Django such that the manage.py now doesn't work.


the other possibility is that your default python is different between 
the two environment.



Thanks.

--
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+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0b8631b-990b-4123-bc14-e10cf9b1406a%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.



--
--
Anthony Flury
email : *anthony.fl...@btinternet.com*
Twitter : *@TonyFlury *

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1c00d406-ddc7-b4ff-dfe3-efbab446a07e%40btinternet.com.
For more options, visit https://groups.google.com/d/optout.


Re: python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread Gerald Brown


On Monday, June 4, 2018 at 6:58:39 PM UTC+8, Gerald Brown wrote:
>
> I have been using ./manage.py shell for awhile and now all of a sudden it 
> has stopped working with the error "AttributeError: 'property' object has 
> no attribute '__dict__'".  I get the same error with anything I enter after 
> the ./manage.py (i.e. runserver, dbshell, etc)
>
> I think it might have to do with something I added to my requirements.txt 
> file.
>
> Does anyone know of a way other than committing out the requirements.txt 
> one-by-one on how to solve this problem?
>

By the way it is running in a pyvenvwrapper virtual environment .

>
> Thanks.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0b8631b-990b-4123-bc14-e10cf9b1406a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread Gerald Brown
I have been using ./manage.py shell for awhile and now all of a sudden it 
has stopped working with the error "AttributeError: 'property' object has 
no attribute '__dict__'".  I get the same error with anything I enter after 
the ./manage.py (i.e. runserver, dbshell, etc)

I think it might have to do with something I added to my requirements.txt 
file.

Does anyone know of a way other than committing out the requirements.txt 
one-by-one on how to solve this problem?

Thanks.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dc220707-4c2a-46bd-a7d4-622cec1aec83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.