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

V2 - Crash: Save Game #20

Open
brando56894 opened this issue Oct 3, 2016 · 0 comments
Open

V2 - Crash: Save Game #20

brando56894 opened this issue Oct 3, 2016 · 0 comments
Labels

Comments

@brando56894
Copy link
Owner

Traceback (most recent call last):
  File "main.py", line 132, in <module>
    menu(new_player)
  File "main.py", line 108, in menu
    choices[choice](player)
  File "/mnt/c/Users/bran/dungeon-quest/actions.py", line 283, in save_game
    pickle.dump(player,oput,pickle.HIGHEST_PROTOCOL)
  File "/usr/lib/python2.7/pickle.py", line 1370, in dump
    Pickler(file, protocol).dump(obj)
  File "/usr/lib/python2.7/pickle.py", line 224, in dump
    self.save(obj)
  File "/usr/lib/python2.7/pickle.py", line 331, in save
    self.save_reduce(obj=obj, *rv)
  File "/usr/lib/python2.7/pickle.py", line 419, in save_reduce
    save(state)
  File "/usr/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib/python2.7/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/usr/lib/python2.7/pickle.py", line 681, in _batch_setitems
    save(v)
  File "/usr/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib/python2.7/pickle.py", line 748, in save_global
    (obj, module, name))
pickle.PicklingError: Can't pickle <function <lambda> at 0x7fdfa2767d70>: it's not found as character.<lambda>
@brando56894 brando56894 added the bug label Oct 3, 2016
@brando56894 brando56894 assigned ghost Oct 4, 2016
ghost pushed a commit that referenced this issue Oct 4, 2016
Issue #25, #24, #22, #20, and #19 have all been fixed. To make
1v1 battles less repetitive, the feature brought up in issue #23
has been implemented. Also for dev testing, gold has been preset.
@brando56894 brando56894 changed the title Crash: Save Game V2 - Crash: Save Game Dec 18, 2016
@brando56894 brando56894 unassigned ghost Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant