8000 Failed to parse config – Cannot read spaces? · Issue #131 · yandex/gixy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Failed to parse config – Cannot read spaces? #131

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

Open
muuvmuuv opened this issue Sep 8, 2022 · 4 comments
Open

Failed to parse config – Cannot read spaces? #131

muuvmuuv opened this issue Sep 8, 2022 · 4 comments

Comments

@muuvmuuv
Copy link
muuvmuuv commented Sep 8, 2022

It seems gixy cannot correctly read spaces? Installed it on Ubuntu.

[nginx_parser]  ERROR   Failed to parse config "/etc/nginx/nginx.conf": char 5 (line:1, col:6)

First line is:

user www-data;
@muuvmuuv
Copy link
Author
muuvmuuv commented Sep 8, 2022

More information:

File c:

nginx.conf: ASCII text
  File: nginx.conf
  Size: 1610            Blocks: 8          IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 131598      Links: 1
Access: (0664/-rw-rw-r--)  Uid: (    0/    root)   Gid: (  118/   nginx)
Access: 2022-09-08 08:59:24.918914721 +0200
Modify: 2022-09-08 08:59:24.806913059 +0200
Change: 2022-09-08 08:59:24.806913059 +0200
 Birth: -

System:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

Path:

/home/marvin/.local/bin/gixy

@vboulaye
Copy link

Hi,
I got the same problem and it seems it fails because the default pip install comes with a dependency version that does not work with gixy (#125 (comment))

Reinstalling with pip install gixy==0.1.20 pyparsing==2.4.7 fixed the issue for me.

dvershinin added a commit to dvershinin/gixy that referenced this issue Jan 15, 2023
@BlackDex
Copy link
BlackDex commented Jul 5, 2023

Same for me, I installed it via pipx, and solved it by running pipx inject gixy pyparsing==2.4.7

@Zorono
Copy link
Zorono commented Nov 9, 2023

i am suffering from the same problem... (Gixy v0.1.20)

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

No branches or pull requests

4 participants
0