Skip to content

A2plus and network paths #300

Open
Open
@Luciniki

Description

@Luciniki

Good morning,

when I try to import parts from my office's internal network (e.g. "
\192.168.1.100\spb\Shares\Suppliers\Pneumatic_Aluminum_Spare_Parts\DIERRE\PARTI FREECAD\Extruded_3D\45x45_2A" I get this error:

17:04:20  Initializing A2plus Workbench v0.4.65.
17:37:40  Running the Python command 'a2p_ImportPart' failed:
Traceback (most recent call last):
  File "C:\Users\LUCIANO\AppData\Roaming\FreeCAD\Mod\A2plus\.\a2p_importpart.py", line 725, in Activated
    importedObject = importPartFromFile(doc, filename)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\LUCIANO\AppData\Roaming\FreeCAD\Mod\A2plus\.\a2p_importpart.py", line 341, in importPartFromFile
    relativePath = prefix+os.path.relpath(absPath, assemblyPath)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen ntpath>", line 766, in relpath

path is on mount ' \ \ \ \ 1 9 2 . 1 6 8 . 1 . 1 0 0 \ \ s p b ', start on mount 'D:'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions