xanxan
Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Сработало или нет? (c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены. C:\Users\User>D:\111\download_article.py download_page https://www.retronews.fr/ journal/le-petit-marseillais/24-mars-1938/437/1806613/ 4 2024-02-02T00:53:00.508866+0400 INFO Fetching images for page 4 ... concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\concurrent\f utures\process.py", line 239, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "D:\111\image_utils.py", line 21, in reconstruct_article_image max_col, max_row = map(int, re.search(f"\d+-\d+/\d+-\d+-{page_to_reconstruct }-(\d+)-(\d+).jpg", AttributeError: 'NoneType' object has no attribute 'groups' """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\111\download_article.py", line 121, in <module> fire.Fire({ File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-package s\fire\core.py", line 138, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-package s\fire\core.py", line 463, in _Fire component, remaining_args = _CallAndUpdateTrace( File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-package s\fire\core.py", line 672, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "D:\111\download_article.py", line 106, in download_page asyncio.get_event_loop().run_until_complete(download_page_from_article(artic le_url, page=page)) File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\asyncio\base _events.py", line 616, in run_until_complete return future.result() File "D:\111\download_article.py", line 97, in download_page_from_article await loop.run_in_executor(executor, reconstruct_article_image, page, dirnam e ) AttributeError: 'NoneType' object has no attribute 'groups'] | Всего записей: 272 | Зарегистр. 15-12-2007 | Отправлено: 04:47 03-02-2024 | Исправлено: xanxan, 04:54 03-02-2024 |
|