Hola compañeros.
LLevo un tiempo atascado con este tema.
He añadido a mi proyecto Filebrowser-no-grapelli y lo he integrado con tinymce y funciona todo bien excepto cuando pretendo crear una entrada desde el admin (un post) y le doy a insertar una imagen.
En ese momento agrego la imagen pinchando en la zona de tinymce para poder agregarla y me sale el cuadro de filebrowser, escojo una de ellas y me la trae al post, pero aqui ya esta el problema porque no me trae la imagen , sino la miniatura como que no ha encontrado esa imagen y al guardarlo el post da errores aunque lo guarda.
Errores al seleccionar la imagen:
[27/Nov/2012 12:52:05] "GET /uploads/uploads/logo.jpg HTTP/1.1" 404 176955
[27/Nov/2012 12:52:31] "GET /admin/filebrowser/browse/?pop=2&type=image HTTP/1.1" 200 229953
[27/Nov/2012 12:52:33] "GET /uploads/uploads/logo.jpg HTTP/1.1" 404 176979
[27/Nov/2012 12:52:41] "GET /uploads/uploads/logo.jpg
HTTP/1.1" 404 176954
Errores al guardar el post:
[27/Nov/2012 12:52:41] "GET /uploads/uploads/logo.jpg HTTP/1.1" 404 176954
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
self.finish_response()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 127, in finish_response
self.write(data)
File "/usr/lib/python2.7/wsgiref/handlers.py", line 210, in write
self.send_headers()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 268, in send_headers
self.send_preamble()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 192, in send_preamble
'Date: %s\r\n' % format_date_time(time.time())
File "/usr/lib/python2.7/socket.py", line 324, in write
self.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 53596)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/wolvelopez/Programacion/detapasyvinos/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 139, in __init__
super(WSGIRequestHandler, self).__init__(*args, **kwargs)
File "/usr/lib/python2.7/SocketServer.py", line 641, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 694, in finish
self.wfile.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
[27/Nov/2012 12:52:56] "POST /admin/blog/posts/6/ HTTP/1.1" 200 192809
[27/Nov/2012 12:53:03] "GET /admin/blog/posts/ HTTP/1.1" 200 192242
[27/Nov/2012 12:53:03] "GET /admin/jsi18n/ HTTP/1.1" 200 5307
Muchas gracias de antemano.
Si necesitais informacion de algun tipo me lo comunicais.