karmapa / ketaka-lite

📖 A multifunctional Tibetan text editor
MIT License
3 stars 2 forks source link

After export, we import the json on the other pc, but no text file show. #55

Closed lamalien closed 9 years ago

lamalien commented 9 years ago

ketaka_lite_issue_9_19102015

kmsheng commented 9 years ago

@lamalien Would you upload your json to google drive or someehre else, so I can reproduce this issue ?

chiehan1 commented 9 years ago

When exporting a bamboo as a zip file, the users have to unzip it, then put it in ~/Library/Application Support/ketaka-lite/docs and use "open" to select the bamboo, users can't import the zip file or the unzipped json file directly in other folders and they only can import the unzipped images without text.

kmsheng commented 9 years ago

No. This is wrong. Zip files are not supposed to be opened by users. I've fixed the zip importing bug in https://github.com/karmapa/ketaka-lite/commit/e5296994f4b0574a179fee5615aa0b46e3838e7b which is v0.1.16

chiehan1 commented 9 years ago

I tried v0.1.17 in windows version, when I imported this folder with a zip exported earlier, https://drive.google.com/open?id=0B7IngcS_Eo5JUkJJTHpjTTFrLVk zip1

it shows "TypeError cannot read property 'length' of undefined". zip2

kmsheng commented 9 years ago

will be fixed in next release https://github.com/karmapa/ketaka-lite/commit/ac4ea9e4f68ea18046395ff702f33a22940ba3e5

kmsheng commented 9 years ago

Add Export Zip in application menu, please try that in v0.1.18