|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Jul 2006
Messaggi: 534
|
[PYTHON]problema urgente
scusate ho questo problema in phyton
di seguito l'errore Loading inventory from players.save... Traceback (most recent call last): File "C:\Documents and Settings\Costantino\Desktop\Account\Neo2003_WadToMangos _0.4\WadToMangos_0.4.py", line 834, in ? load_inventory() File "C:\Documents and Settings\Costantino\Desktop\Account\Neo2003_WadToMangos _0.4\WadToMangos_0.4.py", line 623, in load_inventory items[intobjid]["OWNER"]=chars[inventorylinks[intobjid]]["MaNGOS_GUID"] KeyError: 15924728286100994180L qualcuno puo' dirmi come posso risolverlo??? |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Aug 2005
Messaggi: 2755
|
potresti postare il codice che l'ha generato?
__________________
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Jul 2006
Messaggi: 534
|
non ho il codice perche non e un errore capitato a me...ma secondo te quale puo' essere la soluzione dell'errorre???
|
|
|
|
|
|
#4 | |
|
Member
Iscritto dal: Apr 2005
Città: Cagliari
Messaggi: 54
|
Quote:
__________________
Sapere di sapere quello che si sa e sapere di non sapere quello che non si sa: ecco il vero sapere... Confucio. |
|
|
|
|
|
|
#5 | |
|
Senior Member
Iscritto dal: Dec 2005
Città: Istanbul
Messaggi: 1817
|
Quote:
1 - Dimenticato di scrivere il codice che gestisce il caso in questione oppure 2 - Pensava che il quel punto quella condizione non dovesse mai capitare e quindi l'errore sta nel codice da qualche altra parte. Potrebbe essere che il programma non gestisca bene un input errato per cui la soluzione piu' "facile" è controllare cosa gli dai in pasto. Oltre a quello, l'unica è mettere mano al codice.
__________________
One of the conclusions that we reached was that the "object" need not be a primitive notion in a programming language; one can build objects and their behaviour from little more than assignable value cells and good old lambda expressions. —Guy Steele |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 06:08.



















