KanColleTool / kcsrv

An open source KanColle server
MIT License
41 stars 16 forks source link

(Semi Solved) ImportError: cannot import name 'placeholderdata' #12

Closed SoftwareGuy closed 9 years ago

SoftwareGuy commented 9 years ago

When booting the server after a fresh clone, using virtualenv and python3.4 inside a fresh Debian VM, this ugly error reared its head:

ImportError: cannot import name 'placeholderdata'

From what I can see, there is no "placeholderdata" under "modules". However, it does exist under "modules/api". Copying said file from "modules/api" to "modules" netualizes the message.

Is it possible to ask python to import from a subdirectory inside a directory like... from modules/api import placeholderdata ...instead?

Other than that, boot will continue fine without it.