Booritas / slideio

BSD 3-Clause "New" or "Revised" License
59 stars 4 forks source link

SlideIO conan repository link is unavailable #37

Closed Hirriririir closed 2 weeks ago

Hirriririir commented 2 weeks ago

Dear developer,

This is a great repository! I have encountered the same Olympus VS200 issue as #34. I am trying to build it from source since the slideio pip package is not updated. I find that the link to the SlideIO conan repository seems not to work. Could you please tell me how to fix this? Many thanks!

(py38) hua@Hua-PS:~/Research$ git clone https://github.com/Booritas/slideio
Cloning into 'slideio'...
remote: Enumerating objects: 10398, done.
remote: Counting objects: 100% (4052/4052), done.
remote: Compressing objects: 100% (1038/1038), done.
remote: Total 10398 (delta 3119), reused 3856 (delta 2953), pack-reused 6346 (from 1)
Receiving objects: 100% (10398/10398), 3.61 MiB | 13.63 MiB/s, done.
Resolving deltas: 100% (7790/7790), done.
(py38) hua@Hua-PS:~/Research$ cd slideio/
(py38) hua@Hua-PS:~/Research/slideio$ pip install conan==1.59.0
Requirement already satisfied: conan==1.59.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (1.59.0)
Requirement already satisfied: requests<3.0.0,>=2.25 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (2.32.2)
Requirement already satisfied: urllib3<1.27,>=1.26.6 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (1.26.20)
Requirement already satisfied: colorama<0.5.0,>=0.3.3 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (0.4.6)
Requirement already satisfied: PyYAML<=6.0,>=3.11 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (6.0)
Requirement already satisfied: patch-ng<1.18,>=1.17.4 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (1.17.4)
Requirement already satisfied: fasteners>=0.14.1 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (0.19)
Requirement already satisfied: six<=1.16.0,>=1.10.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (1.16.0)
Requirement already satisfied: node-semver==0.6.1 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (0.6.1)
Requirement already satisfied: pygments<3.0,>=2.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (2.18.0)
Requirement already satisfied: tqdm<5,>=4.28.1 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (4.66.5)
Requirement already satisfied: python-dateutil<3,>=2.7.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (2.9.0)
Requirement already satisfied: bottle<0.13,>=0.12.8 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (0.12.25)
Requirement already satisfied: pluginbase>=0.5 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (1.0.1)
Requirement already satisfied: PyJWT<3.0.0,>=2.4.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (2.9.0)
Requirement already satisfied: Jinja2<4.0.0,>=3.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (3.1.4)
Requirement already satisfied: distro<=1.8.0,>=1.0.2 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from conan==1.59.0) (1.8.0)
Requirement already satisfied: MarkupSafe>=2.0 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from Jinja2<4.0.0,>=3.0->conan==1.59.0) (2.1.3)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/hua/.local/lib/python3.8/site-packages (from requests<3.0.0,>=2.25->conan==1.59.0) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/hua/miniconda3/envs/py38/lib/python3.8/site-packages (from requests<3.0.0,>=2.25->conan==1.59.0) (3.7)
Requirement already satisfied: certifi>=2017.4.17 in /home/hua/.local/lib/python3.8/site-packages (from requests<3.0.0,>=2.25->conan==1.59.0) (2024.7.4)
(py38) hua@Hua-PS:~/Research/slideio$ export CONAN_REVISIONS_ENABLED=1
conan remote add slideio https://bioslide.jfrog.io/artifactory/api/conan/slideio-conan
ERROR: Remote 'slideio' already exists in remotes (use update to modify)
(py38) hua@Hua-PS:~/Research/slideio$ python install.py -a conan
----------Installattion of slideio-----------------
Slideio directory: /home/hua/Research/slideio
Build directory: /home/hua/Research/slideio/build/Linux
Platform: Linux
Processor: x86_64
---------------------------------------------------
------------Linux detected----------------
ubuntu
Detected profiles:['/home/hua/Research/slideio/conan/Linux/multilinux/linux_debug', '/home/hua/Research/slideio/conan/Linux/multilinux/linux_release']
-------Process file:  /home/hua/Research/slideio/src/py-bind/conanfile.txt
Profile:/home/hua/Research/slideio/conan/Linux/multilinux/linux_debug
['conan', 'install', '-pr', '/home/hua/Research/slideio/conan/Linux/multilinux/linux_debug', '-if', '/home/hua/Research/slideio/src/py-bind', '-g', 'cmake_multi', '-b', 'missing', '/home/hua/Research/slideio/src/py-bind/conanfile.txt']
Configuration:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=17
compiler.libcxx=libstdc++
compiler.version=12
os=Linux
openssl:compiler.version=11
[options]
tinyxml2:shared=False
[build_requires]
[env]

boost/1.81.0@slideio/stable: Not found in local cache, looking in remotes...
boost/1.81.0@slideio/stable: Trying with 'conancenter'...
boost/1.81.0@slideio/stable: Trying with 'slideio'...
ERROR: <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>JFrog Landing</title><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800&display=swap" rel="stylesheet"><script>VERSION = "2024.9.253";
      API_PROXY_URL = "https://landing-api.jfrog.com/api/v1/";
      API_PROXY_URL_V2 = "https://landing-api.jfrog.com/api/v2/";
      MYJFROG_UI_URL = "https://my.jfrog.com";
      COOKIES_DOMAIN = "jfrog.com";
      AWS_PROX_URL = "https://aws.amazon.com/marketplace/pp/B0819LTNJR";
      DRIFT_EMBED_ID = "gebxvrgwfyr7";
      GOOGLE_CLIENT_ID = "527996402582-i2kl20du99gjd8dnr3cce1a8ao0sgou7.apps.googleusercontent.com";
      PLATFORM_DOMAIN = "jfrog.io";
      CONNECT_DOMAIN = "https://connect.jfrog.io";
      ENABLE_GCP_PRIVATE_LINK = "true";
      HEAP_PROJECT_ID = "1702671756";
      HEAP_ALLOWED_URLS = "https://landing.jfrog.com/mp-unified/";
      GITHUB_CLIENT_ID = "83db76bbde6d1d9c7140";
      GITHUB_SSO_REDIRECT_URL = "https://landing.jfrog.com/register/STEP_PLACEHOLDER";
      RATE_PLAN_ID_PRO_MONTHLY= "8a12862986e9fbda01870499deb37044";
      RATE_PLAN_ID_ENT_X_MONTHLY= "8a1290f186ea14aa0187048fc33e5334";
      MAINTENANCE_MODE= "false";</script><script>if (window.MAINTENANCE_MODE === "true" && window.location.href.indexOf("maintenance") === -1) {
        window.location.href = "/maintenance";
      }</script><script>MYJFROG_STATE = {};</script><script>(function(w, d, s, l, i) {
        w[l] = w[l] || [];
        w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
        var f = d.getElementsByTagName(s)[0],
          j = d.createElement(s),
          dl = l != "dataLayer" ? "&l=" + l : "";
        j.async = true;
        j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
        f.parentNode.insertBefore(j, f);
      })(window, document, "script", "dataLayer", "GTM-N3P9XVQ");</script><script>(function(w, d, s, l, i) {
        w[l] = w[l] || [];
        w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
        var f = d.getElementsByTagName(s)[0],
          j = d.createElement(s),
          dl = l != "dataLayer" ? "&l=" + l : "";
        j.async = true;
        j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
        f.parentNode.insertBefore(j, f);
      })(window, document, "script", "dataLayer", "GTM-T6MF8M");</script><script src="https://accounts.google.com/gsi/client" async defer></script><script>(function() {
        var didInit = false;
        function initMunchkin() {
          if (didInit === false) {
            didInit = true;
            Munchkin.init("256-FNZ-187");
          }
        }
        var s = document.createElement("script");
        s.type = "text/javascript";
        s.async = true;
        s.src = "//munchkin.marketo.net/munchkin.js";
        s.onreadystatechange = function () {
          if (this.readyState === "complete" || this.readyState === "loaded") {
            initMunchkin();
          }
        };
        s.onload = initMunchkin;
        document.getElementsByTagName("head")[0].appendChild(s);
      })();</script><script>const currentUrl = window.location.href;
      const heapAllowedUrls = HEAP_ALLOWED_URLS;
      let enableHeap = false;
      const urls = heapAllowedUrls.split(",");
      for(const allowedUrl of urls){
        if(allowedUrl && currentUrl.indexOf(allowedUrl)>-1){
          enableHeap = true;
        }
      }

      if (enableHeap) {
        window.heap = window.heap || [], heap.load = function (e, t) {
          window.heap.appid = e, window.heap.config = t = t || {};
          var r = document.createElement("script");
          r.type = "text/javascript", r.async = !0, r.src = "https://cdn.heapanalytics.com/js/heap-" + e + ".js";
          var a = document.getElementsByTagName("script")[0];
          a.parentNode.insertBefore(r, a);
          for (var n = function (e) {
            return function () {
              heap.push([e].concat(Array.prototype.slice.call(arguments, 0)))
            }
          }, p = ["addEventProperties", "addUserProperties", "clearEventProperties", "identify", "resetIdentity", "removeEventProperty", "setEventProperties", "track", "unsetEventProperty"], o = 0; o < p.length; o++) heap[p[o]] = n(p[o])
        };

        heap.load("1702671756");
      }</script><link href="/css/chunk-04677092.1a354d09.css" rel="prefetch"><link href="/css/chunk-0513e1c1.0bd40812.css" rel="prefetch"><link href="/css/chunk-1068f83c.0a542980.css" rel="prefetch"><link href="/css/chunk-12b6b26f.95b938ae.css" rel="prefetch"><link href="/css/chunk-148b227a.1a354d09.css" rel="prefetch"><link href="/css/chunk-1757042f.1f165cbb.css" rel="prefetch"><link href="/css/chunk-1a015bbd.5b3c826f.css" rel="prefetch"><link href="/css/chunk-1ff64d98.3798d290.css" rel="prefetch"><link href="/css/chunk-2893fe67.2987d70c.css" rel="prefetch"><link href="/css/chunk-2c185c30.ac66e9b1.css" rel="prefetch"><link href="/css/chunk-317395a4.1890e70a.css" rel="prefetch"><link href="/css/chunk-31da8e23.f91fd2df.css" rel="prefetch"><link href="/css/chunk-33d9a224.5bc476bc.css" rel="prefetch"><link href="/css/chunk-3420a2c9.6b5c42f5.css" rel="prefetch"><link href="/css/chunk-381827b0.81b19452.css" rel="prefetch"><link href="/css/chunk-39618514.1f9e29b5.css" rel="prefetch"><link href="/css/chunk-3c564152.03291ac0.css" rel="prefetch"><link href="/css/chunk-3ce4f4ad.0b152cec.css" rel="prefetch"><link href="/css/chunk-3d58e4c9.00bd86a6.css" rel="prefetch"><link href="/css/chunk-42c54202.ba553bec.css" rel="prefetch"><link href="/css/chunk-4746d5a8.31f54e92.css" rel="prefetch"><link href="/css/chunk-4a4253d3.04bb01f9.css" rel="prefetch"><link href="/css/chunk-4b52d6f9.48d9dedf.css" rel="prefetch"><link href="/css/chunk-50de8675.9d2899f2.css" rel="prefetch"><link href="/css/chunk-50f50b53.b29ac503.css" rel="prefetch"><link href="/css/chunk-5373bc52.e621a177.css" rel="prefetch"><link href="/css/chunk-54b2cb72.7e85bc6f.css" rel="prefetch"><link href="/css/chunk-568d7eca.2d7f5384.css" rel="prefetch"><link href="/css/chunk-58b69de0.4edc0677.css" rel="prefetch"><link href="/css/chunk-5992bc6f.7d2788b3.css" rel="prefetch"><link href="/css/chunk-5b7729f7.2f0e820a.css" rel="prefetch"><link href="/css/chunk-5f676ef6.a0165a89.css" rel="prefetch"><link href="/css/chunk-611fed26.8094c7fa.css" rel="prefetch"><link href="/css/chunk-62250f32.d4a113a2.css" rel="prefetch"><link href="/css/chunk-62a7dd00.a0cdf461.css" rel="prefetch"><link href="/css/chunk-67296aa6.3ffe749a.css" rel="prefetch"><link href="/css/chunk-6b09c278.1d5d32c1.css" rel="prefetch"><link href="/css/chunk-7c731679.348194d7.css" rel="prefetch"><link href="/css/chunk-7ec8e372.87773602.css" rel="prefetch"><link href="/css/chunk-8aae8b36.7d2cd02e.css" rel="prefetch"><link href="/css/chunk-91fa9824.069d8018.css" rel="prefetch"><link href="/css/chunk-a8a61f36.677a2402.css" rel="prefetch"><link href="/css/chunk-aafdb71e.f14be58a.css" rel="prefetch"><link href="/css/chunk-b4abecc2.a326e93a.css" rel="prefetch"><link href="/css/chunk-ce1225f8.e88302cb.css" rel="prefetch"><link href="/css/chunk-dc2cb30e.759abff0.css" rel="prefetch"><link href="/css/chunk-f6dbd184.2c728934.css" rel="prefetch"><link href="/css/chunk-f7c81e10.8edf82e0.css" rel="prefetch"><link href="/js/chunk-04677092.346a1464.js" rel="prefetch"><link href="/js/chunk-0513e1c1.26915696.js" rel="prefetch"><link href="/js/chunk-1068f83c.ebe2ae83.js" rel="prefetch"><link href="/js/chunk-12b6b26f.c8635c06.js" rel="prefetch"><link href="/js/chunk-148b227a.e4e4a54e.js" rel="prefetch"><link href="/js/chunk-1757042f.618d7203.js" rel="prefetch"><link href="/js/chunk-1a015bbd.f04583fa.js" rel="prefetch"><link href="/js/chunk-1bb05a92.cce08d18.js" rel="prefetch"><link href="/js/chunk-1ff64d98.b309c15b.js" rel="prefetch"><link href="/js/chunk-2893fe67.7d427193.js" rel="prefetch"><link href="/js/chunk-2c185c30.68dc1c90.js" rel="prefetch"><link href="/js/chunk-2d0b2916.8235638f.js" rel="prefetch"><link href="/js/chunk-2d0ddbee.d24f4ae0.js" rel="prefetch"><link href="/js/chunk-2d208668.514f22c6.js" rel="prefetch"><link href="/js/chunk-2d20f68c.317cae83.js" rel="prefetch"><link href="/js/chunk-2d230855.8954a60f.js" rel="prefetch"><link href="/js/chunk-2d230df6.6044258f.js" rel="prefetch"><link href="/js/chunk-317395a4.37583959.js" rel="prefetch"><link href="/js/chunk-31da8e23.1a75da5b.js" rel="prefetch"><link href="/js/chunk-33d9a224.75a183e3.js" rel="prefetch"><link href="/js/chunk-3420a2c9.9a984d60.js" rel="prefetch"><link href="/js/chunk-381827b0.975d2ebd.js" rel="prefetch"><link href="/js/chunk-39618514.be39e84f.js" rel="prefetch"><link href="/js/chunk-3c564152.6338dd67.js" rel="prefetch"><link href="/js/chunk-3ce4f4ad.1423eabd.js" rel="prefetch"><link href="/js/chunk-3d58e4c9.eebd4e15.js" rel="prefetch"><link href="/js/chunk-42c54202.7317bfd3.js" rel="prefetch"><link href="/js/chunk-4746d5a8.fdc679dd.js" rel="prefetch"><link href="/js/chunk-4a4253d3.bf56dd44.js" rel="prefetch"><link href="/js/chunk-4b52d6f9.fe48c922.js" rel="prefetch"><link href="/js/chunk-50de8675.c3c6b54e.js" rel="prefetch"><link href="/js/chunk-50f50b53.b1e3ee67.js" rel="prefetch"><link href="/js/chunk-5373bc52.218474a6.js" rel="prefetch"><link href="/js/chunk-54b2cb72.6370867a.js" rel="prefetch"><link href="/js/chunk-568d7eca.66f26f0e.js" rel="prefetch"><link href="/js/chunk-58b69de0.1d0345cd.js" rel="prefetch"><link href="/js/chunk-5992bc6f.44cb180b.js" rel="prefetch"><link href="/js/chunk-5b7729f7.05d0fd27.js" rel="prefetch"><link href="/js/chunk-5f676ef6.b012180a.js" rel="prefetch"><link href="/js/chunk-611fed26.46b435dd.js" rel="prefetch"><link href="/js/chunk-62250f32.f64ca8ef.js" rel="prefetch"><link href="/js/chunk-62a7dd00.56b6d3d6.js" rel="prefetch"><link href="/js/chunk-67296aa6.9f77640d.js" rel="prefetch"><link href="/js/chunk-6b09c278.4f0eaf3e.js" rel="prefetch"><link href="/js/chunk-7c731679.56327901.js" rel="prefetch"><link href="/js/chunk-7ec8e372.698151ce.js" rel="prefetch"><link href="/js/chunk-8aae8b36.c04113b3.js" rel="prefetch"><link href="/js/chunk-91fa9824.96854313.js" rel="prefetch"><link href="/js/chunk-a8a61f36.fccaf1e0.js" rel="prefetch"><link href="/js/chunk-aafdb71e.6f7e1612.js" rel="prefetch"><link href="/js/chunk-b4abecc2.50f250f5.js" rel="prefetch"><link href="/js/chunk-ce1225f8.e76625a2.js" rel="prefetch"><link href="/js/chunk-dc2cb30e.a074ed55.js" rel="prefetch"><link href="/js/chunk-f6dbd184.3b41dc43.js" rel="prefetch"><link href="/js/chunk-f7c81e10.4da03f12.js" rel="prefetch"><link href="/css/app.d0bffb53.css" rel="preload" as="style"><link href="/css/chunk-vendors.8d0ab741.css" rel="preload" as="style"><link href="/js/app.c19af453.js" rel="preload" as="script"><link href="/js/chunk-vendors.b34998fb.js" rel="preload" as="script"><link href="/css/chunk-vendors.8d0ab741.css" rel="stylesheet"><link href="/css/app.d0bffb53.css" rel="stylesheet"></head><body><noscript><strong>MyJFrog doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N3P9XVQ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="app"></div><script src="//sec.webeyez.com/js/wDv55PKmTtpCTH14WWzDXw2yJ3Gz/wzbody.js" async></script><script src="/js/chunk-vendors.b34998fb.js"></script><script src="/js/app.c19af453.js"></script></body></html>

Response from remote is not json, but 'text/html; charset=utf-8'. [Remote: slideio]
Traceback (most recent call last):
  File "install.py", line 222, in <module>
    configure_conan(slideio_directory, configuration)
  File "install.py", line 110, in configure_conan
    process_conan_profile(profile, os.path.dirname(trg_conan_file_path), trg_conan_file_path.absolute().as_posix())
  File "install.py", line 89, in process_conan_profile
    subprocess.check_call(command)
  File "/home/hua/miniconda3/envs/py38/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['conan', 'install', '-pr', '/home/hua/Research/slideio/conan/Linux/multilinux/linux_debug', '-if', '/home/hua/Research/slideio/src/py-bind', '-g', 'cmake_multi', '-b', 'missing', '/home/hua/Research/slideio/src/py-bind/conanfile.txt']' returned non-zero exit status 1.
(py38) hua@Hua-PS:~/Research/slideio$
Booritas commented 2 weeks ago

Here’s an improved version of your message:

Thank you for reaching out. Unfortunately, JFrog Artifactory no longer supports custom repositories for open-source software. I currently use a private Conan server, but I don't keep it running continuously due to rental costs. Building the software is straightforward with the Conan server; however, without it, the process becomes more complex. I’m currently working on a software refactor that will make it easier to build in a Docker container with a pre-installed Conan server.

In the meantime, I’ve addressed the issue with the VSI files. The error you're seeing indicates that some ETS files are corrupted, causing the library to be unable to match information between the VSI and ETS files. Previously, the library would stop processing upon encountering such an error. With this fix, it will now skip the corrupted file and continue with the remaining ETS files. This update is available in the newly uploaded version 2.6.3.

Please let me know if this resolves your issue. If not, feel free to share the file with me, and I’ll investigate further to see if another solution is possible.

Hirriririir commented 2 weeks ago

Really appreciate your great work!

I will try later and report to you if any bugs occur.