Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not run #1

Open
DrRingo opened this issue Mar 2, 2024 · 7 comments
Open

Can not run #1

DrRingo opened this issue Mar 2, 2024 · 7 comments

Comments

@DrRingo
Copy link

DrRingo commented Mar 2, 2024

I run the example in your README and get this error: TypeError: cannot unpack non-iterable NoneType object

@crdoconnor
Copy link
Owner

crdoconnor commented Mar 2, 2024 via email

@crdoconnor
Copy link
Owner

crdoconnor commented Mar 2, 2024 via email

@DrRingo
Copy link
Author

DrRingo commented Mar 3, 2024

Here you are. I don't know what specific white space I use. I just copy your example to vscode on Windows 11, save the file, and run on WSL
Screenshot 2024-03-03 152324

@DrRingo
Copy link
Author

DrRingo commented Mar 7, 2024

Your "latexed" function may not convert orgmode format to latex.
Example: I write bold, italic in orgmode note, but Orji not auto convert it to latex format, even when I use "latexed" after "body"
Please fix this, your project have inspired me a lot. I use both orgmode and latex heavily in my daily job

@crdoconnor
Copy link
Owner

crdoconnor commented Mar 17, 2024

I can't verify why exactly you were getting the above error for the default examples, but I've been getting it too for files without any actual notes like this:

This is the preface.\n\n

I also tested it with windows line endings and it seemed to work.

It's likely you didn't copy the whole file or copied and pasted without the bullet points '*' or something.

@crdoconnor
Copy link
Owner

Your "latexed" function may not convert orgmode format to latex.

Yep, I'm afraid I did a very minimal version that worked for my purposes. I only cared about ampersands and URLs.

I've raised this as a separate issue here: #2

@crdoconnor
Copy link
Owner

This issue should be fixed on the main branch of orgmunge. It's not yet released yet though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants