[sane-devel] Out of Memory Error

Thierry Huchard thierry at ordissimo.com
Thu Aug 26 20:21:48 BST 2021


Le 2021-08-26 20:23, Thierry Huchard a écrit :
> Le 2021-08-26 13:17, Mick Sulley a écrit :
>> Running Mint 20.2  I get an "Out of memory" error when I try to scan.
>> 
>> My scanner is a Brother DCP-J7720W which is wireless connected,
>> 
>> If I run from a terminal I see a pop up saying
>> 
>> "Failed to open device 'escl:http://localhost:80': Out of memory"
>> 
>> This is what I see in the terminal -
>> 
>> mick at Mint20Desk:~$ xsane
>> file.xml:1: parser error : Space required after the Public Identifier
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>                                                  ^
>> file.xml:1: parser error : SystemLiteral " or ' expected
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>                                                  ^
>> file.xml:1: parser error : SYSTEM or PUBLIC, the URI is missing
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>                                                  ^
>> file.xml:9: parser error : Opening and ending tag mismatch: hr line 0 
>> and body
>> </body></html>
>>        ^
>> file.xml:9: parser error : Opening and ending tag mismatch: body line 
>> 0 and html
>> </body></html>
>>               ^
>> file.xml:10: parser error : EndTag: '</' not found
>> 
>> ^
>> 
>> To fix another memory problem in September last year I did -
>> 
>> $ sudo add-apt-repository ppa:sane-project/sane-git
>> $ sudo apt-get update
>> $ sudo apt install libsane libsane-common sane-utils
>> 
> Hi Mike,
> 
> Can you give me the version of sane
> scanimage --version
> And give me the log of this command:
> SANE_DEBUG_ESCL=255 scanimage -d 'escl:http://localhost:80' 2>
> debug-escl.log > test.pnm
> 
> Thierry
Hi Mick,

Can you tell me more, your URL is amazing.
If you used ipp-usb or ippusbxd your URL would be http://localhost:60000
How is your device connected?
try :
scanimage -d 'http://127.0.0.1:80' 2> escl-ip.log >tes.pnm

Thierry

> 
>> That is still in place.
>> 
>> Any ideas how to fix this?
>> 
>> Thanks
>> 
>> Mick



More information about the sane-devel mailing list