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

launcher.py not working #481

Open
murolem opened this issue Jun 2, 2024 · 1 comment
Open

launcher.py not working #481

murolem opened this issue Jun 2, 2024 · 1 comment
Labels

Comments

@murolem
Copy link

murolem commented Jun 2, 2024

Hi!

I wanted to download a wiki so a made a mylist.txt file and placed https://cosmoteer.wiki.gg/api.php inside.

Then I run the script using python launcher.py mylist.txt and it just straight up failed:

Please install the lxml module if you want to use --xmlrevisions.
Reading list of APIs from mylist.txt
1 APIs found
#########################################################################
# Downloading https://cosmoteer.wiki.gg/api.php
#########################################################################
Resuming download, using directory cosmoteerwikigg-20240603-wikidump
Traceback (most recent call last):
  File "launcher.py", line 130, in <module>
    main()
  File "launcher.py", line 85, in main
    subprocess.call(['python2', 'dumpgenerator.py', '--api={}'.format(wiki), '--xml', '--images', '--resume', '--path={}'.format(wikidir)], shell=False)
  File "C:\Users\aliser\.pyenv\pyenv-win\versions\2.7.18\lib\subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Users\aliser\.pyenv\pyenv-win\versions\2.7.18\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "C:\Users\aliser\.pyenv\pyenv-win\versions\2.7.18\lib\subprocess.py", line 644, in _execute_child
    startupinfo)
WindowsError: [Error 2]

I'n on win11, Python 2.7.18. Dependencies are installed with pip install --upgrade -r requirements.txt.

@nemobis
Copy link
Member

nemobis commented Jun 2, 2024

Hello, thanks for using WikiTeam. As the message says:

Please install the lxml module if you want to use --xmlrevisions.

This is an optional requirement hence it's not listed in requirements.txt.

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

No branches or pull requests

2 participants