Page 4 of 9 FirstFirst 123456789 LastLast
Results 31 to 40 of 84
Discuss [How To Guide] Wiki2Touch: The definitive installation guide for FW 3.1.2 at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Originally Posted by djpav Well, it sounds like you are just running the line-command pack.exe ...
  1. #31
    Newbie Array

    Join Date
    Apr 2010
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default It Works!!!!

    Quote Originally Posted by djpav View Post
    Well, it sounds like you are just running the line-command pack.exe without using any of the required parameters so you are only getting the help file as a result.

    Now, I have never done this on my iphone (as I do not have nearly enough space for the images - mine is the 8gb 2g model), but just put the pack.exe program on the root C: drive and make sure the pictures folder is located in C:\images. Open a command prompt window (run as administrator), type cd\ and hit enter to go to the root c: drive, and then execute the following command:


    Let us know if this works
    Yes, djpav, it works!!! I am doing it right this minute. Below is text from the command prompt for you to see:
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Master>cd\

    C:\>pack en c:\images
    Wiki2Touch (image) file composer
    Copyright (c) 2008 T. Haukap
    Version 0.65
    Added so far: 2048

    By the way, my images folder turned out to be 17GB with image width 120px and max image size 128kb using the March 15 enwiki dump. I'll update you if I have any problems, and once again, thank you for your quick response and this great guide!


  2. #32
    Newbie Array

    Join Date
    Apr 2010
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default pack.exe "Out of Memory" error

    Hellow djpav and others,
    Roughly six hours into the packing process with pack.exe, it displayed the following error:

    C:\>pack en C:\images
    Wiki2Touch (image) file composer
    Copyright (c) 2008 T. Haukap
    Version 0.65
    Added so far: 1208320Out of memory error

    This has happened on two consecutive times I ran it, both times it stopped at the same number of images. the second time, i ran it in administrator mode with Windows XP SP2 compatibility--but had the same result. My OS is 64-bit Windows 7. Could that be a problem? the system also has 4GB of RAM installed

    Please djpav and others, any help/suggestions/hints would be greatly appreciated
    Last edited by pereirdp; 04-11-2010 at 12:06 AM. Reason: the system also has 4GB of RAM installed

  3. #33
    Professional Array

    Join Date
    Oct 2007
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Quote Originally Posted by pereirdp View Post
    Hellow djpav and others,
    Roughly six hours into the packing process with pack.exe, it displayed the following error:

    C:\>pack en C:\images
    Wiki2Touch (image) file composer
    Copyright (c) 2008 T. Haukap
    Version 0.65
    Added so far: 1208320Out of memory error

    This has happened on two consecutive times I ran it, both times it stopped at the same number of images. the second time, i ran it in administrator mode with Windows XP SP2 compatibility--but had the same result. My OS is 64-bit Windows 7. Could that be a problem? the system also has 4GB of RAM installed

    Please djpav and others, any help/suggestions/hints would be greatly appreciated
    Well, I am not sure what could be causing this. You are, of course, having some sort of memory issue handling such a large file but I can't tell if it is the program iteself ( the pack.exe) or if it is an issue with your computer.

    Quick question: does the pack.exe program still create an incomplete images.bin file upon termination, and if so what is the size of it? There were problems with databases exceeding 4GB (in fact my earlier version of this guide specifically addressed this issue) so I am curious if something happened when this limit was reached.
    Last edited by djpav; 04-12-2010 at 04:17 PM.

  4. #34
    Newbie Array

    Join Date
    Apr 2010
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default My mistake

    Quote Originally Posted by djpav View Post
    Well, I am not sure what could be causing this. You are, of course, having some sort of memory issue handling such a large file but I can't tell if it is the program iteself ( the pack.exe) or if it is an issue with your computer.

    Quick question: does the pack.exe program still create an incomplete images.bin file upon termination, and if so what is the size of it? There were problems with databases exceeding 4GB (in fact my earlier version of this guide specifically addressed this issue) so I am curious if something happened when this limit was reached.
    Hi djpav, Thanks for your reply.
    The mistake was at my end. You see, in the images folder, there was an articles.bin file of 3GB. I don't know what it was doing there or what put it there. Anyway, this was causing the pack.exe to give that out of memory error because when I removed that articles.bin file from the images folder, pack.exe worked perfectly! So, you were right that it was having issues handling a large file, but luckily it was because of a mistake, not something wrong with the program. It appears that pack.exe doesn't discriminate between image and non-image files. For instance, it willingly packs txt/doc files if they are in the folder you indicate.

    Here's some information, you and your readers may find useful: It took 13 hours to put roughly 17GB of images from the 3-15-00 enwiki dump into a 11.7GB images.bin file (your time will be less if your harddrive is faster). I am currently in the process of copying the images.bin file to the ipod touch to the same folder as the articles.bin file like you indicated some comments earlier. I hope it will display the images. I'll let you know what happens in a few minutes.

    Okay, here's the update: It displays the images with some minor quirks I can't seem to figure out. Example: in the "United States" article, the table at the topmost right, with info on the flag/motto and other things is missing. In the Jaguar car company article, that same introductory table at the upper right of the article with the Jaguar logo is missing. This is the case with all articles I sampled. Is this to be expected? It's no big deal, though.

    Edit: the upper right hand tables in the articles is missing, I see, because of the "templates" option not being there from your comment with joefahn, so that settles it.

    I would like to take this opportunity to thank you, djpav (and other commentators) for all the help you have provided and this great tutorial.
    Last edited by pereirdp; 04-12-2010 at 06:43 PM.

  5. #35
    Professional Array

    Join Date
    Oct 2007
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Quote Originally Posted by pereirdp View Post
    Hi djpav, Thanks for your reply.
    The mistake was at my end. You see, in the images folder, there was an articles.bin file of 3GB. I don't know what it was doing there or what put it there. Anyway, this was causing the pack.exe to give that out of memory error because when I removed that articles.bin file from the images folder, pack.exe worked perfectly! So, you were right that it was having issues handling a large file, but luckily it was because of a mistake, not something wrong with the program. It appears that pack.exe doesn't discriminate between image and non-image files. For instance, it willingly packs txt/doc files if they are in the folder you indicate.

    Here's some information, you and your readers may find useful: It took 13 hours to put roughly 17GB of images from the 3-15-00 enwiki dump into a 11.7GB images.bin file (your time will be less if your harddrive is faster). I am currently in the process of copying the images.bin file to the ipod touch to the same folder as the articles.bin file like you indicated some comments earlier. I hope it will display the images. I'll let you know what happens in a few minutes.

    Okay, here's the update: It displays the images with some minor quirks I can't seem to figure out. Example: in the "United States" article, the table at the topmost right, with info on the flag/motto and other things is missing. In the Jaguar car company article, that same introductory table at the upper right of the article with the Jaguar logo is missing. This is the case with all articles I sampled. Is this to be expected? It's no big deal, though.

    Edit: the upper right hand tables in the articles is missing, I see, because of the "templates" option not being there from your comment with joefahn, so that settles it.

    I would like to take this opportunity to thank you, djpav (and other commentators) for all the help you have provided and this great tutorial.
    Glad to hear it works!

    A couple of comments: First, as I note in the guide, executing these line commands (whether it is the "index" or the pack" commands) will generate partial versions of the output files, and, if executed for a second time, they will overwrite the previous files with the same name without warning. I would assume that at some point you run the index command and it generated the articles.bin file. Now, how in the world it ended up in that folder I have no idea. As I say in the guide, when I first run the index program on my laptop (I was actually using Windows 7 RC and did not do it in administrative mode) the articles.bin file ended up in some random temp folder and I had to search for it. When I upgraded my laptop to the full commercial Windows 7 a few weeks ago, I run the index command in administrative mode and the articles.bin file was in the same directory as my executable file, as it should have been.

    Now regarding the "quirks" you mention about the US and jaguar pictures, these are to be expected; you see, these logos are NOT actual pictures (i.e they are NOT.jpg's) but they are graphics in .svg format (Scalable Vector Graphics - these allow for practically infinite scale-up with no loss of quality). The pack.exe program ONLY resizes the .jpg files and does not touch the .svg files!


  6. #36
    Newbie Array

    Join Date
    Apr 2010
    Posts
    8
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Thumbs up

    djpav,

    I was one of the guys who helped Tom H. with this early-on (I just gave him lots of feedback, and I designed the globe/magnifier logo.)

    I am a HUGE aficionado of offline Wikipedia apps, and have always loved Wiki2Touch because it elegantly leverages Safari. I've tried all of the offline Wikipedia readers including Encyclopedia, TiniWiki, and Offline Wiki, and in the end, I keep wanting to go back to Wiki2Touch, primarily because it lets *me* download the latest dump when *I* want to instead of waiting for developers to get around to it.

    Just wanted to let you know that I'm EXTREMELY excited that Wiki2Touch is still alive and well on OS v3.x! I just installed it on my 16GB 2nd gen iPod Touch running OS v3.13, loaded up the "Simplewiki" database dump (about 50MB) to test the functionality, and it works like a charm. I'm now downloading the latest dump for processing.

    I'm also extremely happy that there are now USP transfer methods. It was a HUGE labor of love in order to do all the transfers via WiFi, so this is a hugely welcomed improvement!

    Also, one other note: I'm not sure if it's been mentioned here (I'm still reading through this post) but "iPhone Folders" did not work on my 64-bit version of Windows 7. "iPhone Explorer" did work, however.

    Anyway, I look forward to continuing to enjoy Wikipedia in my pocket! Thanks for an informative guide!

    -Jim Barr
    Jim's Tips
    iPod Touch Tips
    Last edited by jbarr; 04-26-2010 at 07:20 PM.

  7. #37
    Newbie Array

    Join Date
    Apr 2010
    Posts
    8
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Question

    Quick question: Is there a way to (easily) change the port on which wiki2touch listens? It conflicts with several other applications that do Wi-Fi sharing. I'd like to define it as something different from 8080.

    Thanks!

    -Jim Barr
    Jim's Tips
    iPod Touch Tips

  8. #38
    Newbie Array

    Join Date
    Apr 2010
    Posts
    8
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Some thoughts about Wikipanion (and Wikipanion +)....

    By all means, check it out. I purchased the "plus" version, and it simply rocks for iPod Touch (offline) users. But if you are going to make the most of it, it is absolutely essential that take the time to get to know the interface and go through the documentation and tutorials on how the UI works. It is NOT the most intuitive, and some of the features really do need some explanation.

    But once you "get it" it's an extremely, EXTREMELY powerful tool. Properly set up tweaked just right, you get an amazing offline reader that makes capturing what you want to read offline a snap. Basically, when you are online, you navigate to a Wikipedia page. Clicking on various links will queue them up into its download/reading queue where articles can be auto-downloaded in the background.

    The downloaded articles (which contain the complete content including templates, images, contents, etc.) can then be auto-saved to the "Saved" screen for later reading.

    It's a snap to load up lots of specific and related content for offline reading. For example, open the Wilipedia page for the TV series "True Blood". That page gets saved for later reading. Now, navigate down the page to the "list of episodes" link and tap it to load it (and it gets saved as well.) Now, navigate down that page to the "True Blood (season 1)" link and tap it to queue it. Do the same for season 2. The end result is complete saved content in the Saved view ready for offline reading any time. (the steps here are approximate and are dependent on setting up Wikipanion+ in a specific way. I won't detail it here, but if anyone wants me to write a "HOWTO" I'll do so.)

    Wikipanion (and Wikipanion+) is a great compromise between online browsing and a full offline tool like Wiki2Touch. It's great for the latest and most up-to-date content whereas Wiki2Touch gives you the basics in its entirety wherever you are online of off.

  9. #39
    Newbie Array

    Join Date
    Apr 2010
    Posts
    8
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Cool

    Sorry for the barrage of posts.

    I downloaded the latest English dump, indexed it, and then tried to load it on my iPod Touch. I tried iPhone Explorer, and it kept failing at about 2-3GB into the transfer with Windows 7 displaying the error, "The application stopped working". After multiple attempts, I gave up and just loaded up WinSCP, started the transfer, and went to bed. This morning, I have a shiny new install of Wiki2Touch, and it works as well as it always has!

  10. #40
    Professional Array

    Join Date
    Oct 2007
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    @jbarr

    First, thanks for your kind words and your insightful comments!

    I'll try to address some of the things you mention although I must confess I am only just a "veteran" user of this program and had nothing to do with its development.

    As far as I know, there is no way to change the server port from 8080 to something else. I think the only person who might be able to change that, is the one (who I think) is the one who uploaded the latest version of the Wiki2Touch Server mentioned in this guide at the BigBoss repo. His user name is zhangchnxp and he maintains wiki2touch-standalone-ui - Project Hosting on Google Code. I think it's him, although I can't be sure. He is currently trying to enable wiki2touch to render math equations properly using JSMath - a worthy endeavor if I may say so.

    Regarding iphone folders/ iphone explorer, I was not aware that the former only works on 32bit systems. I added a small note in the guide for this based on your experience. I am puzzled why iphone explorer quit on you in the middle of the transfer. I use 32bit Win7, so iphone folders works great for me, and I don't think anyone else reported issues with iphone explorer. Oh well, if WinSCP worked fine then so be it I guess...

    Finally, regarding youir comments regarding other offline wikipedia readers, I could not agree with you more. Wikipanion is indeed very good, however it only allows you to download specific articles and *not* the entire database. There's also Encyclopedia, but their database is so outdated it's not even worth it.

    In the end, I think you said it best:

    Wiki2touch is awesome "because it lets *me* download the latest dump when *I* want to instead of waiting for developers to get around to it"

    Cheers


 

 

LinkBacks (?)

  1. 04-11-2010, 11:50 PM
  2. 03-20-2010, 01:43 AM
  3. 03-17-2010, 12:10 AM
  4. 03-14-2010, 04:37 PM
  5. 02-21-2010, 01:09 PM

Similar Threads

  1. looking for installation guide
    By oded-schwartz in forum Installation
    Replies: 16
    Last Post: 06-12-2010, 09:44 PM
  2. Definitive Guide to off the shelf Desktops
    By Tucson Raider in forum Tutorials
    Replies: 2
    Last Post: 03-14-2010, 08:06 PM
  3. installation guide?
    By n00bz0rz in forum Installation
    Replies: 3
    Last Post: 04-13-2009, 04:28 PM
  4. Replies: 8
    Last Post: 09-10-2007, 07:02 PM
  5. TurboSIM - The definitive guide
    By ozbimmer in forum Turbo-, Supersim and Simcloning Solution
    Replies: 81
    Last Post: 08-17-2007, 09:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 03:01 PM.
twitter, follow us!