GithubHelp home page GithubHelp logo

Comments (12)

maxwxyz avatar maxwxyz commented on July 4, 2024

It opens the system browser on my side, everything working as expected with yesterdays weekly. Please report back if this issue still persists.

from freecad.

krushia avatar krushia commented on July 4, 2024

I am using yesterday's weekly.

from freecad.

maxwxyz avatar maxwxyz commented on July 4, 2024

could it be related to general issues with the Appimage?

from freecad.

krushia avatar krushia commented on July 4, 2024

"heading = pydoc.html.heading("
"'<big><big><strong>Python: Index of Modules</strong></big></big>',"
"'#ffffff', '#7799ee')\n"

Assuming this is the problem, I'm not seeing the 3 arguments here match up with the pydoc function:

https://github.com/python/cpython/blob/30c687cdf8f7073302e92b2b125553d518a94eac/Lib/pydoc.py#L606

@maxwxyz Are you sure this works on your end? Are you on Windows?

from freecad.

maxwxyz avatar maxwxyz commented on July 4, 2024

I'm on Windows, yes.

from freecad.

krushia avatar krushia commented on July 4, 2024

It seems that specifically the '/' page is broken. http://localhost:7465/

@maxwxyz Can you check that specific URL after summoning Help > Automatic python modules documentation? If that specific page works for you, then there might be a deeper bug between QByteArray and Python. It really shouldn't work with the code I'm seeing.

from freecad.

maxwxyz avatar maxwxyz commented on July 4, 2024

I've wiped my install and downloaded the latest weekly again and now I can reproduce. http://localhost:7465/

from freecad.

krushia avatar krushia commented on July 4, 2024

This is a super easy fix, so I'd like to take a shot at it. Trying to get a working dev environment setup now.

from freecad.

maxwxyz avatar maxwxyz commented on July 4, 2024

Let me know if you have issues, otherwise I can create a PR before the freeze.

from freecad.

wwmayer avatar wwmayer commented on July 4, 2024

Works fine with
OS: Ubuntu 22.04.4 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37462 (Git)
Build type: debug
Branch: main
Hash: d126352
Python 3.10.12, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.1
Locale: German/Germany (de_DE)

Could be related to the Python version. What's the output if you type this into the Python console:

import pydoc
help(pydoc.html.heading)

Here it gives

Help on method heading in module pydoc:

heading(title, fgcol, bgcol, extras='') method of __main__.FreeCADDoc instance
    Format a page heading.

from freecad.

maxwxyz avatar maxwxyz commented on July 4, 2024

@wwmayer Not OP but this is the result when I click the command:
grafik

This is the result:
grafik

from freecad.

wwmayer avatar wwmayer commented on July 4, 2024

I have checked the heading() function and two arguments have been dropped. I am working on this right now...

from freecad.

Related Issues (20)

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.