Skip to content

Babel documentation example does not work #16

@SleepyBrett

Description

@SleepyBrett

I just learned about org-babel and was excited to see that orgextended has support. I grabbed your documentation (https://github.com/ihdavids/orgextended_docs/blob/master/babel.org) and started running.

I immediately face-planted.

New document, saved to a fail babel-test.org

I put this in the document as directed:

##+BEGIN_SRC python :var x=5
  print(str(x))
##+END_SRC

then I had to try to figure out how to run it, which is not in the documentation, and found Org Exec Source Block .. nothing happened. Opened the console. Realized that the double hashes at the beginings of those lines is in error and replaced it with:

#+BEGIN_SRC python :var x=5
  print(str(x))
#+END_SRC

when I try to run this I get:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38/sublime_plugin.py", line 1642, in run_
    return self.run(edit)
  File "/Users/bwagner/Library/Application Support/Sublime Text/Installed Packages/OrgExtended.sublime-package/orgsourceblock.py", line 617, in run
  File "/Users/bwagner/Library/Application Support/Sublime Text/Installed Packages/OrgExtended.sublime-package/orgsourceblock.py", line 934, in run
  File "/Users/bwagner/Library/Application Support/Sublime Text/Installed Packages/OrgExtended.sublime-package/orgsourceblock.py", line 291, in BuildFullParamList
AttributeError: 'OrgRootNode' object has no attribute 'properties'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions