Giter Site home page Giter Site logo

Comments (4)

maxwxyz avatar maxwxyz commented on July 22, 2024

Help requests please in on forum. You can try it if it works in the latest weekly builds: https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds

from freecad.

tmcsys avatar tmcsys commented on July 22, 2024

Could we reopen this please? While a Python NOOB, I am an experienced developer.

Or maybe I should create a new issue specifically identifying the defect.

I tried the latest dev version with exactly the same results:

15:08:02  pyException: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Volumes/FreeCAD_weekly-builds-37543-conda-macOS-x86_64-py311/FreeCAD.app/Contents/Resources/Mod/BIM/importers/importSHP.py", line 49, in insert
    if not checkShapeFileLibrary():
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/FreeCAD_weekly-builds-37543-conda-macOS-x86_64-py311/FreeCAD.app/Contents/Resources/Mod/BIM/importers/importSHP.py", line 139, in checkShapeFileLibrary
    u = addonmanager_utilities.urlopen(url)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<class 'AttributeError'>: module 'addonmanager_utilities' has no attribute 'urlopen'

The problem is exactly what is stated in the error message. There is no urlopen routine in Mod/AddonManager/addonmanager_utilities.

I suspect the problem is in Mod/BIM/importers/importSHP.py. If you search the Mod/BIM/importers, importSHP.py is the only file that references addonmanager_utilities.urlopen.

OS: macOS 13.6
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37543 (Git)
Build type: Release
Branch: main
Hash: 3eb45b045cdda9d5bfe11baba2567a1df90f064c
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: C/Default (C)

from freecad.

maxwxyz avatar maxwxyz commented on July 22, 2024

@yorikvanhavre FYI

from freecad.

yorikvanhavre avatar yorikvanhavre commented on July 22, 2024

oops, addon manager has apparently changed 😅
I'll submit a fix

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.