![]() ![]() > 29 page_count = _page_count(pdf_path, userpw)ģ1 if thread_count 165 raise Exception('Unable to get page count. ~/.conda/envs/dc/lib/python3.5/site-packages/pdf2image/pdf2image.py in convert_from_path(pdf_path, dpi, output_folder, first_page, last_page, fmt, thread_count, userpw) > 1 images = convert_from_path('/home/dianad/testing/UDC-000280.pdf', output_folder='/home/dianad/testing', first_page=1, last_page=1, fmt='jpg') This Technical Design Report describes the ongoing developments and plans towards the upgrade of the CMS Level-1 trigger for the High-Luminosity Large Hadron Collider. > 163 return int(re.search(r'Pages:\s (\d )', out.decode("utf8", "ignore")).group(1))ĪttributeError: 'NoneType' object has no attribute 'group'ĭuring handling of the above exception, another exception occurred:Įxception Traceback (most recent call last) The Phase-2 Upgrade of the CMS Level-1 Trigger. ~/.conda/envs/dc/lib/python3.5/site-packages/pdf2image/pdf2image.py in _page_count(pdf_path, userpw)ġ62 # This will throw if we are unable to get page count In general you should run on these with the release with which they were produced (in particular for KLMpreX releases) One can easily find CMS.RelVal samples using DAS interface. These samples have been produced to validate CMSSW pre-releases and releases and the production workflow. In : from pdf2image import * In : images = convert_from_path('/home/dianad/testing/UDC-000280.pdf', output_folder='/home/dianad/testing', first_page=1,ĪttributeError Traceback (most recent call last) There are CMS.RelVal samples for all major releases. I installed poppler, but I'm still getting an error. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |