OmniParser icon indicating copy to clipboard operation
OmniParser copied to clipboard

Miss wsdd while create VM

Open 9suns opened this issue 1 year ago • 4 comments

Create VM fail. It seems that wsdd has been removed from test repo on 12 May. wsdd debian tracker Can we use wsdd2 instead?

Image not found locally. Building...
[+] Building 632.1s (10/17)                                                                              docker:default
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 1.28kB                                                                             0.0s
 => [internal] load metadata for swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/qemux/qemu-docker:6.08         0.8s
 => [auth] ddn-k8s/docker.io/qemux/qemu-docker:,pull token for swr.cn-north-4.myhuaweicloud.com                    0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 2B                                                                                    0.0s
 => CACHED FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/qemux/qemu-docker:6.08@sha256:ecc6422bf2829bf2  0.0s
 => CACHED [build-amd64 8/8] ADD --chmod=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.43-0/vi  2.8s
 => CACHED [build-amd64 7/8] ADD --chmod=755 https://raw.githubusercontent.com/christgau/wsdd/v0.8/src/wsdd.py /u  1.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 387B                                                                                  0.0s
 => CACHED [build-amd64 1/8] COPY --from=swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/qemux/qemu-docker:6.0  0.0s
 => ERROR [build-amd64 2/8] RUN set -eu &&     apt-get update &&     apt-get --no-install-recommends -y install  631.3s
------
 > [build-amd64 2/8] RUN set -eu &&     apt-get update &&     apt-get --no-install-recommends -y install         bc         jq         curl         7zip         wsdd         samba         xz-utils         wimtools         dos2unix         cabextract         genisoimage         libxml2-utils         libarchive-tools &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*:
0.753 Get:1 http://deb.debian.org/debian trixie InRelease [178 kB]
3.044 Get:2 http://deb.debian.org/debian trixie-updates InRelease [49.6 kB]
4.917 Get:3 http://deb.debian.org/debian-security trixie-security InRelease [48.0 kB]
9.497 Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9677 kB]
629.8 Fetched 9953 kB in 10min 30s (15.8 kB/s)
629.8 Reading package lists...
630.4 Reading package lists...
631.0 Building dependency tree...
631.1 Reading state information...
631.2 Package wsdd is not available, but is referred to by another package.
631.2 This may mean that the package is missing, has been obsoleted, or
631.2 is only available from another source
631.2
631.2 E: Package 'wsdd' has no installation candidate
------
Dockerfile:10
--------------------
   9 |
  10 | >>> RUN set -eu && \
  11 | >>>     apt-get update && \
  12 | >>>     apt-get --no-install-recommends -y install \
  13 | >>>         bc \
  14 | >>>         jq \
  15 | >>>         curl \
  16 | >>>         7zip \
  17 | >>>         wsdd \
  18 | >>>         samba \
  19 | >>>         xz-utils \
  20 | >>>         wimtools \
  21 | >>>         dos2unix \
  22 | >>>         cabextract \
  23 | >>>         genisoimage \
  24 | >>>         libxml2-utils \
  25 | >>>         libarchive-tools && \
  26 | >>>     apt-get clean && \
  27 | >>>     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  28 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eu &&     apt-get update &&     apt-get --no-install-recommends -y install         bc         jq         curl         7zip         wsdd         samba         xz-utils         wimtools         dos2unix         cabextract         genisoimage         libxml2-utils         libarchive-tools &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*" did not complete successfully: exit code: 100
[+] Running 1/1
 ✘ windows Error                                                                                                  21.9s
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

9suns avatar May 27 '25 13:05 9suns

你好,解决了吗?我也遇到同样的问题

libin1219 avatar May 30 '25 07:05 libin1219

same problem, do you solve it?

situqingyun avatar Jun 10 '25 06:06 situqingyun

Hi all, wsdd2 is runnable for me, but didn't run well. You can try to use wsdd2 instead.

RUN set -eu && \
	apt update && \
	apt-get --no-install-recommends -y install \
        bc \
        jq \
        curl \
        7zip \
        wsdd2 \
        samba \
        xz-utils \
        wimtools \
        dos2unix \
        cabextract \
        genisoimage \
        libxml2-utils \
        libarchive-tools && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

You can also take #296 as a reference.

But I think we can wait for the official update.

9suns avatar Jun 10 '25 09:06 9suns

你好,解决了吗?我也遇到同样的问题

不好意思,你可以试着用wsdd2,安装是没有问题的了,但是实际效果还是有问题。
一方面是VM那边采用了宿主机的timezone和localize设置,安装完的VM会变成中文,然后omniparser解析出来的会翻译成英文,这方面本身会有信息差。具体你可以参考官方的 huggingface space看下解析效果。 LLM驱动处理的时候可能是我的问题,我改写了LLM Client,使得可以使用本地LLM,不过本地中小规模LLM并不能通过omniparser返回的数据理解界面,导致操作失败了。

当前的omniparser只能解析出元素,但是没有解析出界面元素之间的从属关系,弄得LLM理解起来比较困难。
期待omniparser项目的持续更新。

9suns avatar Jun 10 '25 09:06 9suns