Skip to content

Service cannot run due to dependent installation error #8

Open

Description

@Sean1514

Hello, I encountered an error here. There was no response when running the service. Run a single py file to report an error. You can see what the problem is.
image

Activity

  1. Sean1514 commented on Jan 12, 2023

    @Sean1514
    Author

    我单独运行vsmp程序成功了 但是无法作为服务运行 打开web应用选择文件目录以后 也提示找不到文件
    image

  2. Sean1514 commented on Jan 12, 2023

    @Sean1514
    Author

    After I tried for a day, I can run normally occasionally, but after restarting or setting, I will report the error e-Paper busy. The picture is stuck. After inquiring about the customer service of Xiaoxue, he said that he needed to release the port. Have you encountered this situation
    捕获

  3. robweber commented on Jan 12, 2023

    @robweber
    Owner

    In regards to the first issue with natsort did you install all the requirements from the requirements.txt file using sudo pip3 install -r requirements.txt? If you used the install script this should be done for you. Natsort is listed as one of the additionally libraries.

    I have seen the EPD release fail occasionally. Usually a service restart will fix it. This is very rare, at least for me, and usually is just after an OS reboot or something. Under normal circumstances I've had this run for months without issue. You could try adjusting the refresh time, the shorter the refresh time the more often this kind of thing seems to happen. The log error is actually coming from the Waveshare driver code. What should happen is that you see that log message, and then after the busy pin clears you'll see the release message. If the release doesn't happen then something is wrong.

    This code does call the driver's sleep method and attempt to close out the EPD properly when the program exits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions