amforte / Topographic-Analysis-Kit

Set of matlab based tools for topographic analysis, built on top of TopoToolbox.
GNU General Public License v3.0
42 stars 35 forks source link

TAK does not load image #48

Open robertrh7070 opened 2 years ago

robertrh7070 commented 2 years ago

I want to go through the tutorial files. When trying to open an image the lamp goes to red color with message “Processing”, but the App does not load the image file. It keeps that way until I close the app.

amforte commented 2 years ago

Could you specify whether you are using the app running in matlab or running as the standalone app? If running in matlab, which version of matlab? If the standalone app, which operating system?

Sometimes the lamp does not reset to green (and this is an issue with the underlying matlab callbacks functionality, and nothing that I can fix), have you tried proceeding with the next steps to see if the processing lamp is not actually updating or if the underlying program is actually having an issue?

robertrh7070 commented 2 years ago

Dear Adam,

I am using Win-10 with a 16GB RAM and 2TB HD PC. The TAK app is installed in "C:\Program Files\TAK" and the Tutorial Data is in "D:\TAK". I defined the "Output Directory" to "D:\TAK"

When I go to "Load DEM File" the lamp is always in red and the message "Processing" is permanent. All other conditions are set by default. So, I clic the "Run Make Streams" button and get a "Warning Dialog" with the message "You must load a DEM!".

Regards

Robert

El sáb, 31 jul 2021 a las 15:02, Adam M. Forte @.***>) escribió:

Could you specify whether you are using the app running in matlab or running as the standalone app? If running in matlab, which version of matlab? If the standalone app, which operating system?

Sometimes the lamp does not reset to green (and this is an issue with the underlying matlab callbacks functionality, and nothing that I can fix), have you tried proceeding with the next steps to see if the processing lamp is not actually updating or if the underlying program is actually having an issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amforte/Topographic-Analysis-Kit/issues/48#issuecomment-890353391, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUFYNE6QTA3ISOCYXAVPPG3T2P7ATANCNFSM5A4AEEUQ .

amforte commented 2 years ago

It sounds like it's encountering an issue, but because error reporting ability of standalone Matlab GUI apps are limited, it's not telling you that it's encountering an issue. The things I would try (in this order):

(1) Ensure that you have read and write access on the output folder and where ever you have the DEM file you are trying to load. (2) Try another DEM file, it's possible the tutorial file was corrupted (alternatively, can you load the tutorial file in some other GIS program, like QGIS or Arc?). (3) Delete and reinstall TAK. While not satisfying, Matlab compiled programs are a bit unstable so it's worth a try. (4) If you can, try this on a different PC.

If none of those work or are not possible, let me know. The issue with problems like this is that they are inconsistent (i.e., other people have successfully used the compiled GUI on PCs) so it's very hard to debug them and sometimes, for unclear reasons, they seem to be machine specific.

robertrh7070 commented 2 years ago

Dear Adam,

I checked all four steps you suggested. The result is the same. I tried in 2 laptops, with OS x32 and x64 bits, win7, win10, administrator rights, and nothing. I also opened the DTM file in ArcGIS, everything is ok.

Regards

Robert

El mar, 3 ago 2021 a las 15:19, Adam M. Forte @.***>) escribió:

It sounds like it's encountering an issue, but because error reporting ability of standalone Matlab GUI apps are limited, it's not telling you that it's encountering an issue. The things I would try (in this order):

(1) Ensure that you have read and write access on the output folder and where ever you have the DEM file you are trying to load. (2) Try another DEM file, it's possible the tutorial file was corrupted (alternatively, can you load the tutorial file in some other GIS program, like QGIS or Arc?). (3) Delete and reinstall TAK. While not satisfying, Matlab compiled programs are a bit unstable so it's worth a try. (4) If you can, try this on a different PC.

If none of those work or are not possible, let me know. The issue with problems like this is that they are inconsistent (i.e., other people have successfully used the compiled GUI on PCs) so it's very hard to debug them and sometimes, for unclear reasons, they seem to be machine specific.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amforte/Topographic-Analysis-Kit/issues/48#issuecomment-891886826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUFYNE7W3LXOVPVL2SEG3NTT273F5ANCNFSM5A4AEEUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

amforte commented 2 years ago

Hi Robert,

That's so weird as I can't reproduce this behavior on any of the machines I've tried it on (though I have encountered other issues with the GUI in my attempts to test this). Likely I will need to try to recompile the GUI on my end and see if that fixes this particular issue, but I'm not sure why it would given the above (i.e., downloading the app from the github repo and running it on my machines, it does not encounter the issue you're experiencing). Taking the time to do this will likely have to wait as we are still largely trying to recover from Hurricane Ida and after nearly a week without power or internet, I'm trying to catch up on a lot of things.

Cheers, Adam

Adam M. Forte

@.*** 1-225-578-2756


Assistant Professor

Department of Geology & Geophysics

Louisiana State University

<http://Louisiana%20State%20University>

Last name pronounced Fortay

(he/him)



Research Site<https://sites.google.com/view/adam-m-forte>

________________________________
From: robertrh7070 ***@***.***>
Sent: Monday, September 6, 2021 10:03 AM
To: amforte/Topographic-Analysis-Kit ***@***.***>
Cc: Adam Forte ***@***.***>; Comment ***@***.***>
Subject: Re: [amforte/Topographic-Analysis-Kit] TAK does not load image (#48)

Dear Adam,

I checked all four steps you suggested. The result is the same. I tried in
2 laptops, with OS x32 and x64 bits, win7, win10, administrator rights, and
nothing. I also opened the DTM file in ArcGIS, everything is ok.

Regards

Robert

El mar, 3 ago 2021 a las 15:19, Adam M. Forte ***@***.***>)
escribió:

> It sounds like it's encountering an issue, but because error reporting
> ability of standalone Matlab GUI apps are limited, it's not telling you
> that it's encountering an issue. The things I would try (in this order):
>
> (1) Ensure that you have read and write access on the output folder and
> where ever you have the DEM file you are trying to load.
> (2) Try another DEM file, it's possible the tutorial file was corrupted
> (alternatively, can you load the tutorial file in some other GIS program,
> like QGIS or Arc?).
> (3) Delete and reinstall TAK. While not satisfying, Matlab compiled
> programs are a bit unstable so it's worth a try.
> (4) If you can, try this on a different PC.
>
> If none of those work or are not possible, let me know. The issue with
> problems like this is that they are inconsistent (i.e., other people have
> successfully used the compiled GUI on PCs) so it's very hard to debug them
> and sometimes, for unclear reasons, they seem to be machine specific.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/amforte/Topographic-Analysis-Kit/issues/48#issuecomment-891886826>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AUFYNE7W3LXOVPVL2SEG3NTT273F5ANCNFSM5A4AEEUQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
> .
>

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Famforte%2FTopographic-Analysis-Kit%2Fissues%2F48%23issuecomment-913712609&data=04%7C01%7Caforte8%40lsu.edu%7C179fda6738384153575708d971476c77%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637665373840522557%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=H%2F4%2FTo%2BDsTXv7emyXEOqvXhCV%2BYV2iXbcGaWBfU9ABg%3D&reserved=0>, or unsubscribe<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA2AW7WDN7QMJ4IQEWQOJCLUATJ2NANCNFSM5A4AEEUQ&data=04%7C01%7Caforte8%40lsu.edu%7C179fda6738384153575708d971476c77%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637665373840522557%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k4%2B9ZkHAOHVrFTjjMWiboBxr0yMosdWPdDRPigSzpRg%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Caforte8%40lsu.edu%7C179fda6738384153575708d971476c77%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637665373840532507%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8UtZAaGEvuM3C%2BrLmtxi7M%2Bjfll%2Bei850jr2IMtRLwI%3D&reserved=0> or Android<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Caforte8%40lsu.edu%7C179fda6738384153575708d971476c77%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637665373840532507%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2V6ZpcSj6Oy%2BKoosRDmOsVAYCjAVSxgQaHfJbVzQXPU%3D&reserved=0>.