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

Closed
opened 5 months ago by pbb · 7 comments
pbb commented 5 months ago

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' ```
josch commented 5 months ago
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!
pbb commented 5 months ago
Poster
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 ```
pbb commented 5 months ago
Poster

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.)
josch commented 5 months ago
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
pbb commented 5 months ago
Poster

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.
josch commented 5 months ago
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.
pbb commented 5 months ago
Poster

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 5 months ago
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
Loading…
There is no content yet.