VideoHelp Forum
+ Reply to Thread
Page 30 of 30
FirstFirst ... 20 28 29 30
Results 871 to 879 of 879
Thread
  1. Downloaded and got everything setup and working except I am getting the following error when trying to use SQLite for key_valuts

    Code:
    directories:
        services: C:/devine/devine-services/services
        vaults: C:/devine/Vaults
        temp: C:/devine/temp
    
    downloader: aria2c
    
    key_vaults:
      - type: SQLite
        name: "Local Vault"
        path: C:/devine/Vaults/key_store.db
    
    profiles:
        default: default
    ValueError: Unable to find vault command by the name 'SQLite'.
    I installed using pip using Python 3.12.7

    py -m pip install devine
    Also using v3.3.3 of Devine

    If I check I can import sqlite3 using python
    Code:
    Python 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sqlite3
    >>>
    do I have something configured incorrectly?
    Last edited by condrovic; 3rd Oct 2024 at 18:45. Reason: added python import using sqlite3
    Quote Quote  
  2. @condrovic

    Try with the default path:
    Code:
    %appdata%\local\devine\key_vault.db
    Quote Quote  
  3. Originally Posted by PunchDrunkL0ve View Post
    @condrovic

    Try with the default path:
    Code:
    %appdata%\local\devine\key_vault.db
    Same result even when trying different paths, not matter what I try same results

    Code:
    key_vaults:
        - type: SQLite
          name: Local-Vault
          path: C:/Users/ondro/AppData/local/devine/key_store.db
         # path: "C:\Users\ondro\AppData\Local\devine\Vaults\sqlite\key_store.db"
         #  path: "C:\\Users\\ondro\\AppData\\Local\\devine\\Vaults\\sqlite\\key_store.db"
    Quote Quote  
  4. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    perhap too many space
    use like that
    Code:
    key_vaults:
    - type: SQLite
      name: Local Vault
      path: C:\Users\yourpcname\.........\devine\key_store.db
    Quote Quote  
  5. Originally Posted by iamghost View Post
    perhap too many space
    use like that
    Code:
    key_vaults:
    - type: SQLite
      name: Local Vault
      path: C:\Users\yourpcname\.........\devine\key_store.db
    Copied and pasted just changed location same results below is the full stacktrace, it's like it's not recognizing the SQLite as a command

    Code:
    directories:
        services: C:/Users/ondro/AppData/Local/devine/devine-services/services
        vaults: C:/Users/ondro/AppData/Local/devine/Vaults
        temp: C:/temp/devine
    
    downloader: aria2c
    
    cdm:
        default: nexus_6p_4464_l1
    
    key_vaults:
    - type: SQLite
      name: Local Vault
      path: C:\temp\devine\key_store.db
    
    profiles:
        default: default
    Code:
    in _run_module_as_main:198                                                   │
    │ in _run_code:88                                                              │
    │                                                                              │
    │ in <module>:7                                                                │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1157 in __call__                                                  │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1078 in main                                                      │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1685 in invoke                                                    │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1434 in invoke                                                    │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:783 in invoke                                                     │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\decorators.py:33 in new_func                                              │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │
    │ ine\commands\dl.py:141 in cli                                                │
    │                                                                              │
    │   138 │   │   │   │     help="Amount of tracks to download concurrently.")   │
    │   139 │   @click.pass_context                                                │
    │   140 │   def cli(ctx: click.Context, **kwargs: Any) -> dl:                  │
    │ ❱ 141 │   │   return dl(ctx, **kwargs)                                       │
    │   142 │                                                                      │
    │   143 │   DRM_TABLE_LOCK = Lock()                                            │
    │   144                                                                        │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │
    │ ine\commands\dl.py:190 in __init__                                           │
    │                                                                              │
    │   187 │   │   │   for vault in config.key_vaults:                            │
    │   188 │   │   │   │   vault_type = vault["type"]                             │
    │   189 │   │   │   │   del vault["type"]                                      │
    │ ❱ 190 │   │   │   │   self.vaults.load(vault_type, **vault)                  │
    │   191 │   │   │   self.log.info(f"Loaded {len(self.vaults)} Vaults")         │
    │   192 │   │                                                                  │
    │   193 │   │   self.proxy_providers = []                                      │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │
    │ ine\core\vaults.py:40 in load                                                │
    │                                                                              │
    │   37 │   │   """Load a Vault into the vaults list."""                        │
    │   38 │   │   module = _MODULES.get(type_)                                    │
    │   39 │   │   if not module:                                                  │
    │ ❱ 40 │   │   │   raise ValueError(f"Unable to find vault command by the name │
    │   41 │   │   vault = module(**kwargs)                                        │
    │   42 │   │   self.vaults.append(vault)                                       │
    │   43                                                                         │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ValueError: Unable to find vault command by the name 'SQLite'.
    Last edited by condrovic; 4th Oct 2024 at 11:45. Reason: added full devine.yaml
    Quote Quote  
  6. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    do you have SQLite.py in vaults folder?
    Image
    [Attachment 82671 - Click to enlarge]
    Quote Quote  
  7. I do it's different than yours as I did an install using pip instead of doing a git clone and build running from source so it's located in a different folder

    I am not missing something in the actual command am I?

    Code:
    devine dl --slow -w WANTED_EPISODES SERVICE_NAME URL
    Or did I maybe miss setting up the kv?

    Image
    [Attachment 82672 - Click to enlarge]
    Last edited by condrovic; 4th Oct 2024 at 13:20. Reason: added how I am calling devine
    Quote Quote  
  8. ok so i tried to dl from AMZN using service from here https://github.com/Fabio31456/devine

    it failed to get tracks response, so i hardcoded them (i know it's kinda lame but wanted to check if it'll proceed further)

    Code:
    urls.append("https://ABFICTPAAAAAAAAMKPOAGY3E23AOA.shard-1-eu-reg.dash.pv-cdn.net/dm/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
    urls.append("https://ABFICTPAAAAAAAAMKPOAGY3E23AOA.s3-dub-2.cf.dash.row.aiv-cdn.net/dm/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
    urls.append("https://a157avoddashs3ww-a.akamaihd.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/ondemand/ww_dub/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
    urls.append("https://m-4691s3.ll.dash.row.aiv-cdn.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/ww_dub/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
    urls.append("https://a56avoddashs3ww-a.akamaihd.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/ondemand/iad_2/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
    urls.append("https://m-7121s3.ll.dash.row.aiv-cdn.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/iad_2/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
    but it didn't

    Code:
    D:\Temp\python\devine>devine dl --lang=all AMZN amzn1.dv.gti.c6361fd3-4e27-4ccb-86b1-9d3b2011a89a
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.3 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L3)
         Loaded 1 Vaults
    
      ────────────────────────────── Service: AMZN ───────────────────────────────
    
         Service has no Geofence
         Authenticated with Service
    
      ──────────────────── Movies: Budda. Dzieciak '98 (2024) ────────────────────
    
         1 Movie
    
      ──────────────────────── Budda. Dzieciak '98 (2024) ────────────────────────
    
         No Widevine PSSH was found for this track, is it DRM free?
         No Widevine PSSH was found for this track, is it DRM free?
         No Widevine PSSH was found for this track, is it DRM free?
         No Widevine PSSH was found for this track, is it DRM free?
         No Widevine PSSH was found for this track, is it DRM free?
    
         1 Video
         └── [H.264, SDR] | en | 1920x1080 @ 15000 kb/s, 25.000 FPS
              ---------------------------------------- • 00:06 • Downloaded
         4 Audio
         ├── [AAC] | pl | 2.0 | 128 kb/s
         │    ---------------------------------------- • 00:09 • Downloaded
         ├── [AAC] | pl | 2.0 | 64 kb/s
         │    ---------------------------------------- • 00:12 • Downloaded
         ├── [AAC] | pl | 2.0 | 32 kb/s
         │    ---------------------------------------- • 00:15 • Downloaded
         └── [AAC] | pl | 2.0 | 20 kb/s
              ---------------------------------------- • 00:19 • Downloaded
    
         Track downloads finished in 0m19s
         Failed to Mux video to Matroska file (2)
         Multiplexing... ⠋ ---------------------------------------- •
    Any idea what could be wrong ?
    Quote Quote  
  9. Originally Posted by condrovic View Post
    Originally Posted by iamghost View Post
    perhap too many space
    use like that
    Code:
    key_vaults:
    - type: SQLite
      name: Local Vault
      path: C:\Users\yourpcname\.........\devine\key_store.db
    Copied and pasted just changed location same results below is the full stacktrace, it's like it's not recognizing the SQLite as a command

    Code:
    directories:
        services: C:/Users/ondro/AppData/Local/devine/devine-services/services
        vaults: C:/Users/ondro/AppData/Local/devine/Vaults
        temp: C:/temp/devine
    
    downloader: aria2c
    
    cdm:
        default: nexus_6p_4464_l1
    
    key_vaults:
    - type: SQLite
      name: Local Vault
      path: C:\temp\devine\key_store.db
    
    profiles:
        default: default
    Code:
    in _run_module_as_main:198                                                   │
    │ in _run_code:88                                                              │
    │                                                                              │
    │ in <module>:7                                                                │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1157 in __call__                                                  │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1078 in main                                                      │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1688 in invoke                                                    │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1685 in invoke                                                    │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:1434 in invoke                                                    │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\core.py:783 in invoke                                                     │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │
    │ ck\decorators.py:33 in new_func                                              │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │
    │ ine\commands\dl.py:141 in cli                                                │
    │                                                                              │
    │   138 │   │   │   │     help="Amount of tracks to download concurrently.")   │
    │   139 │   @click.pass_context                                                │
    │   140 │   def cli(ctx: click.Context, **kwargs: Any) -> dl:                  │
    │ ❱ 141 │   │   return dl(ctx, **kwargs)                                       │
    │   142 │                                                                      │
    │   143 │   DRM_TABLE_LOCK = Lock()                                            │
    │   144                                                                        │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │
    │ ine\commands\dl.py:190 in __init__                                           │
    │                                                                              │
    │   187 │   │   │   for vault in config.key_vaults:                            │
    │   188 │   │   │   │   vault_type = vault["type"]                             │
    │   189 │   │   │   │   del vault["type"]                                      │
    │ ❱ 190 │   │   │   │   self.vaults.load(vault_type, **vault)                  │
    │   191 │   │   │   self.log.info(f"Loaded {len(self.vaults)} Vaults")         │
    │   192 │   │                                                                  │
    │   193 │   │   self.proxy_providers = []                                      │
    │                                                                              │
    │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │
    │ ine\core\vaults.py:40 in load                                                │
    │                                                                              │
    │   37 │   │   """Load a Vault into the vaults list."""                        │
    │   38 │   │   module = _MODULES.get(type_)                                    │
    │   39 │   │   if not module:                                                  │
    │ ❱ 40 │   │   │   raise ValueError(f"Unable to find vault command by the name │
    │   41 │   │   vault = module(**kwargs)                                        │
    │   42 │   │   self.vaults.append(vault)                                       │
    │   43                                                                         │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ValueError: Unable to find vault command by the name 'SQLite'.

    So to test I uninstalled and downloaded the from git same issues


    Code:
    (devine)  ~\source\git\devine master ● 3.12.7 py -m poetry run devine dl ROKU -?
    
                           / __ \/ ____/ |  / /  _/ | / / ____/
                          / / / / __/  | | / // //  |/ / __/
                         / /_/ / /___  | |/ // // /|  / /___
                        /_____/_____/  |___/___/_/ |_/_____/
                        ⠀
                        v3.3.3 Copyright © 2019-2024 rlaphoenix
                          https://github.com/devine-dl/devine
    
         Service Config loaded
         Loaded Cdm Widevine CDM: 4464 (L1)
    ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
    │ in <module>:1                                                                │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1157 in         │
    │ __call__                                                                     │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1078 in main    │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1688 in invoke  │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1685 in invoke  │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1434 in invoke  │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:783 in invoke   │
    │                                                                              │
    │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\decorators.py:33 in     │
    │ new_func                                                                     │
    │                                                                              │
    │ C:\Users\ondro\source\git\devine\devine\commands\dl.py:141 in cli            │
    │                                                                              │
    │   138 │   │   │   │     help="Amount of tracks to download concurrently.")   │
    │   139 │   @click.pass_context                                                │
    │   140 │   def cli(ctx: click.Context, **kwargs: Any) -> dl:                  │
    │ ❱ 141 │   │   return dl(ctx, **kwargs)                                       │
    │   142 │                                                                      │
    │   143 │   DRM_TABLE_LOCK = Lock()                                            │
    │   144                                                                        │
    │                                                                              │
    │ C:\Users\ondro\source\git\devine\devine\commands\dl.py:191 in __init__       │
    │                                                                              │
    │   188 │   │   │   for vault in config.key_vaults:                            │
    │   189 │   │   │   │   vault_type = vault["type"]                             │
    │   190 │   │   │   │   del vault["type"]                                      │
    │ ❱ 191 │   │   │   │   self.vaults.load(vault_type, **vault)                  │
    │   192 │   │   │   self.log.info(f"Loaded {len(self.vaults)} Vaults")         │
    │   193 │   │                                                                  │
    │   194 │   │   self.proxy_providers = []                                      │
    │                                                                              │
    │ C:\Users\ondro\source\git\devine\devine\core\vaults.py:40 in load            │
    │                                                                              │
    │   37 │   │   """Load a Vault into the vaults list."""                        │
    │   38 │   │   module = _MODULES.get(type_)                                    │
    │   39 │   │   if not module:                                                  │
    │ ❱ 40 │   │   │   raise ValueError(f"Unable to find vault command by the name │
    │   41 │   │   vault = module(**kwargs)                                        │
    │   42 │   │   self.vaults.append(vault)                                       │
    │   43                                                                         │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ValueError: Unable to find vault command by the name 'SQLite'.
    (devine)  ~\source\git\devine master ● 3.12.7
    Cleary SQLite.py is located in vaults

    Code:
    tree .\devine\vaults\
    Directory: .\devine\vaults\
    TreeDepth: 2
     .\devine\vaults
    ├── __init__.py
    ├── API.py
    ├── MySQL.py
    └── SQLite.py
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!