-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Preventing automatic link generation with ! fails with pypy interepreter #92
Comments
did you try cleaning the cache when switching interpreters?
or just kill the |
Yes, I've tried those steps at some point in my journey to troubleshoot this issue in our production wiki. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per @ThomasWaldmann suggestion in #91, running with pypy instead of CPython is way forward until Moin2 is stable.
I stumbled upon a problem with negating automatic link generation. Prepending !CamelCase should produce
CamelCase
but does not. It's successful in not tuning it to a link, but it ouputs as
!CamelCase
It's easy enough to reproduce:
Download the latest release of pypy2:
curl -O https://downloads.python.org/pypy/pypy2.7-v7.3.9-linux64.tar.bz2
Clone moin repo
git clone https://github.com/moinwiki/moin-1.9
Start Desktop Edition of moinmoin
/path/to/pypy wikiserver.py
Point your browser to the wiki and create a page with a link and watch the output.
(I had to edit wikiserverconfig.py and insert
DesktopEdition = True
to be able to edit/create pages)Press Ctrl+C to stop the wikiserver.py and start it with CPython:
python wikiserver.py
Refresh that same page and you should see it output as expected.
The text was updated successfully, but these errors were encountered: