xsane: WARNING: setting an adjustment with non-zero page size is deprecated.

Bug #341874 reported by Adam Buchbinder
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xsane
New
Undecided
Unassigned
xsane (Debian)
Fix Released
Unknown
xsane (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: xsane

Execute xsane with a scanner attached. After the detection window disappears, the following console output is produced, repeated many, many times.

$ xsane
(xsane:30647): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

http://library.gnome.org/devel/gtk/unstable/GtkAdjustment.html#GtkAdjustment--page-size

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: xsane 0.995-3ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
SourcePackage: xsane
Uname: Linux 2.6.27-11-generic i686

Tags: apport-bug
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Attached find a patch against the version currently in Intrepid.

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Mailed the upstream maintainer (Oliver Rauch) with a patch against 0.996, but Launchpad isn't accepting the attempt to add him as a bug contact.

Revision history for this message
getut (rtkluttz) wrote :

I'm getting this same error on Karmic final 64 bit desktop with an Epson Stylus Photo RX500 all in one device.

Revision history for this message
rik (rikkroondijk) wrote :

I am getting the same error on Karmic , Xsane 0.996 with Epson 4990 scanner

Tomas Pospisek (tpo-deb)
Changed in xsane (Ubuntu):
status: New → Confirmed
Revision history for this message
rik (rikkroondijk) wrote : Re: [Bug 341874] Re: xsane: WARNING: setting an adjustment with non-zero page size is deprecated.
Download full text (3.1 KiB)

hi Tomas,

I solved all my problems with the Epson 4990 by following Maxo's
instructions as quoted below

Instead of "gksudo gedit" I had to type "sudo gedit"

cheers

Rik

Sunday, November 15, 2009
Scanning Problems in Ubuntu Karmic
9.10<http://maxolasersquad.blogspot.com/2009/11/scanning-problems-in-ubuntu-karmic-910.html>
I went to scan in some pictures today with my new Karmic install and ran
into problems. When I went to scan I would get "Failed to start scanner:
Invalid argument" Some Googling revealed that many people are experiencing
broken scanning after upgrading to Karmic with various printers. A little
more searching revealed the solution. I think that there is probably an
even better solution, but this is how I got scanning to work.
First I installed libsane-extras:
sudo aptitude install libsane-extras
Next I edited saned.conf to enable the epson driver.
gksudo gedit /etc/init.d/sane.d/dll.conf
In this file I removed the # at the line that read #epson
To get the parameters for me scanner I ran:

$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure
that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b8, product=0x0839) at libusb:001:003
found USB scanner (vendor=0x0bc7 [X10 Wireless Technology Inc],
product=0x0004 [USB Receiver]) at libusb:007:002
  # Your USB scanner was (probably) detected. It may or may not be supported
by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

Here the line that read "found USB scanner (vendor=0x04b8, product=0x0839)
at libusb:001:003" was the key. These parameters needed to go in the epson
drivers file.
gksudo gedit /etc/init.d/sane.d/epson.conf
I replaced the line that read "usb" to read "usb 0x4b8 0x0839" Finally I
just needed to restart the sane daemon.
sudo /etc/init.d/saned restart
After this scanning finally worked.
Posted by Maxo at 3:10
PM<http://maxolasersquad.blogspot.com/2009/11/scanning-problems-in-ubuntu-karmic-910.html>
 <http://www.blogger.com/email-post.g?blogID=2160921736769720124&postID=5950210381081136885>
Labels: Linux <http://maxolasersquad.blogspot.com/search/label/Linux>,
technology <http://maxolasersquad.blogspot.com/search/label/technology>,
ubuntu <http://maxolasersquad.blogspot.com/search/label/ubuntu>

On Thu, Feb 18, 2010 at 3:31 PM, Tomas Pospisek <email address hidden>wrote:

> ** Changed in: xsane (Ubuntu)
> Status: New => Confirmed
>
> --
> xsane: WARNING: setting an adjustment with non-zero page size is
> deprecated.
> https://bugs.launchpad.net/bugs/341874
> You received this bug notification because you are a direct subscriber
> ...

Read more...

Revision history for this message
Logan Rosen (logan) wrote :

This appears to have been fixed in xsane 0.996-3, so I am marking this as Fix Released in Ubuntu.

Changed in xsane (Ubuntu):
status: Confirmed → Fix Released
importance: Undecided → Low
Changed in xsane (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.