'NoneType' object is not callable ; basic code

10 views
Skip to first unread message

Antonin FRAYSSE

unread,
Aug 24, 2025, 4:00:47 PMAug 24
to abjad-user
Hi,
It's my first team ever using Abjad. The library seems really great, congrats to the devs!
However I got this error when I try to run a basic code (Abjad 3.28 & Lilypond 2.25.27) :

Traceback (most recent call last):
  File "C:\Users\antof\PycharmProjects\PythonProject\main.py", line 57, in <module>
    abjad.show(staff_1)
    ~~~~~~~~~~^^^^^^^^^
  File "C:\Users\antof\PycharmProjects\PythonProject\.venv\Lib\site-packages\abjad\io.py", line 710, in show
    result = illustrator()
  File "C:\Users\antof\PycharmProjects\PythonProject\.venv\Lib\site-packages\abjad\io.py", line 88, in __call__
    string = self.string or self.string()
                            ~~~~~~~~~~~^^
TypeError: 'NoneType' object is not callable

I followed carefully the instructions to install the library.

Thank you!

Antonin FRAYSSE

unread,
Aug 24, 2025, 4:03:38 PMAug 24
to abjad-user
Actually, I just installed Abjad 3.26, and everything runs nicely now! I guess something is wrong with the new version

Trevor Bača

unread,
Aug 28, 2025, 2:40:54 PM (12 days ago) Aug 28
to abjad...@googlegroups.com
Dear Antonin,

Yes, thank you: 3.28 shipped with a bug in the frequently-used abjad.show() function.

Abjad 3.29 fixes that bug. It is available starting today.

Thanks for the report,

Trevor.

--
You received this message because you are subscribed to the Google Groups "abjad-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to abjad-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/abjad-user/31c47092-4a23-4e42-87c7-d64a68a575e3n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages