Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when a project has reference to a image in reports #19

Open
shanmugamg opened this issue Aug 5, 2017 · 0 comments
Open

error when a project has reference to a image in reports #19

shanmugamg opened this issue Aug 5, 2017 · 0 comments

Comments

@shanmugamg
Copy link

shanmugamg commented Aug 5, 2017

version 0.3.1
windows 10 x64, qgis 2.18.11 x64

saved the qgis project with REPORT, and the report has embedded image (logo) as part of the report.

qgpkg, won't open the file with the image since they are not saved into the qeopackage;

An error has occurred while executing Python code:

IOError: [Errno 2] No such file or directory: u'c:\users\ganesh\appdata\local\temp\tmpwd1gkl\../../../../../$HARED/GeoICON/General/Logo/geoicon-104-5-3.png'
Traceback (most recent call last):
File "C:/Users/ganesh/.qgis2/python/plugins\qgpkg\qgis_geopackage.py", line 170, in read
project_path = gpkg.read(gpkg_path)
File "C:/Users/ganesh/.qgis2/python/plugins\qgpkg\qgpkg_qgis.py", line 200, in read
with open(img_path, 'wb') as file:
IOError: [Errno 2] No such file or directory: u'c:\users\ganesh\appdata\local\temp\tmpwd1gkl\../../../../../$HARED/GeoICON/General/Logo/geoicon-104-5-3.png'

Python version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
QGIS version: 2.18.11 Las Palmas, 29548e7

Python Path:
C:/PROGRA1/QGIS21.18/apps/qgis/./python/plugins\processing
C:/PROGRA1/QGIS21.18/apps/qgis/./python
C:/Users/ganesh/.qgis2/python
C:/Users/ganesh/.qgis2/python/plugins
C:/PROGRA1/QGIS21.18/apps/qgis/./python/plugins
C:\PROGRA1\QGIS21.18\bin\python27.zip
C:\PROGRA1\QGIS21.18\apps\Python27\DLLs
C:\PROGRA1\QGIS21.18\apps\Python27\lib
C:\PROGRA1\QGIS21.18\apps\Python27\lib\plat-win
C:\PROGRA1\QGIS21.18\apps\Python27\lib\lib-tk
C:\PROGRA1\QGIS21.18\bin
C:\PROGRA1\QGIS21.18\apps\Python27
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\win32
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\win32\lib
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\Pythonwin
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/ganesh/.qgis2//python
C:\Users\ganesh.qgis2\python\plugins\mmqgis/forms

--
2017-08-05T08:52:28 1 Traceback (most recent call last):
File "C:/Users/ganesh/.qgis2/python/plugins\qgpkg\qgis_geopackage.py", line 170, in read
project_path = gpkg.read(gpkg_path)
File "C:/Users/ganesh/.qgis2/python/plugins\qgpkg\qgpkg_qgis.py", line 200, in read
with open(img_path, 'wb') as file:
IOError: [Errno 2] No such file or directory: u'c:\users\ganesh\appdata\local\temp\tmpwd1gkl\../../../../../$HARED/GeoICON/General/Logo/geoicon-104-5-3.png'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant