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

Stop using pipes, fix write arg type. #37

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

porridge
Copy link
Contributor

@porridge porridge commented Oct 7, 2024

Fixes:

.../ledgerhelpers/tests/dogtail/addtrans.py:5: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13

and

Traceback (most recent call last):
  File ".../ledgerhelpers/tests/dogtail/addtrans.py", line 32, in <module>
    t.write("""
  File "/usr/lib/python3.11/tempfile.py", line 638, in func_wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
TypeError: a bytes-like object is required, not 'str'

This still leaves the following which I have no idea how to fix:

(addtrans:4027391): Gtk-WARNING **: 22:02:06.703: Locale not supported by C library.
	Using the fallback 'C' locale.
dbus[4027379]: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in file ../../../dbus/dbus-connection.c line 3557.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

@Rudd-O Rudd-O merged commit 562f6a1 into Rudd-O:master Oct 8, 2024
1 check passed
@porridge porridge deleted the dogtail-pipes branch October 8, 2024 10:03
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

Successfully merging this pull request may close these issues.

2 participants