question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get it to run due to 'integrity failure'.

See original GitHub issue

Hi,

I was trying out your project but I’m stuck installing dependencies. I tried the conda installation method but it keeps failing (tried cpu, gpu and osx yamls). [DEBUG] Loading application... integrity failure

I also think the yaml file here https://github.com/prasunroy/stefann/blob/acac8fec6985e5e651313472738dbf36bbc27199/release/env_cpu.yml#L12 and here is faulty: https://github.com/prasunroy/stefann/blob/acac8fec6985e5e651313472738dbf36bbc27199/release/env_gpu.yml#L12

I guess it should look more like the OSX version with a double == and tensorflow below pip. https://github.com/prasunroy/stefann/blob/acac8fec6985e5e651313472738dbf36bbc27199/release/env_osx.yml#L10-L15 However even when I edit the env_cpu.yaml that way it seems to fail.

It could be related to this issue: https://github.com/tensorflow/tensorflow/issues/37316 but when I tried tensorflow>=2.1.0 it also failed.

Any idea how to solve this? Or is there an alternative way to install it? A docker container maybe?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
prasunroycommented, Aug 20, 2020

Hi, Thanks for your response, I’m eager to try it out since it looks awesome! 😃 I looked at those issues but they confused me even more tbh. I got that you reverted the Linux one (env_cpu.yaml) back to the original (which I tested before my additions IRC). I tested it both (combinations) multiple times on OSX and Ubuntu (16) to no avail (finally updating the yaml files as mentioned above).

TL;DR

Reinstalling xcb apparently fixed the issue. (Source).

sudo apt install --reinstall libxcb-xinerama0

Short Story Long

Sorry for replying a bit late. I went for a completely fresh install while trying to reproduce the issue. I did it on a old laptop without any NVIDIA GPU i.e. a CPU-based installation.

  1. Formatted the system completely and installed Pop!_OS 20.04 LTS which is based on Ubuntu 20.04 LTS.
  2. Updated the OS (usual post installation step).
sudo apt update && sudo apt upgrade
  1. The latest versions of build-essential and git are already pre-installed in Pop!_OS.
  2. Installed Miniconda (Python 3.8 Linux 64-bit). Anaconda should also work just fine but I wanted to keep things minimal.
  3. Followed through steps of Quick installation documented in README.
  4. Followed through steps of Quick test documented in README.
  5. I ran into the same error you reported earlier. 😅
[DEBUG] Loading application... done
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
  1. From the error it seems reinstalling xcb may fix the problem. This fact is further confirmed here.
  2. So, I reinstalled xcb.
sudo apt install --reinstall libxcb-xinerama0
  1. Finally, eveything started working as intended. ☺️

Screenshot from 2020-08-20 19-00-00 Screenshot from 2020-08-20 19-40-00

In our earlier tests we never faced this issue. So, thanks for reporting. However, it appears to be fixed now. I hope this helps.

1reaction
dietercastelcommented, Aug 17, 2020

Hi,

Thanks for your interest in our work. Before releasing this code, I personally tested on Linux and Windows only. A similar problem was later reported and apparently fixed for OSX by another contributor. Please check #1 and #4 for more details.

Unfortunately, I do not have access to an OSX system and therefore, I won’t be able to reproduce the issue for now. Hi, Thanks for your response, I’m eager to try it out since it looks awesome! 😃 I looked at those issues but they confused me even more tbh. I got that you reverted the Linux one (env_cpu.yaml) back to the original (which I tested before my additions IRC). I tested it both (combinations) multiple times on OSX and Ubuntu (16) to no avail (finally updating the yaml files as mentioned above).

On Linux which of the YAML files do you use to run it initially on CPU? I suspect the env_cpu.yml worked for you out of the box? Could you maybe explicitly add the versions to the (still) unversioned dependencies in that file? Potentially that could help but I’m not sure.

I might try to make that environment inside a docker container to see whether that helps but that will be for next month at the earliest. If that works I’ll definitely contribute it here because that would make using it as simple as docker pull and then running it.

Anyway, thanks for your effort if you have any more ideas I can try I’d love to hear it. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot startup any UWP app due to Application Integrity ...
- In the Control Panel search box, type recovery. - Select Recovery > Configure System Restore > Configure and see if the Turn...
Read more >
How To FIX Integrity Could Not Be Verified Error On ANY ...
Get The Cheapest iPhones Here: https://amzn.to/3JTnWArGet The Cheapest Androids Here: https://amzn.to/3r2k1stFollow Me On Twitter: ...
Read more >
“ This App Cannot Be Installed Because Its Integrity ... - YouTube
Amazon Daily Deals: http://saunders.gg/amazon❤️ If you enjoy this content, please consider a paid "super thanks " in the video or becoming ...
Read more >
Blazor WebAssembly Application fails to load due to integrity ...
I have also run into this issue with Azure CDN. Purging the cache and CTRL+F5 always does the trick for an immediate fix....
Read more >
How to fix this "Integrity check on decrypted field failed" error?
Run gpedit.msc - Local Group Policy Editor and change the Network Security: Configure Encryption types allowed for Kerberos. I've attached a screenshot of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found