[sane-devel] Out of Memory Error

Mick Sulley mick at sulley.info
Wed Sep 30 14:08:40 BST 2020


That fixed it.  Many thanks Thierry.

On 30/09/2020 13:54, Thierry HUCHARD wrote:
> Le 2020-09-30 14:27, Mick Sulley a écrit :
>> Recently did a clean install of Mint20
>>
>> I installed XSane, it scanned for devices and found my scanner,
>> Brother DCP-J7720W which is wireless connected, and I scanned my
>> document.  It appeared to scan but the viewer screen shows nothing and
>> if I try to save the file I get
>> "Error during save: out of memory"
>>
>> Memory really should not be a problem, 16GB RAM showing 30% used,
>> 100GB free on disk.
>>
>> Other information
>>
>> Document Scanner works and I can save the file.
>>
>> Installed gscan2pdf, when I scan I get an error "gscan2pdf:
>> sane_start: Invalid argument"
>>
>> mick at Mint20Desk:~$ scanimage -L
>> device `escl:http://192.168.1.94:80' is a ESCL Brother DCP-J772DW
>> flatbed scanner
>> mick at Mint20Desk:~$ scanimage -T
>> Output format is not set, using pnm as a default.
>> Capability : [(null)]
>> Capability : [image/jpeg]
>> scanimage: rounded value of br-x from 0 to 0
>> scanimage: rounded value of br-y from 0 to 0
>> scanimage: sane_start: Invalid argument
>> mick at Mint20Desk:~$ scanimage > image.pnm
>> Output format is not set, using pnm as a default.
>> Capability : [(null)]
>> Capability : [image/jpeg]
>> scanimage: rounded value of br-x from 0 to 0
>> scanimage: rounded value of br-y from 0 to 0
>> scanimage: sane_start: Invalid argument
>> mick at Mint20Desk:~$
>>
>> So it looks to me like sane_start is the problem, but I don't know
>> what to do about it.
>>
>> Can anyone help please?
>>
> Hi Mick,
> Your version of sane is obselete! Update it!
>
> $ sudo add-apt-repository ppa:sane-project/sane-git
> $ sudo apt-get update
> $ sudo apt install libsane libsane-common sane-utils
>
> Thierry
>> Thanks
>>
>> Mick



More information about the sane-devel mailing list