Page MenuHomePhabricator

PAWS Configuration for Running Scripts
Closed, ResolvedPublic

Description

After logging into PAWS according to Manual:Pywikibot/PAWS, it is not possible to directly run scripts as indicated. Scripts will run, but it requires using a syntax like:
python /srv/paws/pwb/pwb.py login

Running a user script from the default user folder would be even more complicated, probably something like:
python /srv/paws/pwb/pwb.py /home/paws/script.py

While the documentation could be updated to indicate this, is it possible to configure the default environment so that users are able to directly run pwb.py from the home/paws folder and have it look to the default user folder for user scripts?

Otherwise, pywikibot should be installed so that it is is in the user folder so that scripts will work easily, but this makes pywikibot updates more complicated.

Event Timeline

Thank you for reporting this! I've found the issue and am in the process of fixing it now.

I've fixed it now, and just running 'pwb.py <command>' works now!

Thank you very much for reporting it!

Thanks! Would you be willing to include a short summary of how the issue was resolved? I'm trying to learn more about Linux configuration, and it would certainly be helpful for me. It might also help others later who find this on a search and wonder how to resolve similar issues.