pyinstaller stops in the middle of process [on hold] The 2019 Stack Overflow Developer Survey Results Are InCouldn't load plugin PRISM due an error when calling its classFactory() method in QGIS1.8 inWin8Run processing toolbox outside QGIS in standalone apperrors after installing 64 bit background geoprocessing on ArcGIS desktop 10.2.2Point otbApplication for python to the relevant OTB DLL'sGdal and module import error when creating an .exe application with pyinstallerCreating executables from Python using OSGeo4W shellworking standalone app .exe from python3 script that imports osgeo gdal?Find maximum of large (size) multiple rastersMaking ArcGIS Tool using with GDAL and scikit-learnPyinstaller Osgeo4w jvm.dll

How to change the limits of integration

A poker game description that does not feel gimmicky

What does "rabbited" mean/imply in this sentence?

JSON.serialize: is it possible to suppress null values of a map?

Potential by Assembling Charges

Where does the "burst of radiance" from Holy Weapon originate?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

Monty Hall variation

Is an up-to-date browser secure on an out-of-date OS?

Extreme, unacceptable situation and I can't attend work tomorrow morning

Why is Grand Jury testimony secret?

Where to refill my bottle in India?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

Output the Arecibo Message

What tool would a Roman-age civilization have to grind silver and other metals into dust?

How to manage monthly salary

Is three citations per paragraph excessive for undergraduate research paper?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Is bread bad for ducks?

Does it makes sense to buy a new cycle to learn riding?

"To split hairs" vs "To be pedantic"

What do hard-Brexiteers want with respect to the Irish border?

Could a US political party gain complete control over the government by removing checks & balances?

Does a dangling wire really electrocute me if I'm standing in water?



pyinstaller stops in the middle of process [on hold]



The 2019 Stack Overflow Developer Survey Results Are InCouldn't load plugin PRISM due an error when calling its classFactory() method in QGIS1.8 inWin8Run processing toolbox outside QGIS in standalone apperrors after installing 64 bit background geoprocessing on ArcGIS desktop 10.2.2Point otbApplication for python to the relevant OTB DLL'sGdal and module import error when creating an .exe application with pyinstallerCreating executables from Python using OSGeo4W shellworking standalone app .exe from python3 script that imports osgeo gdal?Find maximum of large (size) multiple rastersMaking ArcGIS Tool using with GDAL and scikit-learnPyinstaller Osgeo4w jvm.dll



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I try to create a .exe from a .py script. I use Pyinstaller. The script runs fine with no errors in Pycharm. If I open the .exe my Tkinter opens I can choose the files etc.. And then in the middle of the process it stops at this line:



WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [granuleidentifier] does not exist.



This Warning makes usualy no problem.



Has anybody an idea? I am frustrated with that. I can't find the error.



I worked with the libraries:



import snappy
from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile
import numpy
import numpy.ma
from osgeo import gdal, ogr, osr


I can produce a exe from a predecessor project with the libraries and the package cx_freeze in the Osgeo4w shell:



from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile



The code was written in pycharm environment wit the python-qgis-ltr-dev.bat as python interpreter located in the bin folder of Osgeo4w.
With all libraries i get an error message that the sqlite3.dll file is missing in the Python27 Dlls folder. I placed the missing file into the desired folder and cx_freeze crates an exe which is not opening



If i work with pyinstaller i get an warning that the jvm.dll file can#t be conected- Pyinstaller creates a exe which is opening my GUI i can import all the files the process is starting but then crashing in.



I tried bbfreeze with the same result of missing dll's.



Py2exe created a exe which performs similar to the pyinstaller version. I had two insert two dll's to the python27 dlls folder.



My thoughts are that numpy is not compatible because i get for all trials an message that numpy is not imported.



Is it possible to insert a package in the setup file?










share|improve this question















put on hold as off-topic by LaughU, KHibma, whyzar, user30184, wetland Apr 5 at 17:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions relating to general IT or with no clear GIS component, are off-topic here but can be researched/asked at Stack Overflow (software development), Super User (computing hardware and software), Database Administrators (relational databases) and other SE sites" – KHibma, user30184, wetland
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    Hard to know what's up without a reproducible example. Are you logging anything in this program? Anything weird in your logs?

    – Paul H
    Apr 4 at 22:12











  • What do you mean with logging? I found out that the problem might be the following error message while creating the exe: lib not found: jvm.dll dependency of C:OSGEO4WappsPython27libsite-packagessnappyjpy.pyd. Any Idea how to fix that

    – RemoteSensing
    Apr 5 at 9:22












  • Python logging: docs.python.org/3/library/logging.html Any Idea how to fix that? See the first sentence in my comment above

    – Paul H
    Apr 5 at 15:18











  • I dont know how to send you my code example here.

    – RemoteSensing
    Apr 5 at 19:35











  • Have a read through: stackoverflow.com/help/mcve

    – Paul H
    Apr 5 at 19:47

















0















I try to create a .exe from a .py script. I use Pyinstaller. The script runs fine with no errors in Pycharm. If I open the .exe my Tkinter opens I can choose the files etc.. And then in the middle of the process it stops at this line:



WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [granuleidentifier] does not exist.



This Warning makes usualy no problem.



Has anybody an idea? I am frustrated with that. I can't find the error.



I worked with the libraries:



import snappy
from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile
import numpy
import numpy.ma
from osgeo import gdal, ogr, osr


I can produce a exe from a predecessor project with the libraries and the package cx_freeze in the Osgeo4w shell:



from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile



The code was written in pycharm environment wit the python-qgis-ltr-dev.bat as python interpreter located in the bin folder of Osgeo4w.
With all libraries i get an error message that the sqlite3.dll file is missing in the Python27 Dlls folder. I placed the missing file into the desired folder and cx_freeze crates an exe which is not opening



If i work with pyinstaller i get an warning that the jvm.dll file can#t be conected- Pyinstaller creates a exe which is opening my GUI i can import all the files the process is starting but then crashing in.



I tried bbfreeze with the same result of missing dll's.



Py2exe created a exe which performs similar to the pyinstaller version. I had two insert two dll's to the python27 dlls folder.



My thoughts are that numpy is not compatible because i get for all trials an message that numpy is not imported.



Is it possible to insert a package in the setup file?










share|improve this question















put on hold as off-topic by LaughU, KHibma, whyzar, user30184, wetland Apr 5 at 17:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions relating to general IT or with no clear GIS component, are off-topic here but can be researched/asked at Stack Overflow (software development), Super User (computing hardware and software), Database Administrators (relational databases) and other SE sites" – KHibma, user30184, wetland
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    Hard to know what's up without a reproducible example. Are you logging anything in this program? Anything weird in your logs?

    – Paul H
    Apr 4 at 22:12











  • What do you mean with logging? I found out that the problem might be the following error message while creating the exe: lib not found: jvm.dll dependency of C:OSGEO4WappsPython27libsite-packagessnappyjpy.pyd. Any Idea how to fix that

    – RemoteSensing
    Apr 5 at 9:22












  • Python logging: docs.python.org/3/library/logging.html Any Idea how to fix that? See the first sentence in my comment above

    – Paul H
    Apr 5 at 15:18











  • I dont know how to send you my code example here.

    – RemoteSensing
    Apr 5 at 19:35











  • Have a read through: stackoverflow.com/help/mcve

    – Paul H
    Apr 5 at 19:47













0












0








0








I try to create a .exe from a .py script. I use Pyinstaller. The script runs fine with no errors in Pycharm. If I open the .exe my Tkinter opens I can choose the files etc.. And then in the middle of the process it stops at this line:



WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [granuleidentifier] does not exist.



This Warning makes usualy no problem.



Has anybody an idea? I am frustrated with that. I can't find the error.



I worked with the libraries:



import snappy
from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile
import numpy
import numpy.ma
from osgeo import gdal, ogr, osr


I can produce a exe from a predecessor project with the libraries and the package cx_freeze in the Osgeo4w shell:



from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile



The code was written in pycharm environment wit the python-qgis-ltr-dev.bat as python interpreter located in the bin folder of Osgeo4w.
With all libraries i get an error message that the sqlite3.dll file is missing in the Python27 Dlls folder. I placed the missing file into the desired folder and cx_freeze crates an exe which is not opening



If i work with pyinstaller i get an warning that the jvm.dll file can#t be conected- Pyinstaller creates a exe which is opening my GUI i can import all the files the process is starting but then crashing in.



I tried bbfreeze with the same result of missing dll's.



Py2exe created a exe which performs similar to the pyinstaller version. I had two insert two dll's to the python27 dlls folder.



My thoughts are that numpy is not compatible because i get for all trials an message that numpy is not imported.



Is it possible to insert a package in the setup file?










share|improve this question
















I try to create a .exe from a .py script. I use Pyinstaller. The script runs fine with no errors in Pycharm. If I open the .exe my Tkinter opens I can choose the files etc.. And then in the middle of the process it stops at this line:



WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [granuleidentifier] does not exist.



This Warning makes usualy no problem.



Has anybody an idea? I am frustrated with that. I can't find the error.



I worked with the libraries:



import snappy
from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile
import numpy
import numpy.ma
from osgeo import gdal, ogr, osr


I can produce a exe from a predecessor project with the libraries and the package cx_freeze in the Osgeo4w shell:



from snappy import ProductIO
from snappy import GPF
from snappy import jpy
from snappy import HashMap
from Tkinter import *
from tkFileDialog import askopenfilename, asksaveasfile



The code was written in pycharm environment wit the python-qgis-ltr-dev.bat as python interpreter located in the bin folder of Osgeo4w.
With all libraries i get an error message that the sqlite3.dll file is missing in the Python27 Dlls folder. I placed the missing file into the desired folder and cx_freeze crates an exe which is not opening



If i work with pyinstaller i get an warning that the jvm.dll file can#t be conected- Pyinstaller creates a exe which is opening my GUI i can import all the files the process is starting but then crashing in.



I tried bbfreeze with the same result of missing dll's.



Py2exe created a exe which performs similar to the pyinstaller version. I had two insert two dll's to the python27 dlls folder.



My thoughts are that numpy is not compatible because i get for all trials an message that numpy is not imported.



Is it possible to insert a package in the setup file?







python gdal numpy snapping






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 21 hours ago







RemoteSensing

















asked Apr 4 at 20:31









RemoteSensingRemoteSensing

164




164




put on hold as off-topic by LaughU, KHibma, whyzar, user30184, wetland Apr 5 at 17:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions relating to general IT or with no clear GIS component, are off-topic here but can be researched/asked at Stack Overflow (software development), Super User (computing hardware and software), Database Administrators (relational databases) and other SE sites" – KHibma, user30184, wetland
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by LaughU, KHibma, whyzar, user30184, wetland Apr 5 at 17:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions relating to general IT or with no clear GIS component, are off-topic here but can be researched/asked at Stack Overflow (software development), Super User (computing hardware and software), Database Administrators (relational databases) and other SE sites" – KHibma, user30184, wetland
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 1





    Hard to know what's up without a reproducible example. Are you logging anything in this program? Anything weird in your logs?

    – Paul H
    Apr 4 at 22:12











  • What do you mean with logging? I found out that the problem might be the following error message while creating the exe: lib not found: jvm.dll dependency of C:OSGEO4WappsPython27libsite-packagessnappyjpy.pyd. Any Idea how to fix that

    – RemoteSensing
    Apr 5 at 9:22












  • Python logging: docs.python.org/3/library/logging.html Any Idea how to fix that? See the first sentence in my comment above

    – Paul H
    Apr 5 at 15:18











  • I dont know how to send you my code example here.

    – RemoteSensing
    Apr 5 at 19:35











  • Have a read through: stackoverflow.com/help/mcve

    – Paul H
    Apr 5 at 19:47












  • 1





    Hard to know what's up without a reproducible example. Are you logging anything in this program? Anything weird in your logs?

    – Paul H
    Apr 4 at 22:12











  • What do you mean with logging? I found out that the problem might be the following error message while creating the exe: lib not found: jvm.dll dependency of C:OSGEO4WappsPython27libsite-packagessnappyjpy.pyd. Any Idea how to fix that

    – RemoteSensing
    Apr 5 at 9:22












  • Python logging: docs.python.org/3/library/logging.html Any Idea how to fix that? See the first sentence in my comment above

    – Paul H
    Apr 5 at 15:18











  • I dont know how to send you my code example here.

    – RemoteSensing
    Apr 5 at 19:35











  • Have a read through: stackoverflow.com/help/mcve

    – Paul H
    Apr 5 at 19:47







1




1





Hard to know what's up without a reproducible example. Are you logging anything in this program? Anything weird in your logs?

– Paul H
Apr 4 at 22:12





Hard to know what's up without a reproducible example. Are you logging anything in this program? Anything weird in your logs?

– Paul H
Apr 4 at 22:12













What do you mean with logging? I found out that the problem might be the following error message while creating the exe: lib not found: jvm.dll dependency of C:OSGEO4WappsPython27libsite-packagessnappyjpy.pyd. Any Idea how to fix that

– RemoteSensing
Apr 5 at 9:22






What do you mean with logging? I found out that the problem might be the following error message while creating the exe: lib not found: jvm.dll dependency of C:OSGEO4WappsPython27libsite-packagessnappyjpy.pyd. Any Idea how to fix that

– RemoteSensing
Apr 5 at 9:22














Python logging: docs.python.org/3/library/logging.html Any Idea how to fix that? See the first sentence in my comment above

– Paul H
Apr 5 at 15:18





Python logging: docs.python.org/3/library/logging.html Any Idea how to fix that? See the first sentence in my comment above

– Paul H
Apr 5 at 15:18













I dont know how to send you my code example here.

– RemoteSensing
Apr 5 at 19:35





I dont know how to send you my code example here.

– RemoteSensing
Apr 5 at 19:35













Have a read through: stackoverflow.com/help/mcve

– Paul H
Apr 5 at 19:47





Have a read through: stackoverflow.com/help/mcve

– Paul H
Apr 5 at 19:47










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Magento 1.9 observer on only new product added ( no updated product )Admin Create New Order ObserverObserver checkout_cart_product_add_after get product quantity in cartHow can I differentiate between product creation and saving existing products?How to get the original price Product SaveBeforeMagento Observer for Admin Sales order Address updateHow do i get quantity in a product_save_after event observer magento2?Using observer event to get updated customer infoSave product observer - detect availabilityEvent not triggered when new product added in admin : Magento 2magento 1.9 observer on quantity product change

Does an object always see its latest internal state irrespective of thread? The 2019 Stack Overflow Developer Survey Results Are InDoes a finally block always get executed in Java?Java: serial thread confinement questionJava difference between fixed threadpool and scheduled threadpoolJackrabbit and concurrent modificationHow to stop a Runnable scheduled for repeated execution after a certain number of executionsMultiple threads accessing inner classHow can a loop be completed by two thread? say loop from count=1 to count=4 by ist thread and count =5 to 8 by 2nd thread?If I keep a reference to a Runnable, when does the Thread it ran on get released?How to stop a schedule ScheduledExecutorServiceHow to implement a singleThreadedScheduledExcecutor in wildfly

What CSS properties can the br tag have?Will whitespace or wrap be ignored between two block elements in HTML?Set cellpadding and cellspacing in CSS?Change an HTML5 input's placeholder color with CSSIs this possible in p tag without using span or anything new in html tag?jQuery + Regex to change CSS of first couple of Wordscentering an image while text covers both canvas (left and right)Position button material designsubmit button doesn't work with html codejavascript summary my checked inputHow can I create this effect on a slider?Changing JQuery to affect colour of button, not background?