Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A arch-wiki-docs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Jakub Klinkovský
  • arch-wiki-docs
  • Issues
  • #30
Closed
Open
Issue created Aug 30, 2022 by Administrator@rootContributor

confused about current usability

Created by: greywood

Hello,

Thank-you for the free software!

However, I am having some problems using it. First, I was having issues with the unmaintained package for simplemediawiki, although it was installed via pip3 I still had to the 2to3 command against it to get it more compliant with python 3 (it still uses 'print' without brackets and imports old packages, for example)

Once I got that seemingly working I tried to run arch-wiki-docs again and I am still receiving errors, the latest which is:

./arch-wiki-docs.py --output-directory /tmp/
Downloading CSS...
  ArchWikiOffline.css
Traceback (most recent call last):
  File "./arch-wiki-docs.py", line 39, in <module>
    aw.print_namespaces()
  File "/home/username/scripts/arch-wiki-docs/ArchWiki/ArchWiki.py", line 152, in print_namespaces
    nsmap = self.namespaces()
  File "/home/username/scripts/arch-wiki-docs/ArchWiki/ArchWiki.py", line 147, in namespaces
    self._namespaces = super().namespaces()
  File "/home/username/.local/lib/python3.7/site-packages/simplemediawiki.py", line 271, in namespaces
    'siprop': 'namespaces'})
  File "/home/username/.local/lib/python3.7/site-packages/simplemediawiki.py", line 149, in call
    return json.loads(self._fetch_http(self._api_url, params))
  File "/home/username/.local/lib/python3.7/site-packages/simplemediawiki.py", line 124, in _fetch_http
    response = self._opener.open(request)
  File "/usr/lib/python3.7/urllib/request.py", line 523, in open
    req = meth(req)
  File "/usr/lib/python3.7/urllib/request.py", line 1254, in do_request_
    raise TypeError(msg)
TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.

So I guess my question is: Is arch-wiki-docs currently in a working state? I just want to know before I try to fix more issues just to see another one pop up.

Thanks!

Assignee
Assign to
Time tracking