Skip to content

cannot marshal None unless allow_none is enabled #22

Closed
@Bost

Description

@Bost
$ pwclient list -w Licht
Traceback (most recent call last):
  File "/gnu/store/8z3z6p6rl6i8z7s96m18a251rfkdz4il-pwclient-2.6.0/bin/.pwclient-real", line 10, in <module>
    sys.exit(main())
  File "/gnu/store/8z3z6p6rl6i8z7s96m18a251rfkdz4il-pwclient-2.6.0/lib/python3.10/site-packages/pwclient/shell.py", line 140, in main
    patches.action_list(
  File "/gnu/store/8z3z6p6rl6i8z7s96m18a251rfkdz4il-pwclient-2.6.0/lib/python3.10/site-packages/pwclient/patches.py", line 91, in action_list
    patches = api.patch_list(**filters)
  File "/gnu/store/8z3z6p6rl6i8z7s96m18a251rfkdz4il-pwclient-2.6.0/lib/python3.10/site-packages/pwclient/api.py", line 300, in patch_list
    patches += self._client.patch_list(filters)
  File "/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/xmlrpc/client.py", line 1122, in __call__
    return self.__send(self.__name, args)
  File "/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/xmlrpc/client.py", line 1464, in __request
    response = self.__transport.request(
  File "/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/xmlrpc/client.py", line 1166, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/xmlrpc/client.py", line 1182, in single_request
    return self.parse_response(resp)
  File "/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/xmlrpc/client.py", line 1354, in parse_response
    return u.close()
  File "/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/xmlrpc/client.py", line 668, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: "<class 'TypeError'>:cannot marshal None unless allow_none is enabled">
$ cat ~/.pwclientrc
# Sample .pwclientrc file for the guix-patches project,
# running on patches.guix-patches.cbaines.net.
#
# Just append this file to your existing ~/.pwclientrc
# If you do not already have a ~/.pwclientrc, then copy this file to
# ~/.pwclientrc, and uncomment the following two lines:
# [options]
# default=guix-patches

[guix-patches]
url = https://patches.guix-patches.cbaines.net/xmlrpc/

[options]
default=guix-patches

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions