Page MenuHomePhabricator

Quibble 0.0.30 misses quibble/mediawiki/local_settings.php
Closed, DuplicatePublic

Description

And that fails due to

Database was successfully set up
MediaWiki has been successfully installed. You can now visit <> to view your wiki. If you have questions, check out our frequently asked questions list: <https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ> or use one of the support forums linked on that page.
Traceback (most recent call last):
  File "/usr/local/bin/quibble", line 11, in <module>
    load_entry_point('quibble==0.0.0', 'console_scripts', 'quibble')()
  File "/usr/local/lib/python3.5/dist-packages/quibble/cmd.py", line 573, in main
    cmd.execute()
  File "/usr/local/lib/python3.5/dist-packages/quibble/cmd.py", line 470, in execute
    self.mw_install()
  File "/usr/local/lib/python3.5/dist-packages/quibble/cmd.py", line 317, in mw_install
    with open(quibblesettings) as qf:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.5/dist-packages/quibble/mediawiki/local_settings.php'
INFO:backend.MySQL:Terminating MySQL
Build step 'Execute shell' marked build as failure

Seems to be due to a change in MANIFEST.in and various versions of setuptools not playing well together https://gerrit.wikimedia.org/r/#/c/integration/quibble/+/494805/

Event Timeline

With Jessie, pip3 install git+https://gerrit.wikimedia.org/r/integration/quibble.git@0.0.30#egg=quibble gives me:

warning: no files found matching 'quibble/mediawiki'
warning: no files found matching '*.php'

https://gerrit.wikimedia.org/r/500469 has been an attempt to solve it and apparently it seems to work based on releng/ci-jessie container:

# rm -fR /usr/local/lib/python3.4/dist-packages/quibble*
# pip3 install git+https://gerrit.wikimedia.org/r/integration/quibble.git#egg=quibble && find / -name local_settings.php
...
/usr/local/lib/python3.4/dist-packages/quibble/mediawiki/local_settings.php

So tentatively that fixed it?

Change 500482 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] docker: try to rebuild quibble-jessie with 0.0.31

https://gerrit.wikimedia.org/r/500482