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

Qgis crash #19

Closed
kikislater opened this issue Aug 8, 2018 · 17 comments
Closed

Qgis crash #19

kikislater opened this issue Aug 8, 2018 · 17 comments

Comments

@kikislater
Copy link
Contributor

kikislater commented Aug 8, 2018

Launching from terminal, then activate plugin crash qgis :

QGIS died on signal 11ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 0
Aborted (core dumped)

OS = Manjaro Linux 64

$ pacman -Q qgis
qgis 3.2.0-2

$ pacman -Q python-matplotlib
python-matplotlib 2.2.2-2

pip list | grep opencv
opencv-python 3.3.0.10

pip list | grep homography
homography 0.1.5

$ which ffmpeg
/usr/bin/ffmpeg

$ cat fmvConfig.py

********** Properties **********

Layer names

Platform_lyr = "Platform"
Beams_lyr = "Beams"
Footprint_lyr = "Footprint"
Trajectory_lyr = "Trajectory"
Point_lyr = "Drawings"

Group Name

frames_g = "FMV Georeferenced Frames"

FFmpeg path

ffmpeg = "/usr/bin/ffmpeg"
ffprobe = "/usr/bin/ffprobe"

capture du 2018-08-08 18-17-08

Edit : upgraded to opencv-python-3.4.0.12 and still crash

@All4Gis
Copy link
Owner

All4Gis commented Aug 8, 2018

can you open qgis without plugin?that is a mistake of qgis, not the plugin

@kikislater
Copy link
Contributor Author

Yes of course, I use it every day ...
How to debug it ? I use others plugins, this one is the only one making qgis crashing !

@All4Gis
Copy link
Owner

All4Gis commented Aug 8, 2018

I will try to reproduce it in the same version of OS that you

can you add the complete log message?

@kikislater
Copy link
Contributor Author

There is another version in testing repository. I will test it tomorrow and on another installation.

@kikislater
Copy link
Contributor Author

Ok it works on another installation. It seems to be opencv. I will tell you when I will find

@All4Gis
Copy link
Owner

All4Gis commented Aug 9, 2018

I'm glad ! Could you send me a PR, to add your installation notes for this OS? So we add it to the readme so that other users don't have problems in the future.Thanks

@kikislater
Copy link
Contributor Author

Yes ! Let me find the problem first. I'm on this second setup today. May be at the end of the day ...
I'm also interested in this plugin and curious about how you will compute footprint, is this implemented at this time ? I use an adjusted process from postgis cookbook to do it : https://github.com/giscan/Postgis-footprint

@All4Gis
Copy link
Owner

All4Gis commented Aug 9, 2018

the methods are CornerEstimationWithOffsets and CornerEstimationWithoutOffsets the second is a pure photogrammetric algorithm

@kikislater
Copy link
Contributor Author

Hum seems perfect ! I think I will use your plugin.
Mind you use auto srtm download ? there is a python lib to do it : 30m worldwide => http://elevation.bopen.eu/en/stable/quickstart.html

@All4Gis
Copy link
Owner

All4Gis commented Aug 9, 2018

this is nice! I didn't know that library! Could you make your changes in the code and send me PR?

@kikislater
Copy link
Contributor Author

kikislater commented Aug 9, 2018

Yes but not for the next days. When I will have more time ;-)

@All4Gis
Copy link
Owner

All4Gis commented Aug 9, 2018

No worries!take your time!thanks

@kikislater
Copy link
Contributor Author

kikislater commented Aug 9, 2018

Ok so just removing opencv installed from pip work and prevent qgis crashing. OpenCV package distribution already include python wrapper, so I think pip package and archlinux package are in conflict.
Where do I put PR ? How to edit readthedocs ?

Archlinux installation :

pacman -S qgis python-matplotlib opencv ffmpeg 
pip install homography

FFmpeg path

ffmpeg = "/usr/bin/"
ffprobe = "/usr/bin/"

@All4Gis
Copy link
Owner

All4Gis commented Aug 9, 2018

Ah okey!change the readme.md!for example create a new block "installation notes". Use any text editor

@All4Gis
Copy link
Owner

All4Gis commented Aug 23, 2018

I have updated the readme with your information!
I consider as result the issue,okey?

@kikislater
Copy link
Contributor Author

Hum, no ! I have updated to qgis 3.2.2 and now it install opencv version automatically in local pip repository I think. But for others things, it's ok !

@All4Gis
Copy link
Owner

All4Gis commented Aug 23, 2018

ok! then close if your consider solved

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

2 participants