Coder Social home page Coder Social logo

Comments (2)

mayeulk avatar mayeulk commented on May 29, 2024

Hi,
A workaround to this bug in my case is to replace in file "./make-xges.py", line 140, the following:

GES.MetaFlag.READWRITE, 'name', name.text.strip())
By this:
GES.MetaFlag.READWRITE, 'name', 'test')
Here, I use 'test' to understand where it goes. In the output, the top of the file becomes:

<ges version='0.1'>
  <project properties='properties;' metadatas='metadatas, name=(string)test;'>

I'm not sure but maybe the code was meant to get some metadatas, and when this task fails (maybe because the BBB server is configured differently), the script breaks. If this is correct, I'd suggest adding a test here; in the absence of metadata, a placeholder text or an empty string such as "" would be save.
Additional note, I'm a bit surprised by the xml output; I'd guess something like this is expected:

<ges version='0.1'>
  <project properties='properties;' metadatas='metadatas', name='test;'>

Mayeul

from bbb-render.

jhenstridge avatar jhenstridge commented on May 29, 2024

Thanks for the bug report. The code in question is purely cosmetic: it affects some defaults in Pitivi, but isn't really relevant if you just want to render a video. So substituting in a dummy value is absolutely okay.

The code is looking for the a <name> element within the <meta> section of the metadata.xml file downloaded by the first script. While I see it in the recordings from the PLUG server, it looks like it isn't always present. I'm not sure if this is down to BBB versions, or the actions of the room owner.

I'll update the script to skip setting the project name if the element is missing.

from bbb-render.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.