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

Doesn't seem to work anymore #1

Open
Evolution0 opened this issue Mar 18, 2021 · 3 comments
Open

Doesn't seem to work anymore #1

Evolution0 opened this issue Mar 18, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Evolution0
Copy link

Not sure if some change happened to Sanic or Python (Running most recent of each) itself that broke this but neither middleware nor compiled work anymore.

If I attempt to use it as middleware with the default paths it breaks with: re.error: bad escape \c at position 9

Somewhere along the line /static/css becomes \\static\\css so that may be where it breaks. However changing the path to something like /static/style seems to fix it but.. no output and no errors, a css file just never gets created.

While attempting to compile instead returns: re.error: unbalanced parenthesis at position 8 and creates an empty css file.

@Vepnar Vepnar added the bug Something isn't working label Mar 19, 2021
@Vepnar Vepnar self-assigned this Mar 19, 2021
@Vepnar
Copy link
Owner

Vepnar commented Mar 19, 2021

Thank you for reporting the issue,

I'll take a look at it.

@Vepnar
Copy link
Owner

Vepnar commented Mar 19, 2021

Hey, could you give me some information about your setup?

I would like to know the following things:

  • Operating system
  • Python version
  • Sanic version

@Evolution0
Copy link
Author

Windows 10 20H2
Python 3.9.1
Sanic 20.12.2

I could always test again if needed; though I've since switched to using Stilus to just process my Stylus files as a "Before Launch" option in Pycharm rather than attempt using sass and middleware in Sanic, though PyPugJS is working great so far and it would be nice to just import two middlewares and keep things consistent. (That and Sass is what the framework I use is built on and the only way to customize it is through sass)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants