sanger-tol / PretextView

OpenGL Powered Pretext Contact Map Viewer
Other
27 stars 7 forks source link

Pretext file is not loading correctly #5

Closed carolhsb closed 2 years ago

carolhsb commented 3 years ago

Hi Ed,

I've installed PretextView 0.2.2 for Mac, and after loading the pretext file I got this:

Screen Shot 2021-07-10 at 23 03 18

I know it isn't a problem with the file because I've loaded it on another computer and it worked. Could you help me?

Thanks,

Carol

EdHarry commented 3 years ago

Hi Carol,

Can you confirm the map file is the correct size compared to where you successfully opened it, i.e. it didn’t get truncated or corrupted while transferring it to your computer?

If so, is there a way you could send it to me (google drive, Dropbox etc …)?

Sent from my iPhone

On 11 Jul 2021, at 03:16, Carolina Heloisa de Souza Borges @.***> wrote:

 Hi Ed,

I've installed PretextView 0.2.2 for Mac, and after loading the pretext file I got this:

I know it isn't a problem with the file because I've loaded it on another computer and it worked. Could you help me?

Thanks,

Carol

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

carolhsb commented 3 years ago

Hi Ed,

I've checked and it isn't corrupted. Give me an email and I will send you a link to the file.

Thanks

EdHarry commented 3 years ago

Could you send the link to @.***

Sent from my iPhone

On 11 Jul 2021, at 14:20, Carolina Heloisa de Souza Borges @.***> wrote:

 Hi Ed,

I've checked and it isn't corrupted. Give me an email and I will send you a link to the file.

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

carolhsb commented 3 years ago

Hi Ed,

I can't see your email. This is the link:

https://drive.google.com/file/d/1XU8chNAHSwPtPLKjlwZYTtOWTIo0S5PW/view?usp=sharing

EdHarry commented 3 years ago

Ah, sorry about that, GitHub censors email addresses in comments by default.

The map looks fine to me on my Mac. Could you check your display gamma settings, either from the UI (by pressing the ‘u’ key) or using the left/right arrow keys.

On 11 Jul 2021, at 14:34, Carolina Heloisa de Souza Borges @.***> wrote:

Hi Ed,

I can't see your email. This is the link:

https://drive.google.com/file/d/1XU8chNAHSwPtPLKjlwZYTtOWTIo0S5PW/view?usp=sharing https://drive.google.com/file/d/1XU8chNAHSwPtPLKjlwZYTtOWTIo0S5PW/view?usp=sharing — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wtsi-hpag/PretextView/issues/5#issuecomment-877800981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHI7IM3KIVDMGN7B2SPV3TTXGMWVANCNFSM5AEZUKSQ.

carolhsb commented 3 years ago

No problem.

I've checked the gamma settings but didn't work :(

EdHarry commented 3 years ago

Can you try running from command line:

PretextView.app/Contents/MacOS/PretextView

Do you get any error messages printed to your console?

On 11 Jul 2021, at 17:57, Carolina Heloisa de Souza Borges @.***> wrote:

No problem.

I've checked the gamma settings but didn't work :(

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wtsi-hpag/PretextView/issues/5#issuecomment-877832025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHI7IO6PIKLTULZFYM7JMDTXHEQZANCNFSM5AEZUKSQ.

carolhsb commented 3 years ago

I've run it from the command line and didn't get any error messages. The file seems to be loading correctly. Screen Shot 2021-07-12 at 12 08 37

EdHarry commented 3 years ago

Well, to be honest, I'm pretty lost.

Have you been able to open other maps on the same computer successfully?

On Mon, 12 Jul 2021 at 16:09, Carolina Heloisa de Souza Borges < @.***> wrote:

I've run it from the command line and didn't get any error messages. The file seems to be loading correctly. [image: Screen Shot 2021-07-12 at 12 08 37] https://user-images.githubusercontent.com/71472484/125311732-03ed6600-e30a-11eb-9e9b-23ac6ce86d4d.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wtsi-hpag/PretextView/issues/5#issuecomment-878359107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHI7IKM4OTQMDLWYW3QTY3TXMAUBANCNFSM5AEZUKSQ .

carolhsb commented 3 years ago

I've opened other maps, but from the same data. The result was the same.

Could you share with me another pretext file so I can test opening it?

EdHarry commented 3 years ago

Try this: https://drive.google.com/file/d/1wNOFkh7dWbrneoqq8Ep3dZTEdERzWfrM/view?usp=sharing

On Mon, 12 Jul 2021 at 16:25, Carolina Heloisa de Souza Borges < @.***> wrote:

I've opened other maps, but from the same data. The result was the same.

Could you share with me another pretext file so I can test opening it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wtsi-hpag/PretextView/issues/5#issuecomment-878373795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHI7IJFOGAGZRIN6E7GWL3TXMCQJANCNFSM5AEZUKSQ .

carolhsb commented 3 years ago

Screen Shot 2021-07-12 at 12 34 45

carolhsb commented 3 years ago

Maybe a dependency is missing?

EdHarry commented 3 years ago

There are no dependencies apart from the system OpenGL libraries.

Could you tell me which version of MacOS are you using?

Could you also try this debug build: https://drive.google.com/file/d/1VDYVEsXCZTXwOUAlRuNCdzRXOsliWVx7/view?usp=sharing

Again, could you run this from the command line and report any logged messages.

On 13 Jul 2021, at 00:08, Carolina Heloisa de Souza Borges @.***> wrote:

Maybe a dependency is missing?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wtsi-hpag/PretextView/issues/5#issuecomment-878655931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHI7IIUKAWDRGGD3H6NUPTTXNYX5ANCNFSM5AEZUKSQ.

carolhsb commented 3 years ago

Hi Ed,

My OS version is 10.13.6. I have a MacBook Pro (13 inches, late 2011) and the GPU is Intel HD Graphics 3000 that supports OpenGL 3.3 but doesn't support OpenCL...I think that this might be the problem.

I've tried the debug version, there weren't any error messages but the file didn't load correctly.

EdHarry commented 3 years ago

It might be an OpenGL issue on that particular hardware, unfortunately I don't have easy access to that model macbook to test on. I'll see if I can virtualise the hardware and discover why it's not working.

On Tue, 13 Jul 2021 at 13:58, Carolina Heloisa de Souza Borges < @.***> wrote:

Hi Harry,

My OS version is 10.13.6. I have a MacBook Pro (13 inches, late 2011) and the GPU is Intel HD Graphics 3000 that supports OpenGL 3.3 but doesn't support OpenCL...I think that this might be the problem.

I've tried the debug version, there weren't any error messages but the file was loaded the same way.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wtsi-hpag/PretextView/issues/5#issuecomment-879064768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHI7IPJTROPFURF4KJ7CNLTXQZ7ZANCNFSM5AEZUKSQ .

carolhsb commented 3 years ago

Ok! Many thanks

EdHarry commented 3 years ago

Hi @carolhsb, sorry for the delay in getting back to you.

I couldn't virtualise the hardware, but I did manage to get my hands on a late 2011 Macbook Pro to test on. It seems that older Apple graphic drivers have very spotty support for OpenGL features, especially for GLSL shaders, which I use quite extensively in PretextView.

I still haven't been able to get the current version to work, but I did manage to get an older version (0.0.3) to work. This version doesn't feature any map editing support unfortunately. Hopefully you'll at least be able to open a map: https://drive.google.com/file/d/1LLqolKclNaTp8yXVPFwISl4hi1l9tdY3/view?usp=sharing

carolhsb commented 3 years ago

Hi @EdHarry

I can at least open the file now

Many thanks!