bastibe / org-journal

A simple org-mode based journaling mode
BSD 3-Clause "New" or "Revised" License
1.24k stars 123 forks source link

failed to extract month from file #368

Open muralikodali opened 2 years ago

muralikodali commented 2 years ago

whenever search parameters are given, it is giving the following error.

failed to extract month from file: /home/xxxx/Dropbox/journal/November-2021.org

my configuration for org-journal is as shown below :

;; org-journal configuration
(setq org-journal-dir "/home/xxxx/Dropbox/journal")
(add-to-list 'org-agenda-files org-journal-dir)

(use-package org-journal
  :straight t
  :config
  (setq org-journal-file-type 'monthly
  org-journal-date-format "%A, %d %B %Y"
  org-journal-file-format "%B-%Y.org"
  org-journal-file-header "#+OPTIONS: date:nil author:nil toc:nil num:nil\n#+LaTeX_CLASS_OPTIONS: [a4paper,12pt]\n#+STARTUP: content \n\n"))
casch-at commented 2 years ago

Does the file even exist?

muralikodali commented 2 years ago

yes, the file exists.

There are two files in that directory. November-2021.org October-2021.org

October-2021.org file is created for test purpose. for the content, please check the attached image file.

screenshot_20211109122355