ALT Linux Bugzilla
– Attachment 10401 Details for
Bug 42129
weboob не выдаёт информацию о рецепте в модуле recipes
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
log ошибки recipes
weboob log recipes (text/plain), 4.10 KB, created by
borisovsn
on 2022-03-15 09:33:20 MSK
(
hide
)
Description:
log ошибки recipes
Filename:
MIME Type:
Creator:
borisovsn
Created:
2022-03-15 09:33:20 MSK
Size:
4.10 KB
patch
obsolete
>cookboob> info 38813 >2022-03-15 09:19:23,244:DEBUG:bcall:2.0:bcall.py:92:backend_process <Backend 'marmiton'>: Calling function <bound method Application._do_complete of <weboob.applications.cookboob.cookboob.Cookboob object at 0x7ff23512d370>> >2022-03-15 09:19:23,286:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:452:_make_request https://www.marmiton.org:443 "GET /recettes/recette_38813.aspx HTTP/1.1" 301 0 >2022-03-15 09:19:23,324:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:452:_make_request https://www.marmiton.org:443 "GET /recettes/recette_gratin-de-gnocchis-frais-aux-champignons_38813.aspx HTTP/1.1" 200 None >2022-03-15 09:19:23,363:DEBUG:backend.marmiton.browser:2.0:browsers.py:720:internal_callback Handle https://www.marmiton.org/recettes/recette_gratin-de-gnocchis-frais-aux-champignons_38813.aspx with RecipePage >2022-03-15 09:19:23,369:WARNING:backend.marmiton.browser.recipepage.obj_picture:2.0:elements.py:384:handle_attr Attribute url (in /root/.local/share/weboob/modules/2.0/marmiton/pages.py:72) raises ItemNotFound("Element ['image'] not found") >2022-03-15 09:19:23,369:WARNING:backend.marmiton.browser.recipepage.get_recipe:2.0:elements.py:384:handle_attr Attribute picture (in /root/.local/share/weboob/modules/2.0/marmiton/pages.py:57) raises ItemNotFound("Element ['image'] not found") >2022-03-15 09:19:23,370:DEBUG:bcall:2.0:bcall.py:98:backend_process <Backend 'marmiton'>: Called function <bound method Application._do_complete of <weboob.applications.cookboob.cookboob.Cookboob object at 0x7ff23512d370>> raised an error: ItemNotFound("Element ['image'] not found") >Bug(marmiton): Element ['image'] not found >(If --auto-update is passed on the command-line, new versions of the module will be checked automatically) >Traceback (most recent call last): > File "/usr/lib/python3/site-packages/weboob/core/bcall.py", line 94, in backend_process > result = function(backend, *args, **kwargs) > File "/usr/lib/python3/site-packages/weboob/tools/application/base.py", line 318, in _do_complete > res = getattr(backend, function)(*args, **kwargs) > File "/root/.local/share/weboob/modules/2.0/marmiton/module.py", line 40, in get_recipe > return self.browser.get_recipe(id) > File "/root/.local/share/weboob/modules/2.0/marmiton/browser.py", line 42, in get_recipe > recipe = self.recipe.go(id=id).get_recipe(obj=recipe) > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 90, in inner > return klass(self)(*args, **kwargs) > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 341, in __call__ > for obj in self: > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 360, in __iter__ > self.handle_attr(attr, getattr(self, 'obj_%s' % attr)) > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 377, in handle_attr > value = self.use_selector(func, key=key) > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 129, in use_selector > value = func(self.page, self, self.el)() > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 341, in __call__ > for obj in self: > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 360, in __iter__ > self.handle_attr(attr, getattr(self, 'obj_%s' % attr)) > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 377, in handle_attr > value = self.use_selector(func, key=key) > File "/usr/lib/python3/site-packages/weboob/browser/elements.py", line 127, in use_selector > value = func(self) > File "/usr/lib/python3/site-packages/weboob/browser/filters/base.py", line 184, in __call__ > return self.filter(self.select(self.selector, item)) > File "/usr/lib/python3/site-packages/weboob/browser/filters/base.py", line 133, in print_debug > res = function(self, value) > File "/usr/lib/python3/site-packages/weboob/browser/filters/json.py", line 60, in filter > return self.default_or_raise(ItemNotFound('Element %r not found' % self.selector)) > File "/usr/lib/python3/site-packages/weboob/browser/filters/base.py", line 71, in default_or_raise > raise exception >weboob.browser.filters.base.ItemNotFound: Element ['image'] not found >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42129
: 10401