Offline Help on all platforms

Bug #807657 reported by Andreas Preikschat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Confirmed
Wishlist
Unassigned

Bug Description

Hello,

Currently we only have an offline help file on windows, this should be changed. We need to have an offline help file (accessible from the Help menu) on all platforms. This can be achieved by using QtHelp.

Cheers

Related branches

Changed in openlp:
importance: Undecided → Wishlist
Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

Let's see if we'll manage to get this implemented before feature freeze.

Changed in openlp:
assignee: nobody → Andreas Preikschat (googol)
status: New → In Progress
Changed in openlp:
status: In Progress → Fix Committed
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Windows doesn't need to use the QtHelp, it has the HTML Help system (which we are already building).

As for OS X, we'll need to work out how to bundle the QtHelp browser.

Revision history for this message
Tim Bentley (trb143) wrote :

Ok for Fedora but have bug with viewer.

Changed in openlp:
milestone: 1.9.7 → 1.9.8
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

I noticed that Eric4 has an eric4help.qhc file in it's ~/.eric4 directory. Not sure how we'd handle updates, but that's an option.

Revision history for this message
Tim Bentley (trb143) wrote :

Looked at eric on fedora and the source,qch file is in /usr/lib/python2.7/site-packages/eric4/Documentation/Help.

The files is a sqlite database and seems to have rows in the index tables. The OpenLP.qch table is empty.

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :
Download full text (6.6 KiB)

I get a lovely segfault when I try to view the helpfile...

[8:57] raoul@animal:~/Projects/OpenLP/bug-807657$ ./openlp.pyw -l debug
Logging to: /home/raoul/.cache/openlp/openlp.log
Warning: -nologo is deprecated. Use --nologo instead.
Warning: -norestore is deprecated. Use --norestore instead.
Warning: -minimized is deprecated. Use --minimized instead.
Warning: -nodefault is deprecated. Use --nodefault instead.
Warning: -nofirststartwizard is deprecated. Use --nofirststartwizard instead.
Warning: -accept=pipe,name=openlp_pipe;urp; is deprecated. Use --accept=pipe,name=openlp_pipe;urp; instead.
*** glibc detected *** python: munmap_chunk(): invalid pointer: 0x00007f2402155233 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7f2411b20a96]
/usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13(+0x192c)[0x7f23ffc5b92c]
======= Memory map: ========
00400000-00633000 r-xp 00000000 08:01 8914345 /usr/bin/python2.7
00832000-00833000 r--p 00232000 08:01 8914345 /usr/bin/python2.7
00833000-0089c000 rw-p 00233000 08:01 8914345 /usr/bin/python2.7
0089c000-008ae000 rw-p 00000000 00:00 0
013f0000-05390000 rw-p 00000000 00:00 0 [heap]
7f239a721000-7f239a72c000 r-xp 00000000 08:01 9045486 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7f239a72c000-7f239a92c000 ---p 0000b000 08:01 9045486 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7f239a92c000-7f239a92d000 r--p 0000b000 08:01 9045486 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7f239a92d000-7f239a92e000 rw-p 0000c000 08:01 9045486 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7f239a92e000-7f239a92f000 ---p 00000000 00:00 0
7f239a92f000-7f239b12f000 rw-p 00000000 00:00 0
7f239b12f000-7f239b130000 ---p 00000000 00:00 0
7f239b130000-7f239beaf000 rw-p 00000000 00:00 0
7f239bf05000-7f239c42e000 rw-s 00000000 00:04 30572681 /SYSV00000000 (deleted)
7f239c42e000-7f239c62e000 rw-p 00000000 00:00 0
7f239c62e000-7f239c651000 rw-p 00000000 00:00 0
7f239c651000-7f239c759000 rw-p 00000000 00:00 0
7f239c759000-7f239cb72000 rw-p 00000000 00:00 0
7f239cb72000-7f23dcb72000 rwxp 00000000 00:00 0
7f23dcb72000-7f23dd670000 rw-p 00000000 00:00 0
7f23dd670000-7f23dd671000 ---p 00000000 00:00 0
7f23dd671000-7f23dde71000 rw-p 00000000 00:00 0
7f23dde71000-7f23dde72000 ---p 00000000 00:00 0
7f23dde72000-7f23de672000 rw-p 00000000 00:00 0
7f23de672000-7f23de673000 ---p 00000000 00:00 0
7f23de673000-7f23dee73000 rw-p 00000000 00:00 0
7f23dee73000-7f23dfcb3000 r--p 00000000 08:01 8914885 /usr/lib/libicudata.so.44.2
7f23dfcb3000-7f23dfeb2000 ---p 00e40000 08:01 8914885 /usr/lib/libicudata.so.44.2
7f23dfeb2000-7f23dfeb3000 rw-p 00e3f000 08:01 8914885 /usr/lib/libicudata.so.44.2
7f23dfeb3000-7f23dff0f000 r-xp 00000000 08:01 8917071 /usr/lib/libibus-qt.so.1.3.0
7f23dff0f000-7f23e010f000 ---p 0005c000 08:01 8917071 /usr/lib/libi...

Read more...

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :
Download full text (24.6 KiB)

And this is the segfault on my netbook:

raoul@cookie:~/Projects/OpenLP/bug-807657$ ./openlp.pyw
Warning: -nologo is deprecated. Use --nologo instead.
Warning: -norestore is deprecated. Use --norestore instead.
Warning: -minimized is deprecated. Use --minimized instead.
Warning: -nodefault is deprecated. Use --nodefault instead.
Warning: -nofirststartwizard is deprecated. Use --nofirststartwizard instead.
Warning: -accept=pipe,name=openlp_pipe;urp; is deprecated. Use --accept=pipe,name=openlp_pipe;urp; instead.
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id: 0x5e0018a
raoul@cookie:~/Projects/OpenLP/bug-807657$ ./openlp.pyw
Warning: -nologo is deprecated. Use --nologo instead.
Warning: -norestore is deprecated. Use --norestore instead.
Warning: -minimized is deprecated. Use --minimized instead.
Warning: -nodefault is deprecated. Use --nodefault instead.
Warning: -nofirststartwizard is deprecated. Use --nofirststartwizard instead.
Warning: -accept=pipe,name=openlp_pipe;urp; is deprecated. Use --accept=pipe,name=openlp_pipe;urp; instead.
*** glibc detected *** python: munmap_chunk(): invalid pointer: 0x00007fe2c3d68233 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7fe2d304ca96]
/usr/lib/x86_64-linux-gnu/libQtCLucene.so.4(+0x76140)[0x7fe2c3d31140]
/usr/lib/x86_64-linux-gnu/libQtCLucene.so.4(+0x76416)[0x7fe2c3d31416]
/usr/lib/x86_64-linux-gnu/libQtCLucene.so.4(+0x3b6b5)[0x7fe2c3cf66b5]
/usr/lib/x86_64-linux-gnu/libQtHelp.so.4(+0x63834)[0x7fe2c423e834]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x85d05)[0x7fe2d1e89d05]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7efc)[0x7fe2d421defc]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fe2d30b589d]
======= Memory map: ========
00400000-00633000 r-xp 00000000 08:01 3670979 /usr/bin/python2.7
00832000-00833000 r--p 00232000 08:01 3670979 /usr/bin/python2.7
00833000-0089c000 rw-p 00233000 08:01 3670979 /usr/bin/python2.7
0089c000-008ae000 rw-p 00000000 00:00 0
01a7b000-05aa7000 rw-p 00000000 00:00 0 [heap]
7fe25d7d2000-7fe25d7dd000 r-xp 00000000 08:01 3932301 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7fe25d7dd000-7fe25d9dd000 ---p 0000b000 08:01 3932301 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7fe25d9dd000-7fe25d9de000 r--p 0000b000 08:01 3932301 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7fe25d9de000-7fe25d9df000 rw-p 0000c000 08:01 3932301 /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
7fe25d9df000-7fe25d9e1000 r-xp 00000000 08:01 9437248 /lib/libnss_mdns4.so.2
7fe25d9e1000-7fe25dbe0000 ---p 00002000 08:01 9437248 /lib/libnss_mdns4.so.2
7fe25dbe0000-7fe25dbe1000 r--p 00001000 08:01 9437248 /lib/libnss_mdns4.so.2
7fe25dbe1000-7fe25dbe2000 rw-p 00002000 08:01 9437248 /lib/libnss_mdns4.so.2
7fe25dbe2000-7fe25dbe8000 r-xp 00000000 08:01 9440957 /lib/x86_64-linu...

Changed in openlp:
milestone: 1.9.8 → 1.9.9
Changed in openlp:
milestone: 1.9.9 → 1.9.10
Changed in openlp:
milestone: 1.9.10 → none
Changed in openlp:
status: Fix Committed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.