[WikiReader] unable to run emulator

8 messages Options
Embed this post
Permalink
sucotronic

[WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
I've followed the instructions in the wiki page on github: http://wiki.github.com/wikireader/wikireader/building-from-source
then a make  command and all compiled without big problems. But when I try to run the emulator inside host-tools/qt4-simulator/bin I get the following:

initializing display for 240x208 pixels
Failed to initialize search.
Segment fault.

The search data seems to be present, but it doesn't work. It's broken or I forgot to do some step?

--
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
Sean Moss-Pultz

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
On Fri, Nov 6, 2009 at 12:12 AM, Suco <[hidden email]> wrote:
>
> I've followed the instructions in the wiki page on github: http://wiki.github.com/wikireader/wikireader/building-from-source
> then a make  command and all compiled without big problems. But when I try to run the emulator inside host-tools/qt4-simulator/bin I get the following:
>
> initializing display for 240x208 pixels
> Failed to initialize search.
> Segment fault.
>
> The search data seems to be present, but it doesn't work. It's broken or I forgot to do some step?

Suco

Are you running this from the image directory? You need to have built
the entire Wikipedia database first. The simulator works by reading
those files.

Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
sucotronic

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
Hello Sean,
  I know it, and I has used the 00run.sh script to generate some data using the example data that is in the folder "xml-file-samples"

Regards.

On Thu, Nov 5, 2009 at 5:48 PM, Sean Moss-Pultz <[hidden email]> wrote:
On Fri, Nov 6, 2009 at 12:12 AM, Suco <[hidden email]> wrote:
>
> I've followed the instructions in the wiki page on github: http://wiki.github.com/wikireader/wikireader/building-from-source
> then a make  command and all compiled without big problems. But when I try to run the emulator inside host-tools/qt4-simulator/bin I get the following:
>
> initializing display for 240x208 pixels
> Failed to initialize search.
> Segment fault.
>
> The search data seems to be present, but it doesn't work. It's broken or I forgot to do some step?

Suco

Are you running this from the image directory? You need to have built
the entire Wikipedia database first. The simulator works by reading
those files.

Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community



--
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
Sean Moss-Pultz

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
On Fri, Nov 6, 2009 at 12:56 AM, Suco <[hidden email]> wrote:
>
> Hello Sean,
>   I know it, and I has used the 00run.sh script to generate some data using the example data that is in the folder "xml-file-samples"

Ah ok. What are the exact files you're building? We can try when we
get into the office tomorrow.

  -Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
sucotronic

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
Steps followed:

1- sudo aptitude install python-gd gawk gforth flex bison m4 netpbm qt4-qmake libqt4-dev wget python-serial sqlite3 php5-cli python-dev
2- git clone git://github.com/wikireader/wikireader.git
3- open wikireader/samo-lib/include/config.h and uncomment BOARD_SAMO_V1 line
4-make
5-cp wikireader/xml-file-samples/classical_composers.xml  wikireader/enwiki-20090909-pages-articles.xml
6-sh wikireader/00run.sh
7-./wikireader/host-tools/qt4-simulator/bin/wikisim

System used: Ubuntu 9.04 and official repositories.

On Thu, Nov 5, 2009 at 6:17 PM, Sean Moss-Pultz <[hidden email]> wrote:
On Fri, Nov 6, 2009 at 12:56 AM, Suco <[hidden email]> wrote:
>
> Hello Sean,
>   I know it, and I has used the 00run.sh script to generate some data using the example data that is in the folder "xml-file-samples"

Ah ok. What are the exact files you're building? We can try when we
get into the office tomorrow.

 -Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community



--
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
sucotronic

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
Trying to run it again, I've noted that when I execute sh 00run.sh this line is showed:
make: *** There is no rule to build the target `farm0'.  Stop.


On Fri, Nov 6, 2009 at 12:34 AM, Suco <[hidden email]> wrote:
Steps followed:

1- sudo aptitude install python-gd gawk gforth flex bison m4 netpbm qt4-qmake libqt4-dev wget python-serial sqlite3 php5-cli python-dev
2- git clone git://github.com/wikireader/wikireader.git
3- open wikireader/samo-lib/include/config.h and uncomment BOARD_SAMO_V1 line
4-make
5-cp wikireader/xml-file-samples/classical_composers.xml  wikireader/enwiki-20090909-pages-articles.xml
6-sh wikireader/00run.sh
7-./wikireader/host-tools/qt4-simulator/bin/wikisim

System used: Ubuntu 9.04 and official repositories.


On Thu, Nov 5, 2009 at 6:17 PM, Sean Moss-Pultz <[hidden email]> wrote:
On Fri, Nov 6, 2009 at 12:56 AM, Suco <[hidden email]> wrote:
>
> Hello Sean,
>   I know it, and I has used the 00run.sh script to generate some data using the example data that is in the folder "xml-file-samples"

Ah ok. What are the exact files you're building? We can try when we
get into the office tomorrow.

 -Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community



--
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/



--
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
Sean Moss-Pultz

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
On Sat, Nov 7, 2009 at 2:01 AM, Suco <[hidden email]> wrote:
>
> Trying to run it again, I've noted that when I execute sh 00run.sh this line is showed:
> make: *** There is no rule to build the target `farm0'.  Stop.

Yes you will need to write your own file. If you look at what is being
executed in 00run.sh then it should be fairly obvious. Let us know if
you get stuff.

  -Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community
sucotronic

Re: [WikiReader] unable to run emulator

Reply Threaded More More options
Print post
Permalink
Well, I've made some changes in main Makefile and the 00run.sh run without problem, but the emulator still gives the same error.

The changes I've done:
...
.PHONY: farm0-parse
farm0-parse: parse

.PHONY: farm0-render
farm0-render: render

.PHONY: farm0-clean
farm0-clean: stamp-r-clean

.PHONY: farm0
farm0: farm0-parse farm0-render
...

On Sat, Nov 7, 2009 at 11:11 AM, Sean Moss-Pultz <[hidden email]> wrote:
On Sat, Nov 7, 2009 at 2:01 AM, Suco <[hidden email]> wrote:
>
> Trying to run it again, I've noted that when I execute sh 00run.sh this line is showed:
> make: *** There is no rule to build the target `farm0'.  Stop.

Yes you will need to write your own file. If you look at what is being
executed in 00run.sh then it should be fairly obvious. Let us know if
you get stuff.

 -Sean

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community



--
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/

_______________________________________________
Openmoko community mailing list
[hidden email]
http://lists.openmoko.org/mailman/listinfo/community