Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-docs
gst-docs
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-docsgst-docs
  • Issues
  • #43

Closed
Open
Opened Aug 06, 2019 by Aaron Boxer@boxerabContributor

AttributeError: module 'yaml' has no attribute 'FullLoader'

I got this error when trying to build the docs:

1/1] Generating GStreamer-doc with a custom command.
FAILED: GStreamer-doc 
/home/aaron/.local/bin/meson --internal hotdoc /home/aaron/.local/bin/hotdoc run --conf-file GStreamer-doc.json --builddir /home/aaron/src/gst-docs/build/
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/hotdoc/run_hotdoc.py", line 260, in execute_command
    res = app.run()
  File "/usr/local/lib/python3.7/dist-packages/hotdoc/run_hotdoc.py", line 109, in run
    self.project.setup()
  File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/project.py", line 186, in setup
    self.tree.build(sitemap, self.extensions)
  File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/tree.py", line 473, in build
    page = self.parse_page(source_file, ext_name)
  File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/tree.py", line 395, in parse_page
    return self.page_from_raw_text(source_file, contents, extension_name)
  File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/tree.py", line 546, in page_from_raw_text
    blocks = yaml.load_all(split[0], Loader=yaml.FullLoader)
AttributeError: module 'yaml' has no attribute 'FullLoader'
An unknown error happened while building the documentation and hotdoc cannot recover from it. Please report a bug with this error message and the steps to reproduce it
ninja: build stopped: subcommand failed.
Edited Aug 06, 2019 by Aaron Boxer
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-docs#43