Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning: invalid escape sequence '\ ' #79

Open
1 task done
romquenin opened this issue Oct 3, 2024 · 3 comments
Open
1 task done

SyntaxWarning: invalid escape sequence '\ ' #79

romquenin opened this issue Oct 3, 2024 · 3 comments

Comments

@romquenin
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I receive this SyntaxWarning message in the log:

/app/lazylibrarian/cherrypy/process/servers.py:1: SyntaxWarning: invalid escape sequence '\ '

Expected Behavior

No response

Steps To Reproduce

Just want to know why i receive this message and maybe fix it

Environment

- OS: Synology
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

lazylibrarian:
    image: linuxserver/lazylibrarian
    ports:
    - 5299:5299
    container_name: lazylibrarian
    environment:
    - PGID=100
    - PUID=1026
    - TZ=Europe/Paris
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "10m"
    restart: unless-stopped
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /volume1/docker/lazylibrarian:/config
    - /volume1/docker/shared:/shared
    - /volume1/downloads:/data
    - /volume1/downloads:/downloads
    - /volume1/ebook/AUDIOBOOK:/audiobooks
    - /volume1/ebook:/books    
    networks:
      - default

Container logs

/app/lazylibrarian/cherrypy/process/servers.py:1: SyntaxWarning: invalid escape sequence '\ '
Copy link

github-actions bot commented Oct 3, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@skuid87
Copy link

skuid87 commented Oct 22, 2024

Any updates on this? I'm having the exact same issue. Installed via docker compose too.

@thespad
Copy link
Member

thespad commented Oct 22, 2024

It's just a warning. Python 3.12 started surfacing them to try and force developers to fix the issues as they were just ignoring them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

3 participants