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

Dump file name issue #32

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Dump file name issue #32

wants to merge 7 commits into from

Conversation

buddly27
Copy link
Contributor

Closing #8

@buddly27 buddly27 self-assigned this Aug 25, 2020
@buddly27 buddly27 requested a review from kirijiri August 25, 2020 01:10
@buddly27 buddly27 changed the base branch from master to dev August 25, 2020 01:10
@buddly27 buddly27 added the bug Something isn't working label Aug 25, 2020
@buddly27 buddly27 added this to the 3.1.0 milestone Aug 25, 2020
@buddly27 buddly27 removed the bug Something isn't working label Aug 25, 2020
@@ -206,6 +206,20 @@ Release Notes
Previously, it would sometimes fail to update minimal and maximum
versions of the range in particular conditions.

.. change:: changed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting a traceback for:

> wiz -r /mill3d/server/apps/WIZ/registry/primary/default/ -r /mill3d/server/apps/WIZ/registry/secondary/default/ -r /jobs/.wiz/registry/ --record /tmp/test_release/ use shadow --view
Traceback (most recent call last):
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/bin/wiz", line 11, in <module>
    load_entry_point('wiz-env', 'console_scripts', 'wiz')()
  File "/mill3d/work/claudiaz/dev/wiz/source/wiz/__main__.py", line 8, in main
    wiz.command_line.main(prog_name="wiz")
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/lib/python2.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/lib/python2.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/lib/python2.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/lib/python2.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/mill3d/users/claudiaz/.virtualenvs/wiz/lib/python2.7/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/mill3d/work/claudiaz/dev/wiz/source/wiz/command_line.py", line 693, in wiz_use
    _export_history_if_requested(click_context)
  File "/mill3d/work/claudiaz/dev/wiz/source/wiz/command_line.py", line 1959, in _export_history_if_requested
    history = wiz.history.get(serialized=True)
  File "/mill3d/work/claudiaz/dev/wiz/source/wiz/history.py", line 55, in get
    return json.dumps(_HISTORY, default=_json_default)
  File "/mill3d/server/apps/PYTHON/el7-x86-64/python-2.7.15/lib/python2.7/json/__init__.py", line 251, in dumps
    sort_keys=sort_keys, **kw).encode(obj)
  File "/mill3d/server/apps/PYTHON/el7-x86-64/python-2.7.15/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/mill3d/server/apps/PYTHON/el7-x86-64/python-2.7.15/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
  File "/mill3d/work/claudiaz/dev/wiz/source/wiz/history.py", line 148, in _json_default
    raise TypeError("{} is not JSON serializable.".format(_object))
TypeError: <wiz.definition.Definition object at 0x7f32dd97b110> is not JSON serializable.

@buddly27 buddly27 removed this from the 3.1.0 milestone Aug 26, 2020
# Conflicts:
#	doc/release/release_notes.rst
#	source/wiz/history.py
@buddly27 buddly27 changed the base branch from dev to master September 15, 2020 21:36
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