Skip to content

exception occurred: 'NoneType' object has no attribute 'text' #2

@Jesus-M

Description

@Jesus-M

Hi,

I'm trying to use this API and I am finding this problem:

I can find the printer in the network:

# hpscancli -s
Searching for printers. Please wait...
Scanning Network: [==================================================] 100.00%
Found 172.16.0.20
# 

But when I try to do anything else either the printer disappears or returns an exception:

# hpscancli -i 172.16.0.20 -c
Error. counldn't connect to the printer. please check the ip: 172.16.0.20
# hpscancli -i 172.16.0.20 -c

exception occurred: 'NoneType' object has no attribute 'text'
# hpscancli -i 172.16.0.20 --height 842 --width 595 --dpi 300 --colormode RGB24 --pdf -o scan1

exception occurred: 'NoneType' object has no attribute 'text'
#

Any idea? Maybe it requires authentication? (it does when I access the printer using its web interface)

The printer is a HP ENVY 4520 All-in-One Printer series

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions