GithubHelp home page GithubHelp logo

Comments (3)

ChenjieXu avatar ChenjieXu commented on May 31, 2024

您好,和您确认下您的运行环境和软件版本,您使用的是否是Linux系统,使用的是哪个版本的pyzxing程序?
我看您是通过build得到的jar包,在zxing/javase/target目录下是否有jar文件?
如果找到了请运行java -jar “jar文件地址” “需要识别的图片地址”,并将打印出的信息反馈给我。

from pyzxing.

QLW-07 avatar QLW-07 commented on May 31, 2024

你好,我使用的Linux系统,编译得到的pyzxing版本是1.0.2b0

bulid得到的jar包,运行如下:
(pyzxing) xt@xt:/pyzxing/zxing$ java -jar ./javase/target/javase-3.4.1-SNAPSHOT.jar 1.jpg
./javase/target/javase-3.4.1-SNAPSHOT.jar中没有主清单属性
(pyzxing) xt@xt:
/pyzxing/zxing$ java -jar ./javase/target/gwt-user-2.8.2.jar 1.jpg
Error: Invalid or corrupt jarfile ./javase/target/gwt-user-2.8.2.jar
(pyzxing) xt@xt:/pyzxing/zxing$ java -jar ./javase/target/javase-3.4.1-SNAPSHOT-javadoc.jar 1.jpg
./javase/target/javase-3.4.1-SNAPSHOT-javadoc.jar中没有主清单属性
(pyzxing) xt@xt:
/pyzxing/zxing$ java -jar ./javase/target/javase-3.4.1-SNAPSHOT-sources.jar 1.jpg
./javase/target/javase-3.4.1-SNAPSHOT-sources.jar中没有主清单属性

运行脚本后报错提示依然情况如下:
Exception in thread "main" java.lang.IllegalArgumentException: Bad escape
at sun.nio.fs.UnixUriUtils.fromUri(UnixUriUtils.java:87)
at sun.nio.fs.UnixFileSystemProvider.getPath(UnixFileSystemProvider.java:98)
at java.nio.file.Paths.get(Paths.java:138)
at com.google.zxing.client.j2se.CommandLineRunner.expand(CommandLineRunner.java:112)
at com.google.zxing.client.j2se.CommandLineRunner.main(CommandLineRunner.java:76)

from pyzxing.

IllBthere4U avatar IllBthere4U commented on May 31, 2024

您好,请问您解决了么?我也遇到了相同的状况。

from pyzxing.

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.