--
You received this message because you are subscribed to the Google Groups "Miro Community Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-deve...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
pip install -e git+git://github.com/pculture/mirocomm...@1.10.X#egg=mirocommunity --no-deps" and then "pip install -r requirements.txt"
I had assumed that would install the latest branch of MC and its dependencies. Should I have specified a specific version of the requirements file?
As for permissions, the media folder has the same specific permissions that I use for the project and app folders, namely skiddman:skiddman, but I've tried several variations, root:apache, apache:apache to no avail. When collectstatic runs it manages to mkdir new folders in the /static directory, so I am surprised there would be any difference with the /media folder, especially when they're under the same parent 'skidd_project' and use the same permissions.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-development+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-deve...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-development+unsubsc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-deve...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-deve...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Miro Community Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-deve...@googlegroups.com.
Traceback (most recent call last):
File "/opt/virtual-env/mc/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/virtual-env/mc/lib/python2.7/site-packages/django/views/generic/base.py", line 48, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/virtual-env/mc/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in dispatch
return handler(request, *args, **kwargs)
File "/opt/virtual-env/mc/src/django-daguerre/daguerre/views.py", line 29, in get
adjusted = helper.adjust()
File "/opt/virtual-env/mc/src/django-daguerre/daguerre/utils/adjustments.py", line 488, in adjust
final_path = save_image(im, storage_path, format=format, storage=default_storage)
File "/opt/virtual-env/mc/src/django-daguerre/daguerre/utils/__init__.py", line 32, in save_image
image.save(temp, format=format)
File "/opt/virtual-env/mc/lib/python2.7/site-packages/PIL/Image.py", line 1467, in save
save_handler(self, fp, filename)
File "/opt/virtual-env/mc/lib/python2.7/site-packages/PIL/JpegImagePlugin.py", line 557, in _save
ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
File "/opt/virtual-env/mc/lib/python2.7/site-packages/PIL/ImageFile.py", line 466, in _save
e = Image._getencoder(im.mode, e, a, im.encoderconfig)
File "/opt/virtual-env/mc/lib/python2.7/site-packages/PIL/Image.py", line 395, in _getencoder
return encoder(mode, *args + extra)
TypeError: function takes at most 11 arguments (13 given)
<WSGIRequest
path:/thumbs/adjust/localtv/video/thumbnail/2013/05/06/fde81b4984903fc82101jpeg,
GET:<QueryDict: {u'a': [u'fill'], u'h': [u'216'], u's': [u'7b7e39e5d8a58a876157'], u'w': [u'300']}>,
POST:<QueryDict: {}>,
COOKIES:{'__qca': 'P0-375217138-1345395413573',
'__utma': '121474889.628815309.1367168258.1367878389.1367917662.7',
'__utmb': '121474889.3.9.1367919519214',
'__utmc': '121474889',
'__utmz': '121474889.1367168258.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'csrftoken': 'kspROHYYAbrf8BNJytkHrucR43A8dGO5',
'fbm_180777951944665': 'base_domain=.skiddmark.com',
'sessionid': 'd6c0d74b26e409503a1d14edd88f39cc'},
META:{'CSRF_COOKIE': 'kspROHYYAbrf8BNJytkHrucR43A8dGO5',
'DOCUMENT_ROOT': '/opt/virtual-env/mc/src/mirocommunity/localtv/templates',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'image/png,image/*;q=0.8,*/*;q=0.5',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': '__qca=P0-375217138-1345395413573; fbm_180777951944665=base_domain=.skiddmark.com; __utma=180072230.139882935.1351241210.1356524321.1361990452.33; __utmz=180072230.1351241210.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); csrftoken=kspROHYYAbrf8BNJytkHrucR43A8dGO5; sessionid=d6c0d74b26e409503a1d14edd88f39cc; __utma=121474889.628815309.1367168258.1367878389.1367917662.7; __utmz=121474889.1367168258.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=180072230; __utmc=121474889; __utmb=121474889.3.9.1367919519214',
'HTTP_HOST': 'player.skiddmark.com',
'HTTP_REFERER': 'http://player.skiddmark.com/video/56763/7379-hot-lap-with-the-new-pors',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; rv:20.0) Gecko/20100101 Firefox/20.0',
'PATH_INFO': u'/thumbs/adjust/localtv/video/thumbnail/2013/05/06/fde81b4984903fc82101jpeg',
'PATH_TRANSLATED': '/opt/virtual-env/mc/src/mirocommunity/test_project/test_project/wsgi.py/thumbs/adjust/localtv/video/thumbnail/2013/05/06/fde81b4984903fc82101jpeg',
'QUERY_STRING': 'a=fill&h=216&s=7b7e39e5d8a58a876157&w=300',
'REMOTE_ADDR': '86.138.206.220',
'REMOTE_PORT': '64812',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/thumbs/adjust/localtv/video/thumbnail/2013/05/06/fde81b4984903fc82101jpeg?a=fill&h=216&s=7b7e39e5d8a58a876157&w=300',
'SCRIPT_FILENAME': '/opt/virtual-env/mc/src/mirocommunity/test_project/test_project/wsgi.py',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '184.106.218.149',
'SERVER_ADMIN': 'sup...@fitchmedia.com',
'SERVER_NAME': 'player.skiddmark.com',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.15 (CentOS) Server at player.skiddmark.com Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.15 (CentOS)',
'mod_wsgi.application_group': '',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'player.skiddmark.com',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 3),
'wsgi.errors': <mod_wsgi.Log object at 0x7fcedc51ff70>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fcefaa3ddc8>,
'wsgi.input': <mod_wsgi.Input object at 0x7fcedc51ff30>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 1)}>
I have read elsewhere this might be a problem with Pillow - https://github.com/sorl/sorl-thumbnail/issues/150 - any advice?
IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`scomc`.`daguerre_adjustedimage`, CONSTRAINT `image_id_refs_id_8e4f6ca3` FOREIGN KEY (`image_id`) REFERENCES `daguerre_image` (`id`))')
As before, I'm unsure why, but will keep digging. Grateful for any suggestions..--
To unsubscribe from this group and stop receiving emails from it, send an email to miro-community-development+unsub...@googlegroups.com.