error: 'Namespace' object has no attribute 'pdfa' #182

Closed
opened 2023-11-27 16:30:52 +00:00 by pbb · 7 comments

I am getting the following error message when using v0.5.0 and v.0.5.1. No problem with v.0.4.4. Using the Windows executable.

error: 'Namespace' object has no attribute 'pdfa'
I am getting the following error message when using v0.5.0 and v.0.5.1. No problem with v.0.4.4. Using the Windows executable. ``` error: 'Namespace' object has no attribute 'pdfa' ```
Owner

Thank you for your bug report! Can you re-run img2pdf with --verbose and paste the full output including the traceback? Thank you!

Thank you for your bug report! Can you re-run img2pdf with `--verbose` and paste the full output including the traceback? Thank you!
Author
C:\Users\htpb\Downloads>img2pdf test.jpg -v -o test.pdf
ERROR:__main__:error: 'Namespace' object has no attribute 'pdfa'
Traceback (most recent call last):
  File "img2pdf.py", line 4488, in main
AttributeError: 'Namespace' object has no attribute 'pdfa'

C:\Users\htpb\Downloads>img2pdf -V
img2pdf 0.5.0
``` C:\Users\htpb\Downloads>img2pdf test.jpg -v -o test.pdf ERROR:__main__:error: 'Namespace' object has no attribute 'pdfa' Traceback (most recent call last): File "img2pdf.py", line 4488, in main AttributeError: 'Namespace' object has no attribute 'pdfa' C:\Users\htpb\Downloads>img2pdf -V img2pdf 0.5.0 ```
Author

This may be related to restricted user access rights, as this is on my work computer. At home I have no problems.

I forgot to mention, this is version 0.5.0. I can't run 0.5.1, as it's blocked. (Probably too new, and not tested by Microsoft yet.)

This may be related to restricted user access rights, as this is on my work computer. At home I have no problems. I forgot to mention, this is version 0.5.0. I can't run 0.5.1, as it's blocked. (Probably too new, and not tested by Microsoft yet.)
Owner

Aha, then your problem is probably the one reported in #179. Can you confirm?

I was confused because in your initial report you write that you got the "error message when using v0.5.0 and v.0.5.1".

But if your problem is indeed #179 then it is fixed in 0.5.1

Aha, then your problem is probably the one reported in #179. Can you confirm? I was confused because in your initial report you write that you got the "error message when using v0.5.0 and v.0.5.1". But if your problem is indeed #179 then it is fixed in 0.5.1
Author

Yes, my apologies for the confusion.

I am still getting "Risky action blocked" from Microsoft on v0.5.1. Would you think that is because it is so new and not trusted yet, or would that be because of some of it's code? If it's the first, I'll just keep trying every day.

Yes, my apologies for the confusion. I am still getting "Risky action blocked" from Microsoft on v0.5.1. Would you think that is because it is so new and not trusted yet, or would that be because of some of it's code? If it's the first, I'll just keep trying every day.
Owner

I have no clue what Microsoft thing would tell you this and I have no idea why it would do that. But I also don't know why it being "so new" would make any difference. You should talk to somebody who knows more aboutu the Microsoft thing you are running.

I have no clue what Microsoft thing would tell you this and I have no idea why it would do that. But I also don't know why it being "so new" would make any difference. You should talk to somebody who knows more aboutu the Microsoft thing you are running.
Author

I can confirm there is no problems with 0.5.1 anymore on my side. Microsoft has lifted the block.

(This blocking is called "Potentially Unwanted Applications (PUA)" by Microsoft: https://support.microsoft.com/en-us/windows/protect-your-pc-from-potentially-unwanted-applications-c7668a25-174e-3b78-0191-faf0607f7a6e)

I can confirm there is no problems with 0.5.1 anymore on my side. Microsoft has lifted the block. (This blocking is called "Potentially Unwanted Applications (PUA)" by Microsoft: https://support.microsoft.com/en-us/windows/protect-your-pc-from-potentially-unwanted-applications-c7668a25-174e-3b78-0191-faf0607f7a6e)
pbb closed this issue 2023-12-22 11:52:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: josch/img2pdf#182
No description provided.