VideoHelp Forum
+ Reply to Thread
Page 30 of 30
FirstFirst ... 20 28 29 30
Results 871 to 877 of 877
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  



Similar Threads

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