richie 3.1.3.dev2__py2.py3-none-any.whl → 3.1.3.dev3__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of richie might be problematic. Click here for more details.

@@ -54,13 +54,14 @@ def get_picture_info(instance, preset_name):
54
54
  options.update(location_dict)
55
55
  try:
56
56
  picture_info["src"] = thumbnailer.get_thumbnail(options).url
57
- except ValueError as exc:
57
+ except Exception as exc: # pylint: disable=broad-exception-caught
58
58
  logger.error(
59
59
  "Error while generating thumbnail for %s with %s: %s",
60
60
  instance.picture,
61
61
  options,
62
62
  exc,
63
63
  )
64
+ return None
64
65
 
65
66
  # - srcset
66
67
  srcset = []
@@ -70,7 +71,7 @@ def get_picture_info(instance, preset_name):
70
71
  try:
71
72
  url = thumbnailer.get_thumbnail(options).url
72
73
  srcset.append(f"{url:s} {info['descriptor']:s}")
73
- except ValueError as exc:
74
+ except Exception as exc: # pylint: disable=broad-exception-caught
74
75
  logger.error(
75
76
  "Error while generating thumbnail for %s with %s: %s",
76
77
  instance.picture,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: richie
3
- Version: 3.1.3.dev2
3
+ Version: 3.1.3.dev3
4
4
  Summary: A CMS to build learning portals for open education
5
5
  Author-email: "Open FUN (France Université Numérique)" <fun.dev@fun-mooc.fr>
6
6
  License: MIT License
@@ -1270,7 +1270,7 @@ richie/plugins/simple_picture/cms_plugins.py,sha256=lOOCeT3i-c09csJef0aDjcjxgmdI
1270
1270
  richie/plugins/simple_picture/defaults.py,sha256=kuRx6XesGMbLoO9I9X1k96o1BfaLW9nH3op8ozuVpnA,567
1271
1271
  richie/plugins/simple_picture/factories.py,sha256=J3g2e8TpSqTQAvAov1LaNTPythQ85V9eG6PcJiI0QUw,396
1272
1272
  richie/plugins/simple_picture/forms.py,sha256=QgzrpWW6M-Tz7eO_Sw57PeOfLSY5-fyvW6AfL1pQBSo,325
1273
- richie/plugins/simple_picture/helpers.py,sha256=4Hi_4_7cpOKB9Xhhjj1kuLNcnz7sNYRCEJGzLle4nZM,2524
1273
+ richie/plugins/simple_picture/helpers.py,sha256=KlPcdBMGXlFoLx5ZBarbkpcHKpRz_hA8kupP-mg06r8,2626
1274
1274
  richie/plugins/simple_picture/templates/richie/simple_picture/picture.html,sha256=93nk3QA4sKZDj0F0a7kTnS9lbMluUfm02tsBz6NUd5g,417
1275
1275
  richie/plugins/simple_text_ckeditor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1276
1276
  richie/plugins/simple_text_ckeditor/cms_plugins.py,sha256=eVFJGafPoa7TpY6Dfztcz_xw6iBuBAMV9MzkhqndXgE,2501
@@ -2483,9 +2483,9 @@ richie/static/richie/js/build/99870.90b7d4762235189dc2fd.index.js,sha256=4CC19Rd
2483
2483
  richie/static/richie/js/build/99895.90b7d4762235189dc2fd.index.js,sha256=Pi0STMa7ldUMZ202X_lr0p_--hmkab2RjmSwLTNqKKo,2570
2484
2484
  richie/static/richie/js/build/99953.90b7d4762235189dc2fd.index.js,sha256=OWoLPJnHrmvF3HBQPgXooAGo5E0yJpJ7QTFHFghJpI8,135
2485
2485
  richie/static/richie/js/build/index.js,sha256=_HdHfK6rZ3ETFe_WF0NBm8AsXDAgbSDYxIUYj0RjuwM,1332827
2486
- richie-3.1.3.dev2.dist-info/licenses/LICENSE,sha256=5LKjFIE1kpKzBfR2iwq_RGHhHM5XawdlfZrcHTsCLpA,1079
2487
- richie-3.1.3.dev2.dist-info/METADATA,sha256=-Ca42dkUjsS7PxIfP_8bdeEeEXPhf5ViLScDOYr_qeo,7033
2488
- richie-3.1.3.dev2.dist-info/WHEEL,sha256=egKm5cKfE6OqlHwodY8Jjp4yqZDBXgsj09UsV5ojd_U,109
2489
- richie-3.1.3.dev2.dist-info/top_level.txt,sha256=WJvFAAHtUQ5T5MOuG6jRynDJG9kVfl4jtuf1qxIXND8,16
2490
- richie-3.1.3.dev2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2491
- richie-3.1.3.dev2.dist-info/RECORD,,
2486
+ richie-3.1.3.dev3.dist-info/licenses/LICENSE,sha256=5LKjFIE1kpKzBfR2iwq_RGHhHM5XawdlfZrcHTsCLpA,1079
2487
+ richie-3.1.3.dev3.dist-info/METADATA,sha256=FrdjlM0nXBfhv6ErgsJeN2Hu18IMkMoE8UGBZVo_Now,7033
2488
+ richie-3.1.3.dev3.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
2489
+ richie-3.1.3.dev3.dist-info/top_level.txt,sha256=WJvFAAHtUQ5T5MOuG6jRynDJG9kVfl4jtuf1qxIXND8,16
2490
+ richie-3.1.3.dev3.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2491
+ richie-3.1.3.dev3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any