Comments (9)
I can confirm that everything is now functioning as expected.
from django-classified.
@typonaut Can you please provide more details?
Please take a look to the demo project https://github.com/inoks/django-classified-demo
from django-classified.
I'd go through it step by step, but the demo site is not currently working:
https://django-classified.herokuapp.com/
Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
Let me know when you have a demo site working again and I'll recreate the problem.
Essentially, I created an account and uploaded an image file, but when I did this it created an error in the application and didn't load the image. You can probably see this is a problem as no other demo ads had images.
from django-classified.
@typonaut That should not be related to the image upload.
I have an issue with the free app quota usage on Heroku.
That demo app has received a lot of traffic recently, which is not covered by the free plan on the Heroku.
I will create a separate demo app instance on another cloud platform.
from django-classified.
So, I tried the demo site again, and I got the same response when I try to add an image file to the classified ad:
"RecursionError at /edit/56/
maximum recursion depth exceeded while calling a Python object"
I tried attaching this, but no luck, so here's a URL:
http://www.indx.co.uk/clive/django/classifieds/RecursionError_at__new_.htm
from django-classified.
I am now able to add images without error when submitting them. However, those uploaded images do not show in the browser.
The HTML gives a URL:
cache/f9/e9/f9e97fee4dce9a7a1c939645b6bf6fb1.jpg
runserver in terminal shows this (404)
Not Found: /django_classified/static/cache/f9/e9/f9e97fee4dce9a7a1c939645b6bf6fb1.jpg [05/Feb/2020 16:38:50] "GET /django_classified/static/cache/f9/e9/f9e97fee4dce9a7a1c939645b6bf6fb1.jpg HTTP/1.1" 404 5050
And I find the files actually here:
~/cache/f9/e9/f9e97fee4dce9a7a1c939645b6bf6fb1.jpg
Is there a setup step I am missing to link the requested URLs to the actual file locations?
Also, not sure it is necessary to with file types from the uploaded .png to a .jpg!?
from django-classified.
@typonaut Can you somehow share your project or some part of it, so I can investigate that issue?
It's not clear to me why this recursion error is happening.
Also, I notice you use a pretty old version of the demo app project.
from django-classified.
@typonaut Nevermind, I see why it's happening.
from django-classified.
This is fixed now.
from django-classified.
Related Issues (20)
- Where modify search form / post ad form HOT 1
- Not working with Python 3 HOT 4
- Por DOCs HOT 1
- Where is the "INSTALLED_APPS" HOT 1
- Having big challenges to start using this project HOT 1
- Django 3.x support
- Drop Python2 support
- Initial installation HOT 9
- 'django.contrib.humanize' needs to be in installed_apps HOT 1
- Problems with social_auth in demo project HOT 2
- Update veersion for distribution HOT 1
- Alphabetical sorting of groups and areas
- add a demo page HOT 1
- NameError: name 'patterns' is not defined HOT 2
- Livereload 404 Error HOT 1
- Missing installation instructions HOT 1
- App changes native item title in URL to latin
- URLs in item description field are unclickable text HOT 1
- Demo link doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-classified.