srri-zz / OpenRelay

Peer based web hosting
peer.to/peer
16 stars 0 forks source link

Database structure corruption after signing failure #9

Closed ghost closed 12 years ago

ghost commented 12 years ago

AJ - "I realized that the IndexError happens everytime I upload a new set of file (to either of the running nodes). The reason being that the files fail to be signed."

ghost commented 12 years ago

A new resource instance is being created without a corresponding version instance, a try/except block with resource deletion in case there is no version should fix this even when the database being used doesn't support transactions.