-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
how to install moin2 from test.pypi #1197
Comments
Can I add the command |
Sure, I will update test.pypi in a few days. I have no auth to update moin on pypi. |
Uploaded moin 2.0.0a11 to testpypi |
I am trying to install moin2 from source code in folder ~/moin. Searching m-quickinstall.txt, important messages are shown below... Do "./m log quickinstall" to see complete log. 3 Preparing metadata (setup.py): finished with status 'error' What I am doing wrong? Searching m-quickinstall.txt, important messages are shown below... Do "./m log quickinstall" to see complete log. 3 Preparing metadata (setup.py): finished with status 'error' What I am doing wrong? |
Please check this documentation, there are two sections Thanks for trying moin2, |
Hello UlrichB22, Thank you very much for your for your quick answer. Yes. I have read https://moin-20.readthedocs.io/en/latest/admin/install.html carefully. $ pip install --pre --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple moin So, for me it is still mysterious. Greetings, Rudi |
The command in output line 65 fails. Can you run it directly to get more details on the error?
|
/home/rudi/moin-venv-python3/bin/pip install --upgrade --editable /home/rudi/moin --upgrade-strategy=eager × python setup.py egg_info did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
I checked on a fresh install on ubuntu 22.04 desktop. After installation from test.pypi I could use |
Hello UlrichB22, Any further help please? |
The moin software package goes somewhere into subdirectory .local in your home. I my case it is To have the moin command available you may need to expand your PATH environment with ~/.local/bin using The empty ~/moin is ok. If you change directory to it and run the I run these commands to create a new wiki with English help pages and to start the builtin server:
|
Hello UlrichB22, Now moin2 works, big smile. I think your help should find a place in the "moin" documentation :-) Is it possible to import the v1.9 wiki data into moin2, Greetings, Rudi |
Hello Roger, I will attach 2 screenshots of a web page: from moin-1.9.9 and moin2 import It looks to me, that there is a lot to do on the import filter. |
Please open a new issue and include the raw 1.9 page content. Were there any error messages in the log? The problem I see is the attachments did not get translated correctly (or not at all). Anything else? |
Hello Roger, |
Hello Roger, $ mkdir moin2 $ moin import19 -s -i --data_dir ~/moin-1.9.9/wiki/data 1>import19out.log 2>import19err.log pack folder moin2.zip I hope it helps. |
There is no moin command to clear the moin2 wiki database. There is a todo to create the command somewhere. For now, you must manually delete the /wiki/data/ and /wiki/index/ directories. If you ran this command:
the output in import19err.log would be useful. Create a new issue and post the error messages |
The translated languages are not displayed if moin is installed from test.pypi.org. If moin is installed from git the catalog is compiled by quickinstall. IMO we should avoid the need to have |
agree; adding Will submit a pull request. |
add translations to pypi packaging #1197
Nothing left to do here, Installing moin from test.pypi.org included in docs/admin/install.rst |
Every developer should install moin2 from github. For wiki admins who cannot, there is a packaging test on https://test.pypi.org/project/moin/
Moin on test.pypi gets updated as a test on an irregular basis. Cloning from github is a better choice.
P.S.
If you want to start over with different wiki data, there is no moin command to clear the moin2 wiki database. For now, you must manually delete the /wiki/data/ and /wiki/index/ directories.
The text was updated successfully, but these errors were encountered: