Skip to content

organize did not process the config file. #459

@kaiminator

Description

@kaiminator

Hi,

i have an issue using organize. It did not process any config file i created,

steps to reproduce:

$ organize new test
Config "test.yaml" created at "C:\Users\user.HOMENET\AppData\Local\organize\organize\test.yaml"

organize.exe edit test

-- pasted the example config from README.md and saved file

**rules:

  • name: "Find PDFs"
    locations:
    • ~/Downloads
      subfolders: true
      filters:
    • extension: pdf
      actions:
    • echo: "Found PDF!"**

Test is config file contains the example rule:

_$ cat C:\Users\user.HOMENET\AppData\Local\organize\organize\test.yaml
rules:

  • name: "Find PDFs"
    locations:
    • ~/Downloads
      subfolders: true
      filters:
    • extension: pdf
      actions:
    • echo: "Found PDF!"_

Test syntax via organize

$ organize.exe check test
No problems found in "C:\Users\user.HOMENET\AppData\Local\organize\organize\test.yaml".

Let organize show the config file:

_$ organize.exe show test
organize configuration file
https://organize.readthedocs.io

rules:

  • locations:
    filters:
    actions:
    • echo: "Hello, World!"_

There is a Problem. it does not shows any edited config in the config file

_$ organize.exe run test
Config: "C:\Users\user.HOMENET\AppData\Local\organize\organize\test1.yaml"

⚙ Rule #0 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
(echo) Hello, World!

success 1 / fail 0_

OS: Windows 11

$ organize.exe --version
organize v3.3.0 (installed via pip install -U organize-tool)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions