https://gerrit.wikimedia.org/r/#/c/79977/

should solve this by suppressing the part "WARNING: A required package is missing, but externals can automatically install it. If you say Yes, externals will need administrator privileges, and you might be asked for the administrator password." for the second question.

The "WARNING: Required package missing: ['']" was also fixed since the ubuntu package is named 'python-beautifulsoup'.


[bugs:#1655] unclear message for installing externals on ubuntu

Status: open
Created: Mon Aug 19, 2013 09:05 PM UTC by Merlijn S. van Deen
Last Updated: Mon Aug 19, 2013 09:05 PM UTC
Owner: nobody

After git clone'ing pywikibot-compat, this is the message you get when running

python login.py

WARNING: Trying to install by use of "linux-ubuntu" package management system:
WARNING: Required package missing: ['']
WARNING: A required package is missing, but externals can automatically install it. If you say Yes, externals will need administrator privileges, and you might be asked for the administrator password.
WARNING: Give externals permission to try to install package? (y/N)

This question should be answered 'no' for people on shared hosting without sudo privileges

However, then this (very similar) prompt appears:

WARNING: Trying to install by download from source URL:
WARNING: Required package missing: BeautifulSoup.py
WARNING: A required package is missing, but externals can automatically install it. If you say Yes, externals will need administrator privileges, and you might be asked for the administrator password.
WARNING: Give externals permission to try to install package? (y/N)

which doesn't actually require admin privileges, and thus should be answered 'yes'.

I think the wording should be clearer on these questions.


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.