org-contrib使用ox-taskjuggler导出tjp文件失败

已成功安装taskjuggler,在emacs shell里可以执行命令

以下是安装org-contrib命令

     (use-package org-contrib
     :ensure t
        )

     (require 'ox-taskjuggler)

C-c C-e J j也是可以看到选项的。

但无法导出为tjp文件。

麻烦大伙帮我看看,如果需要其他相关信息请指出。

以下是测试文本。


* test project                                          :taskjuggler_project:
  :PROPERTIES:
  :start:    2017-03-25
  :END:



** Milestones

the milestones for the project

*** Start
    :PROPERTIES:
    :task_id:  start
    :END:

the start of the project.

*** End
    :PROPERTIES:
    :task_id:  end
    :depends:  blah
    :END:

this is the end of the project

** tasks

*** TODO Some task
    DEADLINE: <2017-03-29 Wed> SCHEDULED: <2017-03-27 Mon>
    :PROPERTIES:
    :task_id:  first_task
    :depends:  start
    :complete: 50
    :ALLOCATE: sdude
    :END:

this is a test of the system.

*** TODO Another task
    DEADLINE: <2017-03-29 Wed> SCHEDULED: <2017-03-28 Tue>
    :PROPERTIES:
    :task_id:  second_task
    :depends:  first_task
    :complete: 50
    :ALLOCATE: sdude
    :END:

* Resources                                            :taskjuggler_resource:
  :PROPERTIES:
  :workinghours: sat, sun off
  :END:

These are the resources available to the project.

** Some Dude
   :PROPERTIES:
   :resource_id: sdude
   :limits:   { dailymax 8.0h }
   :workinghours: mon - fri 9:00 - 12:00, 13:00 - 18:00
   :END:

附emacs版本 GNU Emacs 29.3 (build 1, x86_64-apple-darwin23.5.0, NS appkit-2487.60 Version 14.5 (Build 23F79)) of 2024-06-02

问题已解决。当前最新org-contrib为0.6.0,但已不继续对taskjuggler提供支持。回退到0.4.2可以。

附org-contrib下载: https://elpa.nongnu.org/nongnu/org-contrib.html

附解决方案出处: