Wednesday, June 26, 2019

Re: Heroku and DJango_Filters

It's not stupid to ask :)

You could run the "pip freeze" command and then see what pip on Heroku says it has.

Also, perhaps your virtual environment's site packages directory on Heroku is not on the Python path. I have had such a challenge on WebFaction, but having never used Heroku I wouldn't want to give you incorrect tips to solve it.

You can find out what's on your path by running the command "echo $PATH" without quotes and see if your virtual environment's path is in the PATH variable.

Kind regards,
Lloyd


Sent with Shift

On Wed, Jun 26, 2019 at 9:07 PM Charlotte Wood <charlotte.wood@epiccharterschools.org> wrote:
ok, stupid question....

is there a heroku pip install?

all of my dependencies are installed and listed on my requirements.txt file just like they're supposed to be.

do i pip install somewhere OTHER than my folder in my virtual environment?

i could be totally crazy, but i don't remember every using heroku pip install.....




Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

Zoom URL: https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site: https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckesson@epiccharterschools.org





On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube <zebra05@gmail.com> wrote:
It sounds like the package django-filters is not installed on your Heroku environment.

Do you have a dependency file suck as a Pipfile or requirements.txt? If you do, you will need to install all dependencies listed there on your Heroku server (at least those you need for production use).

Kind regards,
Lloyd


Sent with Shift

On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <charlotte.wood@epiccharterschools.org> wrote:
The only error I keep seeing is "No Module Found" for django-filters

But, I don't understand why it runs perfectly on my local host, every single page, then heroku just hates django filters.  I was hoping someone else had the same issues and remembered.  But, I will follow up with the error logs in a sec.  Thanks ya'll!!



Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

Zoom URL: https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site: https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckesson@epiccharterschools.org





On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube <zebra05@gmail.com> wrote:
Hi Charlotte,

What sort of error do you see?

Also, have your checked your logs on Heroku?

Lastly, if you have a sandbox on Heroku, you could run the site there in debug mode to get more specific error information.

Kind regards,
Lloyd


Sent with Shift

On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <charlotte.wood@epiccharterschools.org> wrote:
I need help.

I've followed the directions to a "T."  

1.  My site works PERFECTLY on my local host in my virtual environment.  NO errors, migrates fine, runs fine and looks beautiful.

2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.

3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run it.  I can find literally no documentation except for the textbook info from DJango, which doesn't troubleshoot at all.

Has anyone had this trouble already?

I have to get this up and running!

ANY suggestions would be helpful.  ANY.....


Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

Zoom URL: https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site: https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckesson@epiccharterschools.org



--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%40mail.gmail.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+unsubscribe@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/CAH-SnCC0B1FYJpEtZYo72x-_uTwRMdBojg1mw9bkxw1tdWRe5Q%40mail.gmail.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+unsubscribe@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/CAPZR0N7Okz5pk3aM24pD7kQHri4BZvqripKtimdbs5cHSs9GLg%40mail.gmail.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+unsubscribe@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/CAH-SnCAypOEPdoDpS%3DqXJkH76yE-hKdGSF9nd2gvNHV4xyCyew%40mail.gmail.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+unsubscribe@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/CAPZR0N4dBX_oR8EWh1sG0WBEmE%3DVqnTRLTR1EeRsKnWRpqdCOQ%40mail.gmail.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+unsubscribe@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/CAH-SnCD0SzTXM5o7YyxL5ge3YGKV_rLCBhV-%2B6eLSACHH3fFKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment