org-journal icon indicating copy to clipboard operation
org-journal copied to clipboard

failed to extract month from file

Open muralikodali opened this issue 3 years ago • 2 comments

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"))

muralikodali avatar Nov 08 '21 12:11 muralikodali

Does the file even exist?

casch-at avatar Nov 08 '21 20:11 casch-at

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

muralikodali avatar Nov 09 '21 06:11 muralikodali