3liz / qgis-pgmetadata-plugin

QGIS Plugin to manage some metadata from PostgreSQL layer
GNU General Public License v2.0
12 stars 10 forks source link

Error in dock.py and ntpath.py #165

Closed agarciaECOS closed 2 months ago

agarciaECOS commented 2 months ago

When exporting the metadata to HTML, I get the same error:

          File ‘X:\...\dock.py’, line 153, in export_dock_content
          file_path = os.path.join(
          File ‘X:\...\ntpath.py’, line 78, in join
          path = os.fspath(path)
         TypeError: expected str, bytes or an object os.PathLike, not NoneType

I have no idea where the error is. My only two clues are that the pathing of both files is different, dock.py is in the QGIS plugins folder and ntpath is in the QGIS Python folder, but not in the AppData folder. The other attempt is to specify the format category in the metadata link, although it is supposed to be for URLs like WMS layers.

Thanks in advance,