Modify

Ticket #260 (closed bug: fixed)

Opened 9 years ago

Last modified 9 years ago

Can't move items between containers

Reported by: beliar Owned by: beliar
Priority: minor Milestone:
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description

Currently trying to move an item from one container to another raises an exception:

File "E:\Python26\lib\site-packages\fife\extensions\fife_timer.py", line 112, in updateEvent

self._callback()

File "E:\Python26\lib\site-packages\fife\extensions\pychan\events.py", line 158, in delayed_f

f( event )

File "E:\Python26\lib\site-packages\fife\extensions\pychan\events.py", line 308, in captured_f

tools.applyOnlySuitable(self_ref().callbacks[group_name][event_name],event=event,widget=self_ref().widget_ref())

File "E:\Python26\lib\site-packages\fife\extensions\pychan\tools.py", line 60, in applyOnlySuitable

return func(*args,kwargs)

File "E:\Python26\lib\site-packages\fife\extensions\pychan\tools.py", line 83, in real_callback

callback(*args,kwargs)

File "E:\projekte\PARPG\game\scripts\gui\inventorygui.py", line 186, in dragDrop

self.dropObject(obj)

File "E:\projekte\PARPG\game\scripts\gui\inventorygui.py", line 231, in dropObject

drop_widget.index)

File "E:\projekte\PARPG\game\scripts\inventory.py", line 72, in moveItemToSlot

self.items[self.item_lookup[item.ID]].takeItem(item)

KeyError?: None

Attachments

Change History

comment:1 Changed 9 years ago by beliar

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [565]

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.