~/Desktop/chip_new/code/$ python smart_manager.py -l
cd smart_server; PYTHONPATH=.:.. DJANGO_SETTINGS_MODULE=settings python load_tools/load_one_patient.py ../smart_sample_patients/generated-data/* ;cd ..;
Traceback (most recent call last):
File "load_tools/load_one_patient.py", line 3, in <module>
from smart.models.rdf_store import TemporaryStoreConnector, RecordStoreConnector
File "/Users/arjunsanyal/Desktop/chip_new/code/smart_server/smart/models/__init__.py", line 11, in <module>
from records import *
File "/Users/arjunsanyal/Desktop/chip_new/code/smart_server/smart/models/records.py", line 16, in <module>
from smart.models.rdf_store import DemographicConnector, RecordStoreConnector
File "/Users/arjunsanyal/Desktop/chip_new/code/smart_server/smart/models/rdf_store.py", line 18, in <module>
class PHA_RDFStore(Object):
File "/Users/arjunsanyal/Desktop/chip_new/code/smart_server/smart/models/rdf_store.py", line 21, in PHA_RDFStore
triples = models.XMLField(schema_path="%s../schema/%s"%(settings.XSLT_STYLESHEET_LOC, "rdf.xsd"))
AttributeError: 'module' object has no attribute 'XMLField'
~/Desktop/chip_new/code/$ grep -r XMLField .
./smart_server/smart/models/rdf_store.py: triples = models.XMLField(schema_path="%s../schema/%s"%(settings.XSLT_STYLESHEET_LOC, "rdf.xsd"))
Binary file ./smart_server/smart/models/rdf_store.pyc matches
~/Desktop/chip_new/code/$
Where's XMLField?