Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Drawing page 85
  2. {'BookImageId': 'BKI273', 'BookMasterId': 'BK4', 'PageNo': 85, 'ImagePath': nan, 'LeftPos': 47.220001200000006, 'TopPos': 25.860000600000003, 'Width': 366.106689, 'Height': 543.282776, 'Scale': 0.0, 'Brightness': 0.0, 'Contrast': 0.0, 'Saturation': 0.0, 'ZoomFactor': 0.0, 'GrayScale': 0, 'Sepia': 0, 'RotAngle': 10.0, 'FlipHorizontal': 0, 'FlipVertical': 0, 'FitToPage': 0, 'LastLeft': 0.0, 'LastTop': 0.0, 'LastWidth': 0.0, 'LastHeight': 0.0, 'ModifiedDate': nan, 'FrameIncluded': 0, 'FrameWidth': 0, 'FrameColor': '0:0:0', 'CheckSum': 0, 'FileSize': 0, 'BGImage': 0, 'AutoCorrect': 0, 'Emboss': 0, 'Negative': 0, 'Xray': 0, 'Drawing': 0, 'Shadow': 0, 'ImgClipType': 0, 'Transparency': 1.0, 'FrameInside': 1, 'FrameDetailId': 0, 'DayNumber': 0, 'ImageClip': nan, 'AspectRatio': 0.0, 'ImageRotationAngle': 0}
  3. Traceback (most recent call last):
  4. File "mapalb2pdf.py", line 271, in <module>
  5. run_script()
  6. File "mapalb2pdf.py", line 244, in run_script
  7. draw_image(c, image)
  8. File "mapalb2pdf.py", line 80, in draw_image
  9. image_path = get_normed_image_path(image, PATH_REPLACE_RULES)
  10. File "mapalb2pdf.py", line 64, in get_normed_image_path
  11. if path.startswith(rule[0]):
  12. AttributeError: 'float' object has no attribute 'startswith'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement