27.03.2008, 13:55
hast du auch den workaround gemacht?
Zitat:The good news is, that Wiki2Touch is running fine on 1.1.4. You only have to make sure that the articles.bin/images.bon and so on must go to “/var/mobile/…” instead of “/var/root…”. Same as in 1.1.3. If you’re using Sandfords installer source (recommended, the link is http://168weedon/i) you will be guide because it script created the folder structure below ~/Media/Wikipedia for you.
But there is one disadvantage. Wiki2Touch trys to create a folder named “cache” below every installed language folder (i.e. ~/Media/Wikipedia/en/cache) and stores preprocessed templates to that folder. That is way faster than processing them every time they are used. And that’s not working under 1.1.4. Wiki2Touch is actually not able to create the”cache” folder on it’s own. And that means it runs way slower than on 1.1.2 if you have templates enabled.
Workarounds:
Disable templates (makes it faster but with a lot less information)
Manually create a folder named “cache” below your language code folder and set the owner and/or rights in such a way that the user mobile is able to write file into that folder. “chmod -R mobile ~/var/mobile” may also work for you. You can tell if it’s working as soon as you see files inside that folder once you’ve displayed an article. You don’t need to stop/start the server, it will use the cache on the fly but be sure to have templates enabled.
Live with it until the next version is out