Code Monkey home page Code Monkey logo

Comments (21)

jflesch avatar jflesch commented on June 12, 2024 1

I've updated IronScanner to get more details in the traces. Can you download and run it again please ?

from paperwork.

jflesch avatar jflesch commented on June 12, 2024 1

Doesn't matter, I just need the traces in the report for now (test successful or not)

from paperwork.

jflesch avatar jflesch commented on June 12, 2024 1

openpaperwork/pyinsane@fb88aaa
openpaperwork/pyinsane@c251345

Ok, it should work this time. Can you try again with IronScanner please ?

from paperwork.

jflesch avatar jflesch commented on June 12, 2024 1

By the way, scanning still works ? I haven't broken anything else, right ?
Can you try a scan at 150dpi for instance ?

from paperwork.

jflesch avatar jflesch commented on June 12, 2024 1

Awesome, thanks :)
I'm building a version of Paperwork including the fix.

from paperwork.

jflesch avatar jflesch commented on June 12, 2024 1

You can get a version of Paperwork with the fix here : https://download.openpaper.work/windows/amd64/paperwork-master-latest.zip .
Unfortunately, I can't build the installer automatically yet. So you will have to manually extract the content of the archive where you installed Paperwork (by default, c:\Program Files(x86)\Paperwork).

Thanks for taking the time to report this issue and helping me to fix it :)
Feel free to comment again on this ticket if you have any other issue with your Scanner and Paperwork.

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

This setting is available in the settings dialog: https://github.com/openpaperwork/paperwork-screenshots/blob/master/1.0/settings.png

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

hmm what do i do if that option is disabled ?

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

Then it's a bug.

Can you please:

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

this log is from a windows 7 machine

INFO   paperwork.frontend.settingswindow Sources found: ['0001\\Root\\Flatbed']
WARNING paperwork.frontend.settingswindow No translation for source [0001\Root\Flatbed]
INFO   paperwork.frontend.settingswindow Got all the sources
INFO   paperwork.frontend.settingswindow Looking for resolution of device [{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001]
WARNING pyinsane2.wia.abstract         Constraint found on property [sti_driver_version] but property not found
WARNING pyinsane2.wia.abstract         Constraint found on property [sti_driver_version] but property not found
WARNING pyinsane2.wia.abstract         Option 'current_intent' preset to 'image_type_color,maximize_quality' on ['EPSON Perfection V37/V370 #2' (EPSON, EPSON Perfection V37/V370, scanner,streaming_video)]
WARNING pyinsane2.wia.abstract         Constraint found on property [sti_driver_version] but property not found
WARNING pyinsane2.wia.abstract         Option 'format' preset to 'bmp' on ['EPSON Perfection V37/V370 #2' (EPSON, EPSON Perfection V37/V370, scanner,streaming_video)]
WARNING pyinsane2.wia.abstract         Failed to pre-set option 'preferred_format' on ['EPSON Perfection V37/V370 #2' (EPSON, EPSON Perfection V37/V370, scanner,streaming_video)]
WARNING pyinsane2.wia.abstract         Constraint found on property [sti_driver_version] but property not found
WARNING pyinsane2.wia.abstract         Option 'depth' preset to '24' on ['EPSON Perfection V37/V370 #2' (EPSON, EPSON Perfection V37/V370, scanner,streaming_video)]
INFO   paperwork.frontend.settingswindow Resolutions found: (50, 100)
ERROR  paperwork.frontend.util.jobs   ===> Job ResolutionFinder:0 raised an exception: <class 'IndexError'>: tuple index out of range
ERROR  paperwork.frontend.util.jobs    0: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\util\jobs.py: L  180: _run
ERROR  paperwork.frontend.util.jobs    1: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\settingswindow\__init__.py: L  273: do
ERROR  paperwork.frontend.util.jobs   ---> Job ResolutionFinder:0 was started by:
ERROR  paperwork.frontend.util.jobs    0: paperwork_launcher.py: L   11: <module>
ERROR  paperwork.frontend.util.jobs    1: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\paperwork.py: L  189: main
ERROR  paperwork.frontend.util.jobs    2: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\paperwork.py: L  174: main
ERROR  paperwork.frontend.util.jobs    3: site-packages\gi\overrides\GLib.py: L  572: run
ERROR  paperwork.frontend.util.jobs    4: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\settingswindow\__init__.py: L  910: on_finding_end_cb
ERROR  paperwork.frontend.util.jobs    5: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\util\actions.py: L   85: on_combobox_changed_cb
ERROR  paperwork.frontend.util.jobs    6: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\util\actions.py: L   64: __do
ERROR  paperwork.frontend.util.jobs    7: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\settingswindow\__init__.py: L  523: do
ERROR  paperwork.frontend.util.jobs    8: site-packages\paperwork-1.2.3-py3.4.egg\paperwork\frontend\util\jobs.py: L  256: schedule
INFO   paperwork.frontend.settingswindow Got value [['0001\\Root\\Flatbed', '0001\\Root\\Flatbed']]

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

Hm, I see the problem, but I'm a bit surprised. It seems your scanner says it can only support resolutions from 50dpi to 100dpi ? It seems really low.
Can you try running 'xsane' (it's another scan program) and tell me what resolutions it says your scanner actually supports please ?

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

Oh wait, you're under Windows

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

Let's do that differently: Can you run the test program IronScanner and submit a test report please ? (IronScanner allows to send a test report even if the test has failed)

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

the range goes from 50 to 12800

but iron scanner only show 50 75 100

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

done :)

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

Hmm, it seems Pyinsane ignored some data it shouldn't have ignored.
I've updated again Pyinsane+IronScanner. Can you try it again please ?
(there will probably be one more round after this one)

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

For the record, changes are currently: openpaperwork/pyinsane@5cb1133 , openpaperwork/pyinsane@3f859fd

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

ironscanner dint let me change the resolution now it "stuck" at 50

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

ironscanner let me pick 1150 top 😸

from paperwork.

jflesch avatar jflesch commented on June 12, 2024

Meh, close enough. In the coming months, I'm going to rewrite Pyinsane from scratch anyway .. :)

from paperwork.

icf20 avatar icf20 commented on June 12, 2024

yep scanning works

from paperwork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.