forked from openlp/openlp
r1448
This commit is contained in:
commit
d8b016e7a2
@ -5,6 +5,8 @@ Bibles
|
|||||||
Managing Bibles in OpenLP is a relatively simple process. There are also
|
Managing Bibles in OpenLP is a relatively simple process. There are also
|
||||||
converters provided to get data from other formats into OpenLP.
|
converters provided to get data from other formats into OpenLP.
|
||||||
|
|
||||||
|
.. _bibleimporter:
|
||||||
|
|
||||||
Bible Importer
|
Bible Importer
|
||||||
==============
|
==============
|
||||||
|
|
||||||
@ -60,11 +62,12 @@ Importing OSIS Bibles
|
|||||||
|
|
||||||
**About OSIS Formatted Bibles**
|
**About OSIS Formatted Bibles**
|
||||||
|
|
||||||
OSIS is a format intended to provide a common format for Bibles. More
|
The OSIS XML standard was designed to provide a common format for distribution
|
||||||
information can be found out here: http://www.bibletechnologies.net/
|
of electronic Bibles. More information can be found out at the `Bible Technologies website
|
||||||
|
<http://www.bibletechnologies.net/>`_.
|
||||||
|
|
||||||
If you have any software installed that is part of the Sword Project
|
If you have any software installed that is part of the `Sword Project
|
||||||
http://www.crosswire.org/sword/index.jsp it can be easily converted.
|
<http://www.crosswire.org/sword/index.jsp>`_ it can be easily converted.
|
||||||
|
|
||||||
Importing OSIS files is very simple. Select your OSIS Bible file and click
|
Importing OSIS files is very simple. Select your OSIS Bible file and click
|
||||||
:guilabel:`Next`
|
:guilabel:`Next`
|
||||||
|
@ -43,9 +43,14 @@ working on when you closed the program.
|
|||||||
|
|
||||||
**Show the splash screen:**
|
**Show the splash screen:**
|
||||||
|
|
||||||
When this box it selected, the OpenLP logo will be displayed in the center of
|
The OpenLP logo is displayed while OpenLP loads when this checkbox is checked.
|
||||||
the screen until the program opens. This is useful to know if the program is
|
This is useful to give some indication that the program is loading.
|
||||||
opening.
|
|
||||||
|
**Check for updates to OpenLP**
|
||||||
|
|
||||||
|
OpenLP will check to see if there is a newer version available on a regular
|
||||||
|
basis when this checkbox is checked. Please note that this requires Internet
|
||||||
|
access.
|
||||||
|
|
||||||
Application Settings
|
Application Settings
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -60,6 +65,14 @@ working on before starting a new service.
|
|||||||
When this box is selected, the next item in the Service Manager will show in the
|
When this box is selected, the next item in the Service Manager will show in the
|
||||||
Preview pane.
|
Preview pane.
|
||||||
|
|
||||||
|
**Unblank display when adding new live item**
|
||||||
|
|
||||||
|
When using the :guilabel:`blank to` button with this checkbox checked, on going
|
||||||
|
live with the next item, the screen will be automatically re-enabled. If this
|
||||||
|
checkbox is not checked you will need to click the :guilabel:`blank to` button
|
||||||
|
again to reverse the action.
|
||||||
|
|
||||||
|
|
||||||
**Slide loop delay**
|
**Slide loop delay**
|
||||||
|
|
||||||
This setting is the time delay in seconds if you want to continuously loop
|
This setting is the time delay in seconds if you want to continuously loop
|
||||||
|
@ -24,17 +24,17 @@ Nursery or Car park stewards can notify the congregation easily. Remote
|
|||||||
capability allows the worship leader to change songs, or for alert messages to
|
capability allows the worship leader to change songs, or for alert messages to
|
||||||
be sent from anywhere on the network, even via a phone.
|
be sent from anywhere on the network, even via a phone.
|
||||||
|
|
||||||
Being free, this software can be installed on as many PC's as required, even on
|
Being free, this software can be installed on as many computers as required,
|
||||||
the home PC's of worship leaders without additional cost. Compared to the
|
even on the home computers of worship leaders without additional cost. Compared
|
||||||
expensive site licenses or restrictions of commercial software we believe OpenLP
|
to the expensive site licenses or restrictions of commercial software we believe
|
||||||
cannot be beaten for value. Still in active development by a growing team of
|
OpenLP cannot be beaten for value. Still in active development by a growing team
|
||||||
enthusiastic developers, features are being added all the time, meaning the
|
of enthusiastic developers, features are being added all the time, meaning the
|
||||||
software just improves all the time.
|
software just improves all the time.
|
||||||
|
|
||||||
When is the release date for OpenLP 2.0?
|
When is the release date for OpenLP 2.0?
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
`It will be ready when it's ready!` We do not have fixed dates, but we have
|
*It will be ready when it's ready!* We do not have fixed dates, but we have
|
||||||
set some `targets for the releases <http://wiki.openlp.org/Version_2_Milestones>`_.
|
set some `targets for the releases <http://wiki.openlp.org/Version_2_Milestones>`_.
|
||||||
If you take part in the `development <http://wiki.openlp.org/Development:Getting_Started>`_,
|
If you take part in the `development <http://wiki.openlp.org/Development:Getting_Started>`_,
|
||||||
start to `test OpenLP <http://wiki.openlp.org/Testing:Getting_Started>`_ and
|
start to `test OpenLP <http://wiki.openlp.org/Testing:Getting_Started>`_ and
|
||||||
@ -55,11 +55,16 @@ I use and like OpenLP and would like to tell others online. Where can I do this?
|
|||||||
A variety of places!
|
A variety of places!
|
||||||
|
|
||||||
* Are you on facebook? Then `become a fan <http://www.facebook.com/openlp>`_
|
* Are you on facebook? Then `become a fan <http://www.facebook.com/openlp>`_
|
||||||
* Are you on twitter? Then `follow openlp <http://twitter.com/openlp>`_, and retweet the announcements.
|
* Are you on twitter? Then `follow openlp <http://twitter.com/openlp>`_, and
|
||||||
* Give us a thumbs up on the `SourceForge project page <http://www.sourceforge.net/projects/openlp>`_
|
retweet the announcements.
|
||||||
* If you have a website or blog, then link to our site http://www.openlp.org with a few words saying what the software is and why you like it.
|
* Give us a thumbs up on the
|
||||||
* Add a placemark on our `Worldwide Usage map <http://maps.google.com/maps/ms?ie=UTF8&source=embed&msa=0&msid=113314234297482809599.00047e88b1985e07ad495&ll=13.923404,0&spn=155.179835,316.054688&z=2>`_, so others in your locality can see someone close by is using it.
|
`SourceForge project page <http://www.sourceforge.net/projects/openlp>`_
|
||||||
* If you are a member of any Christian Forums or websites, and their rules allow it, then perhaps review the software or ask others to review it.
|
* If you have a website or blog, then link to our site http://www.openlp.org
|
||||||
|
with a few words saying what the software is and why you like it.
|
||||||
|
* Add a placemark on our `Worldwide Usage map <http://maps.google.com/maps/ms?ie=UTF8&source=embed&msa=0&msid=113314234297482809599.00047e88b1985e07ad495&ll=13.923404,0&spn=155.179835,316.054688&z=2>`_,
|
||||||
|
so others in your locality can see someone close by is using it.
|
||||||
|
* If you are a member of any Christian Forums or websites, and their rules allow
|
||||||
|
it, then perhaps review the software or ask others to review it.
|
||||||
|
|
||||||
What operating systems will OpenLP 2.0 support?
|
What operating systems will OpenLP 2.0 support?
|
||||||
===============================================
|
===============================================
|
||||||
@ -153,31 +158,31 @@ do this `Version 1.9.6 (beta 2) <http://wiki.openlp.org/Version_2_Milestones#Ver
|
|||||||
How do I transfer my 1.2 song database?
|
How do I transfer my 1.2 song database?
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
In OpenLP v2, go to the :menuselection:`File --> Import --> Song` menu.
|
In OpenLP 2.0, go to the :menuselection:`File --> Import --> Song` menu.
|
||||||
In the Wizard that appears, click Next and choose "openlp.org v1.x" from the
|
In the Wizard that appears, click Next and choose "openlp.org v1.x" from the
|
||||||
Format list. Click the search button on the Filename prompt, and at the bottom
|
Format list. Click the search button on the Filename prompt, and at the bottom
|
||||||
of the dialog, copy the following into the File name prompt::
|
of the dialog, copy the following into the File name prompt::
|
||||||
|
|
||||||
%ALLUSERSPROFILE%\Application Data\openlp.org\Data\songs.olp
|
%ALLUSERSPROFILE%\Application Data\openlp.org\Data\songs.olp
|
||||||
|
|
||||||
`(This must be in the popup file chooser dialog. Don't enter it directly into
|
*(This must be in the popup file chooser dialog. Don't enter it directly into
|
||||||
the wizard).`
|
the wizard).*
|
||||||
|
|
||||||
Click Open, then in the wizard just click Next and wait for the import to complete.
|
Click Open, then in the wizard just click Next and wait for the import to complete.
|
||||||
|
|
||||||
How do I transfer my 1.2 Bibles?
|
How do I transfer my 1.2 Bibles?
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
In OpenLP v2, go to the :menuselection:`File --> Import --> Bible` menu.
|
In OpenLP 2.0, go to the :menuselection:`File --> Import --> Bible` menu.
|
||||||
In the Wizard that appears, click Next and choose "openlp.org v1.x" from the
|
In the Wizard that appears, click Next and choose "openlp.org v1.x" from the
|
||||||
Format list.
|
Format list.
|
||||||
Click the search button on the Filename prompt, and at the bottom of the dialog,
|
Click the search button on the Filename prompt, and at the bottom of the dialog,
|
||||||
copy the following into the File name prompt::
|
copy the following into the File name prompt::
|
||||||
|
|
||||||
%ALLUSERSPROFILE%\Application Data\openlp.org\Data\Bibles
|
%ALLUSERSPROFILE%\Application Data\openlp.org\Data\Bibles
|
||||||
|
|
||||||
`(This must be in the popup file chooser dialog. Don't enter it directly into
|
*(This must be in the popup file chooser dialog. Don't enter it directly into
|
||||||
the wizard).`
|
the wizard).*
|
||||||
|
|
||||||
Choose the Bible, Click Open, then in the wizard just click Next, enter the
|
Choose the Bible, Click Open, then in the wizard just click Next, enter the
|
||||||
License details, and wait for the import to complete.
|
License details, and wait for the import to complete.
|
||||||
@ -264,27 +269,33 @@ Is it possible to get Bible x? How?
|
|||||||
The Bible plugin has a much improved `Import Wizard` which can import Bibles
|
The Bible plugin has a much improved `Import Wizard` which can import Bibles
|
||||||
from a variety of sources. The following sources are supported:
|
from a variety of sources. The following sources are supported:
|
||||||
|
|
||||||
* CSV (in the same format as `openlp.org 1.x <http://www.openlp.org/en/documentation/importing_exporting_data/bibles/importing_comma_delimited_files.html>`_)
|
CSV
|
||||||
|
The same format as documented for `openlp.org 1.x <http://www.openlp.org/en/documentation/importing_exporting_data/bibles/importing_comma_delimited_files.html>`_.
|
||||||
|
|
||||||
* OSIS (export from the `Sword Project <http://www.crosswire.org/sword/software/>`_ using the mod2osis tool)
|
OSIS
|
||||||
|
An XML format for Bible. You can export Bibles from the `Sword Project <http://www.crosswire.org/sword/software/>`_
|
||||||
|
into OSIS using the ``mod2osis`` tool. After using the Sword software Media
|
||||||
|
Manager (or other Sword frontend, like BibleTime or Xiphos) to download the
|
||||||
|
required Bible, run the following command from the command line (works on
|
||||||
|
Windows and Linux)::
|
||||||
|
|
||||||
* After using the Sword software Media Manager to download the required bible.
|
mod2osis <name> > <name>.osis
|
||||||
|
|
||||||
* From the command line (works on Windows and Linux):<br /><code>modernist <name> > name.osis</code><br />`Note the <name> is case sensitive on all environments and should be the name of your bible, e.g. ESV.`
|
The ``<name>`` parameter is the name of your Bible, as you see it in Sword.
|
||||||
|
Note that the ``<name>`` is case sensitive on all environments. Once you
|
||||||
|
have exported your Bible to OSIS, the Bible import wizard will the read
|
||||||
|
``<name>.osis`` file and import your Bible.
|
||||||
|
|
||||||
* The Bible import wizard will the read name.osis file and import your bible.
|
OpenSong
|
||||||
|
OpenSong have a good selection of Bibles on their
|
||||||
|
`download page <http://www.opensong.org/d/downloads#bible_translations>`_.
|
||||||
|
|
||||||
* OpenSong
|
Web Download
|
||||||
|
OpenLP can download Bibles on demand from the following 3 sites:
|
||||||
|
|
||||||
* OpenSong have a good selection of Bibles on their `download page <http://www.opensong.org/d/downloads#bible_translations>`_
|
* `Crosswalk <http://biblestudy.crosswalk.com/bibles/>`_
|
||||||
|
* `BibleGateway <http://www.biblegateway.com/versions/>`_
|
||||||
* Web Download
|
* `BibleServer <http://www.bibleserver.com>`_
|
||||||
|
|
||||||
* `Crosswalk <http://biblestudy.crosswalk.com/bibles/>`_
|
|
||||||
|
|
||||||
* `BibleGateway <http://www.biblegateway.com/versions/>`_
|
|
||||||
|
|
||||||
* `BibleServer <http://www.bibleserver.com>`_
|
|
||||||
|
|
||||||
Why do my Bible verses take a long time to load?
|
Why do my Bible verses take a long time to load?
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
@ -301,8 +312,8 @@ My Bible is on the Web Download sites, but my Church isn't on the internet. What
|
|||||||
When you create and save a service, all the items in the service are saved with
|
When you create and save a service, all the items in the service are saved with
|
||||||
it. That means any images, presentations, songs and media items are saved. This
|
it. That means any images, presentations, songs and media items are saved. This
|
||||||
is also true for bibles. What this means is you can create the service on your
|
is also true for bibles. What this means is you can create the service on your
|
||||||
home computer, insert a bible passage from the web, save it and then open the
|
home computer, insert a Bible passage from the web, save it and then open the
|
||||||
service using your church computer and voila, the bible passage should be there!
|
service using your church computer and voila, the Bible passage should be there!
|
||||||
Note this can also be done with songs, etc!
|
Note this can also be done with songs, etc!
|
||||||
|
|
||||||
(Advanced) Where do I find the configuration file?
|
(Advanced) Where do I find the configuration file?
|
||||||
@ -314,19 +325,22 @@ Linux, FreeBSD & PC-BSD
|
|||||||
If your distribution supports the XDG standard, you'll find OpenLP's
|
If your distribution supports the XDG standard, you'll find OpenLP's
|
||||||
configuration file in::
|
configuration file in::
|
||||||
|
|
||||||
/home/<user>/.config/OpenLP/OpenLP.conf
|
/home/<user>/.config/OpenLP/OpenLP.conf
|
||||||
|
|
||||||
If that file and/or directory does not exist, look for::
|
If that file and/or directory does not exist, look for::
|
||||||
|
|
||||||
/home/<user>/.openlp/openlp.conf
|
/home/<user>/.openlp/openlp.conf
|
||||||
|
|
||||||
|
``<user>`` is your username.
|
||||||
|
|
||||||
OS X
|
OS X
|
||||||
----
|
----
|
||||||
|
|
||||||
You'll find your configuration file here::
|
You'll find your configuration file here::
|
||||||
|
|
||||||
/Users/<user>/Library/Preferences/com.openlp.OpenLP.plist
|
/Users/<user>/Library/Preferences/org.openlp.OpenLP.plist
|
||||||
/Users/<user>/Library/Preferences/org.openlp.OpenLP.plist
|
|
||||||
|
``<user>`` is your username.
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
-------
|
-------
|
||||||
@ -334,7 +348,7 @@ Windows
|
|||||||
On Windows, OpenLP does not use a configuration file, it uses the Windows
|
On Windows, OpenLP does not use a configuration file, it uses the Windows
|
||||||
registry. You can find the settings here::
|
registry. You can find the settings here::
|
||||||
|
|
||||||
HKEY_CURRENT_USER\Software\OpenLP\OpenLP
|
HKEY_CURRENT_USER\Software\OpenLP\OpenLP
|
||||||
|
|
||||||
Troubleshooting
|
Troubleshooting
|
||||||
===============
|
===============
|
||||||
@ -354,24 +368,46 @@ If there **is already a bug report**, you may be able to help by providing
|
|||||||
further information. However, **if no one else has reported** it yet, then
|
further information. However, **if no one else has reported** it yet, then
|
||||||
please post a new bug report.
|
please post a new bug report.
|
||||||
|
|
||||||
#. The **preferred place** for reporting bugs is the `bugs list <https://bugs.launchpad.net/openlp>`_ on Launchpad.
|
#. The **preferred place** for reporting bugs is the
|
||||||
#. Alternatively, if you don't have a Launchpad account and don't want to sign up for one, you can post in the `bug reports forum <http://openlp.org/en/forums/openlp_20/bug_reports.html>`_.
|
`bugs list <https://bugs.launchpad.net/openlp>`_ on Launchpad.
|
||||||
#. If none of these ways suits you, you can send an email to bugs (at) openlp.org.
|
#. Alternatively, if you don't have a Launchpad account and don't want to sign
|
||||||
|
up for one, you can post in the
|
||||||
|
`bug reports forum <http://openlp.org/en/forums/openlp_20/bug_reports.html>`_.
|
||||||
|
#. If none of these ways suits you, you can send an email to
|
||||||
|
``bugs (at) openlp.org``.
|
||||||
|
|
||||||
What information should I include in a bug report?
|
What information should I include in a bug report?
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
* Operating System
|
Since OpenLP 1.9.4, there is a bug report dialog which automatically opens when
|
||||||
|
OpenLP hits a serious bug. However, this doesn't appear all the time, and in
|
||||||
* Version
|
some behavioural bugs, you'll have to file a bug report yourself. The following
|
||||||
* Distribution - Ubuntu, Fedora, etc (if you're using Linux)
|
items are information the developers need in order to reproduce the bug.
|
||||||
* Edition \- Home, Basic, Business, etc (if you're using Windows)
|
|
||||||
|
|
||||||
* Version of OpenLP (:menuselection:`Help --> About`)
|
Operating System
|
||||||
* The exact steps to take in order to reproduce the error
|
Include information such as the version of your operating system, the
|
||||||
* Version of MS Office or OpenOffice (if you're using the song imports or the presentation plugin)
|
distribution (e.g. Ubuntu, Fedora, etc.) if you're using Linux, or the
|
||||||
* What Bible translation and type you are importing (if you're using the Bible importer)
|
edition (e.g. Home, Basic, Business, etc.) if you're using Windows.
|
||||||
* `Any` other information that might remotely be related or useful.
|
|
||||||
|
Version of OpenLP
|
||||||
|
You can find out the version of OpenLP by going to :menuselection:`Help --> About`
|
||||||
|
|
||||||
|
Steps to Reproduce
|
||||||
|
The exact steps the developers need to follow in order to reproduce the bug.
|
||||||
|
|
||||||
|
Version of MS Office or OpenOffice
|
||||||
|
If you're using the song imports or the presentation plugin, you'll need to
|
||||||
|
supply the version of Office, OpenOffice.org or LibreOffice.
|
||||||
|
|
||||||
|
Bible Translation and Source
|
||||||
|
If the bug occurred while you were working with Bibles, specify the
|
||||||
|
translation of the Bible, and the source format if you imported it yourself.
|
||||||
|
|
||||||
|
**Any** Other Information
|
||||||
|
Often bugs are caused by something that might not seem to be directly
|
||||||
|
related to the bug itself. If you have any other information with regards to
|
||||||
|
actions you performed or other activities when the bug occurred, it would be
|
||||||
|
welcomed by the developers.
|
||||||
|
|
||||||
The more information you give us, the better we can help you.
|
The more information you give us, the better we can help you.
|
||||||
|
|
||||||
@ -382,7 +418,7 @@ We may need a debug log to help pin-point the issue. A new log file is created
|
|||||||
each time you start OpenLP so copy the file before you run the software a second
|
each time you start OpenLP so copy the file before you run the software a second
|
||||||
time. On Windows a Debug option is available in the start menu. On other systems,
|
time. On Windows a Debug option is available in the start menu. On other systems,
|
||||||
you will need to run OpenLP from the command line, with the following
|
you will need to run OpenLP from the command line, with the following
|
||||||
option: <code>-l debug</code>. Please note, that is a lowercase **L**.
|
option: ```-l debug```. Please note, that is a lowercase **L**.
|
||||||
|
|
||||||
If you haven't been given a specific email address to send it to, then please do
|
If you haven't been given a specific email address to send it to, then please do
|
||||||
not paste the log contents straight into a forum post. Instead, open the log
|
not paste the log contents straight into a forum post. Instead, open the log
|
||||||
@ -391,7 +427,7 @@ contents into somewhere like `pastebin.com <http://pastebin.com>`_. Then give us
|
|||||||
the link to the page that is created.
|
the link to the page that is created.
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
-------
|
^^^^^^^
|
||||||
|
|
||||||
Find the OpenLP 2.0 folder in your Start menu. Choose the "OpenLP (Debug)" option.
|
Find the OpenLP 2.0 folder in your Start menu. Choose the "OpenLP (Debug)" option.
|
||||||
|
|
||||||
@ -403,49 +439,51 @@ Now repeat the steps you need to take in OpenLP to reproduce the problem you had
|
|||||||
and then close down OpenLP.
|
and then close down OpenLP.
|
||||||
|
|
||||||
In the Explorer window you left open, navigate up one level into the openlp
|
In the Explorer window you left open, navigate up one level into the openlp
|
||||||
folder. You will see the <code>openlp.log</code> file. This is the file to e-mail.
|
folder. You will see the ``openlp.log`` file. This is the file to e-mail.
|
||||||
|
|
||||||
Linux
|
Linux/FreeBSD
|
||||||
-----
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
If you installed OpenLP from a package::
|
If you installed OpenLP from a package::
|
||||||
|
|
||||||
@:~$ openlp -l debug
|
@:~$ openlp -l debug
|
||||||
|
|
||||||
Alternately, if you're running OpenLP from source::
|
Alternately, if you're running OpenLP from source::
|
||||||
|
|
||||||
@:~$ ./openlp.pyw -l debug
|
@:~$ ./openlp.pyw -l debug
|
||||||
|
|
||||||
If your Linux distribution supports the XDG standard, you'll find the log in::
|
If your Linux distribution supports the XDG standard, you'll find the log in::
|
||||||
|
|
||||||
~/.cache/openlp/openlp.log
|
~/.cache/openlp/openlp.log
|
||||||
|
|
||||||
Otherwise, you'll find the log file in::
|
Otherwise, you'll find the log file in::
|
||||||
|
|
||||||
~/.openlp/openlp.log
|
~/.openlp/openlp.log
|
||||||
|
|
||||||
Mac OS X
|
Mac OS X
|
||||||
--------
|
^^^^^^^^
|
||||||
|
|
||||||
Open Terminal.app and navigate to where you installed OpenLP, usually
|
Open Terminal.app and navigate to where you installed OpenLP, usually
|
||||||
<code>/Applications</code>::
|
``/Applications``::
|
||||||
|
|
||||||
@:~$ cd /Applications
|
@:~$ cd /Applications
|
||||||
|
|
||||||
Then go into the OpenLP.app directory, down to the OpenLP executable::
|
Then go into the OpenLP.app directory, down to the OpenLP executable::
|
||||||
|
|
||||||
@:~$ cd OpenLP.app/Contents/MacOS
|
@:~$ cd OpenLP.app/Contents/MacOS
|
||||||
|
|
||||||
And then run OpenLP in debug mode::
|
And then run OpenLP in debug mode::
|
||||||
|
|
||||||
@:~$ ./openlp -l debug
|
@:~$ ./openlp -l debug
|
||||||
|
|
||||||
Once you've done that, you need to get the log file. In your home directory,
|
Once you've done that, you need to get the log file. In your home directory,
|
||||||
open the Library directory, and the Application Support directory within that.
|
open the Library directory, and the Application Support directory within that.
|
||||||
Then open the openlp directory, and you should find the openlp.log file in that
|
Then open the openlp directory, and you should find the openlp.log file in that
|
||||||
directory::
|
directory::
|
||||||
|
|
||||||
/Users/<username>/Library/Application Support/openlp/openlp.log
|
/Users/<username>/Library/Application Support/openlp/openlp.log
|
||||||
|
|
||||||
|
``<username>`` is your username.
|
||||||
|
|
||||||
I'm on Windows and PowerPoint is installed, but it doesn't appear as an option
|
I'm on Windows and PowerPoint is installed, but it doesn't appear as an option
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
@ -457,29 +495,27 @@ The command line shows many error messages
|
|||||||
|
|
||||||
When running OpenLP from the command line, you might get something like this::
|
When running OpenLP from the command line, you might get something like this::
|
||||||
|
|
||||||
Logging to: /home/<User>/.config/openlp/openlp.log
|
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
||||||
|
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
||||||
* WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to VideoDisplay ( no objectName ).
|
||||||
* WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
|
||||||
* WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to VideoDisplay ( no objectName ).
|
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
||||||
* WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
|
|
||||||
* WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
|
|
||||||
|
|
||||||
These error messages indicate that you need to install an appropriate backend
|
These error messages indicate that you need to install an appropriate backend
|
||||||
for Phonon.
|
for Phonon.
|
||||||
|
|
||||||
Linux/FreeBSD
|
Linux/FreeBSD
|
||||||
-------------
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
If you're using Gnome, you need to install the GStreamer backend for Phonon. On
|
If you're using Gnome, you need to install the GStreamer backend for Phonon. On
|
||||||
Ubuntu you would install the <code>phonon-backend-gstreamer</code> package::
|
Ubuntu you would install the ```phonon-backend-gstreamer``` package::
|
||||||
|
|
||||||
@:~$ sudo aptitude install phonon-backend-gstreamer
|
@:~$ sudo aptitude install phonon-backend-gstreamer
|
||||||
|
|
||||||
If you're using KDE, you need to install the Xine backend for Phonon. On Kubuntu
|
If you're using KDE, you need to install the Xine backend for Phonon. On Kubuntu
|
||||||
you would install the <code>phonon-backend-xine</code> package::
|
you would install the ```phonon-backend-xine``` package::
|
||||||
|
|
||||||
@:~$ sudo aptitude install phonon-backend-xine
|
@:~$ sudo aptitude install phonon-backend-xine
|
||||||
|
|
||||||
If you know which audiovisual system you're using, then install the appropriate
|
If you know which audiovisual system you're using, then install the appropriate
|
||||||
backend.
|
backend.
|
||||||
@ -487,30 +523,30 @@ backend.
|
|||||||
phonon-backend-vlc may also be worth trying on some systems.
|
phonon-backend-vlc may also be worth trying on some systems.
|
||||||
|
|
||||||
Windows & Mac OS X
|
Windows & Mac OS X
|
||||||
------------------
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Phonon should already be set up properly. If you're still having issues, let the
|
Phonon should already be set up properly. If you're still having issues, let the
|
||||||
developers know.
|
developers know.
|
||||||
|
|
||||||
I've upgraded from 1.9.2 to a newer version, and now OpenLP crashes at start
|
I've upgraded from 1.9.2 to a newer version, and now OpenLP crashes on load
|
||||||
----------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
You need to upgrade your song database.
|
You need to upgrade your song database. See this `blog post <http://openlp.org/en/users/jt/blog/2010-07-20-flag_day_database_schema_changes_in_trunk_revision_956.html>`_
|
||||||
See this `blog post <http://openlp.org/en/users/jt/blog/2010-07-20-flag_day_database_schema_changes_in_trunk_revision_956.html>`_ for information on how to do this.
|
for information on how to do this.
|
||||||
|
|
||||||
I've upgraded to 1.9.5, and now OpenLP has duplicates of many songs in the Media Manager
|
I've upgraded to 1.9.5, and now OpenLP has duplicates of many songs in the Media Manager
|
||||||
----------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
You need to run the :menuselection:`Tools --> Re-index Songs`.
|
You need to run :menuselection:`Tools --> Re-index Songs`.
|
||||||
|
|
||||||
There are no menu icons in OpenLP
|
There are no menu icons in OpenLP
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
This may affect (only) linux users with xfce. To solve the problem, follow the
|
This may affect (only) Linux users with XFCE or Gnome. To solve the problem,
|
||||||
description `here <https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/501468/comments/3>`_.
|
follow the instructions on `this bug report <https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/501468/comments/3>`_.
|
||||||
|
|
||||||
JPG images don't work
|
JPEG images don't work
|
||||||
---------------------
|
----------------------
|
||||||
|
|
||||||
This is a known issue on some Mac OS X 10.5 systems, and has also been seen on
|
This is a known issue on some Mac OS X 10.5 systems, and has also been seen on
|
||||||
Windows XP too. The solution is to convert the image into another format such as
|
Windows XP too. The solution is to convert the image into another format such as
|
||||||
@ -525,30 +561,31 @@ no solution at the moment.
|
|||||||
Videos can be slow or pixelated. Background Videos are very slow
|
Videos can be slow or pixelated. Background Videos are very slow
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
If playing video by themselves, try selecting the
|
If you are just playing videos from the Media plugin, try selecting the
|
||||||
:menuselection:`Settings --> Configure OpenLP --> Media`, Use Phonon for Video
|
:guilabel:`Use Phonon for Video playback` option in the Media configuration,
|
||||||
playback option. As for text over video, we have no solution for speeding these
|
accessible by going to :menuselection:`Settings --> Configure OpenLP --> Media`.
|
||||||
up. Reducing the monitor resolution and avoiding shadows and outline text will
|
As for text over video, we have no solution for speeding this up. Reducing the
|
||||||
help. We are hoping a future release of the toolkit we are using (QtWebKit) will
|
monitor resolution and avoiding shadows and outline text will help. We are
|
||||||
help improve this, but there is no timeframe at present.
|
hoping a future release of the toolkit we are using (QtWebKit) will help improve
|
||||||
|
this, but there is no timeframe at present.
|
||||||
|
|
||||||
Features
|
Features
|
||||||
========
|
========
|
||||||
|
|
||||||
What new features will I find in v2?
|
What new features will I find in 2.0?
|
||||||
------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
Since v2 was a rewrite from the ground up, you won't find a great deal of new
|
Since 2.0 was a rewrite from the ground up, you won't find a great deal of new
|
||||||
features since initially we want to ensure all the v1.2 features are included.
|
features since initially we want to ensure all the 1.2 features are included.
|
||||||
However the developers have managed to sneak a few in. Take a look at the
|
However the developers have managed to sneak a few in. Take a look at the
|
||||||
`Complete list <http://wiki.openlp.org/Version_2_Features>`_.
|
`complete list <http://wiki.openlp.org/Version_2_Features>`_.
|
||||||
|
|
||||||
Why hasn't popular feature request X been implemented?
|
Why hasn't popular feature request X been implemented?
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
||||||
We made a decision to first implement v1.2 features, before going wild on new
|
We made a decision to first implement 1.2 features, before going wild on new
|
||||||
features. There are only a handful of developers working in their spare time. If
|
features. There are only a handful of developers working in their spare time. If
|
||||||
we were to try and include everything we wanted to implement, then v2 would not
|
we were to try and include everything we wanted to implement, then 2.0 would not
|
||||||
likely ever get released.
|
likely ever get released.
|
||||||
|
|
||||||
I have a great idea for a new feature, where should I suggest it?
|
I have a great idea for a new feature, where should I suggest it?
|
||||||
@ -558,6 +595,4 @@ First of all check it isn't on the `Feature Requests <http://wiki.openlp.org/Fea
|
|||||||
page. If it is, then you need to say no more, it's already been suggested! If it
|
page. If it is, then you need to say no more, it's already been suggested! If it
|
||||||
isn't on the list, then head to the
|
isn't on the list, then head to the
|
||||||
`feature request forum <http://openlp.org/en/forums/openlp_20/feature_requests.html>`_
|
`feature request forum <http://openlp.org/en/forums/openlp_20/feature_requests.html>`_
|
||||||
and post the idea there.
|
and post the idea there.
|
||||||
|
|
||||||
`Help <http://wiki.openlp.org/Help:Contents>`_
|
|
@ -71,8 +71,8 @@ Importing from CCLI Song Select
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
To import from CCLI Song Select you must be a CCLI Subscriber and also a
|
To import from CCLI Song Select you must be a CCLI Subscriber and also a
|
||||||
subscriber of the Song Select service. For info on that go to:
|
subscriber of the Song Select service. For more info check out the `CCLI website.
|
||||||
http://www.ccli.com
|
<http://www.ccli.com>`_
|
||||||
|
|
||||||
The first step for importing from CCLI Song Select is to log into your account.
|
The first step for importing from CCLI Song Select is to log into your account.
|
||||||
Then search for your desired song. For this example we will be adding the song
|
Then search for your desired song. For this example we will be adding the song
|
||||||
|
@ -3,7 +3,7 @@ Troubleshooting
|
|||||||
===============
|
===============
|
||||||
|
|
||||||
I can not play videos or other media
|
I can not play videos or other media
|
||||||
====================================
|
------------------------------------
|
||||||
|
|
||||||
If you can not play video or audio through openlp, there are several areas that
|
If you can not play video or audio through openlp, there are several areas that
|
||||||
could be an issue. First thing is to make sure you can play the media file
|
could be an issue. First thing is to make sure you can play the media file
|
||||||
@ -18,7 +18,7 @@ Make sure the check box for `Use Phonon for video playback` is checked.
|
|||||||
.. image:: pics/phononcheckbox.png
|
.. image:: pics/phononcheckbox.png
|
||||||
|
|
||||||
Codecs
|
Codecs
|
||||||
------
|
^^^^^^
|
||||||
|
|
||||||
You may need to install codecs for certain files to play. Most newer versions
|
You may need to install codecs for certain files to play. Most newer versions
|
||||||
of Windows and OS X will support most media types. Most Linux distributions
|
of Windows and OS X will support most media types. Most Linux distributions
|
||||||
@ -29,8 +29,8 @@ Microsoft Windows
|
|||||||
|
|
||||||
Later versions of Microsoft Windows (Vista, Windows 7) generally come with
|
Later versions of Microsoft Windows (Vista, Windows 7) generally come with
|
||||||
everything you need to play most media formats. If for some reason you need
|
everything you need to play most media formats. If for some reason you need
|
||||||
additional codecs we have seen success from the Combined Community Codec Pack
|
additional codecs we have seen success from the `Combined Community Codec Pack
|
||||||
(CCCP): `<http://www.cccp-project.net/>`_. You might also wish to check out the
|
(CCCP) <http://www.cccp-project.net/>`_. You might also wish to check out the
|
||||||
K-Lite Codec Pack. If you are having issues, results do seem to vary with the
|
K-Lite Codec Pack. If you are having issues, results do seem to vary with the
|
||||||
different options. What works for some may not for others, so some trial and
|
different options. What works for some may not for others, so some trial and
|
||||||
error may be required.
|
error may be required.
|
||||||
@ -40,7 +40,7 @@ Mac
|
|||||||
|
|
||||||
If you are using a Mac. You may wish to play Windows formats. flip4mac enables
|
If you are using a Mac. You may wish to play Windows formats. flip4mac enables
|
||||||
you to use popular Windows formats such as .wmv on your Mac. You can get it
|
you to use popular Windows formats such as .wmv on your Mac. You can get it
|
||||||
here `<http://dynamic.telestream.net/downloads/download-flip4macwmv.htm>`_.
|
`from here <http://dynamic.telestream.net/downloads/download-flip4macwmv.htm>`_.
|
||||||
|
|
||||||
Ubuntu Linux (and variants)
|
Ubuntu Linux (and variants)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -56,8 +56,8 @@ ubuntu-restricted-extras and Kubuntu-restricted-extras, or from the terminal::
|
|||||||
**Note** if you are running Kubuntu there is no need to install the
|
**Note** if you are running Kubuntu there is no need to install the
|
||||||
ubuntu-restricted-extras meta-package
|
ubuntu-restricted-extras meta-package
|
||||||
|
|
||||||
For more information on Ubuntu and multimedia issues please check out
|
For more information on Ubuntu and multimedia issues please check out the
|
||||||
`<https://help.ubuntu.com/community/RestrictedFormats/>`_.
|
`community documentation <https://help.ubuntu.com/community/RestrictedFormats/>`_.
|
||||||
|
|
||||||
Arch Linux
|
Arch Linux
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
@ -67,8 +67,8 @@ Linux::
|
|||||||
|
|
||||||
root@linux:~ # pacman -S gstreamer0.10-{base,good,bad,ugly}-plugins gstreamer0.10-ffmpeg
|
root@linux:~ # pacman -S gstreamer0.10-{base,good,bad,ugly}-plugins gstreamer0.10-ffmpeg
|
||||||
|
|
||||||
If you need more help with Arch Linux and multimedia please see the Arch Linux
|
If you need more help with Arch Linux and multimedia please see the `Arch Linux
|
||||||
documentation at `<https://wiki.archlinux.org/index.php/Codecs>`_.
|
documentation <https://wiki.archlinux.org/index.php/Codecs>`_.
|
||||||
|
|
||||||
Debian Linux
|
Debian Linux
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
@ -92,7 +92,7 @@ You will need to set up Fedora to play most media formats. This is relatively
|
|||||||
simple using the rpmfusion repository.
|
simple using the rpmfusion repository.
|
||||||
|
|
||||||
**Note** the following commands will enable a third party repository to your
|
**Note** the following commands will enable a third party repository to your
|
||||||
system. Please check out `<http://rpmfusion.org>`_. for more information.
|
system. Please check out `the RPM Fusion site <http://rpmfusion.org>`_ for more information.
|
||||||
|
|
||||||
To enable both the free and nonfree components for any Fedora official release
|
To enable both the free and nonfree components for any Fedora official release
|
||||||
enter the following commands::
|
enter the following commands::
|
||||||
@ -103,11 +103,11 @@ After enabling the rpmfusion repository you will want to refresh your package
|
|||||||
list, perform any updates and search for gstreamer-good, bad, and ugly and
|
list, perform any updates and search for gstreamer-good, bad, and ugly and
|
||||||
install.
|
install.
|
||||||
|
|
||||||
Here is a good tutorial video on the rpmfusion repository
|
Follow the tutorial `using the rpmfusion repository <http://www.linuxjournal.com/video/getting-mp3-support-fedora-using-rpmfusion-repositories>`_
|
||||||
`<http://www.linuxjournal.com/video/getting-mp3-support-fedora-using-rpmfusion-repositories>`_.
|
to enable extra audio and video formats on Fedora
|
||||||
|
|
||||||
The Media Manager appears to be missing some features
|
The Media Manager appears to be missing some features
|
||||||
=====================================================
|
-----------------------------------------------------
|
||||||
|
|
||||||
If you do not see all the features listed in the Media Manager, you may need
|
If you do not see all the features listed in the Media Manager, you may need
|
||||||
to enable them.
|
to enable them.
|
||||||
@ -122,11 +122,55 @@ By default all plugins should be enabled during the first run wizard except the
|
|||||||
remotes plugin, unless you specify differently.
|
remotes plugin, unless you specify differently.
|
||||||
|
|
||||||
I can not see the book, chapter, and verse when I display scripture
|
I can not see the book, chapter, and verse when I display scripture
|
||||||
===================================================================
|
-------------------------------------------------------------------
|
||||||
|
|
||||||
The book, chapter, and verse should be displayed when you display scripture. If
|
The book, chapter, and verse should be displayed when you display scripture. If
|
||||||
you can not see this your theme probably has the text size too small for the
|
you can not see this your theme probably has the text size too small for the
|
||||||
info to be seen. See the section of the manual on themes if you need more info
|
info to be seen. See the section of the manual on themes if you need more info
|
||||||
on text sizes in themes.
|
on text sizes in themes.
|
||||||
|
|
||||||
|
I am running Mac OS X and I do not have a presentations plugin
|
||||||
|
--------------------------------------------------------------
|
||||||
|
|
||||||
|
Due to software limitations with Keynote and OpenOffice Impress, the
|
||||||
|
presentations plugin on OS X is not currently available.
|
||||||
|
|
||||||
|
I am using PowerPoint 2010 or PowerPoint Viewer 2010 and presentations do not work
|
||||||
|
----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Currently OpenLP does not support PowerPoint Viewer 2010. PowerPoint 2010 should
|
||||||
|
work correctly, although some users have reported problems. If you have issues
|
||||||
|
with PowerPoint 2010 or PowerPoint Viewer 2010 try the PowerPoint 2003 or 2007
|
||||||
|
Viewers. `Download the PowerPoint 2007 viewer for free
|
||||||
|
<http://www.microsoft.com/downloads/en/details.aspx?FamilyID=048dc840-14e1-467d-8dca-19d2a8fd7485&displaylang=en>`_.
|
||||||
|
|
||||||
|
I have PowerPoint installed but it does not show as a presentation option
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Installing the `Visual C++ Runtime Redistributable. <http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en>`_
|
||||||
|
has fixed this problem according to some of our users.
|
||||||
|
|
||||||
|
I have JPG images and they will not work on my system
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
This is a known issue on some Mac OS X 10.5 systems and on a few Windows XP
|
||||||
|
systems. Currently the only solution is to convert your images into another
|
||||||
|
format. We would suggest using PNG images when possible with OpenLP.
|
||||||
|
|
||||||
|
I am running a Linux Distro and can not see the menus
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
This seems to be a problem with XFCE and some versions of Gnome too. To correct
|
||||||
|
this problem, open a terminal and type in the following commands::
|
||||||
|
|
||||||
|
gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true
|
||||||
|
|
||||||
|
gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true
|
||||||
|
|
||||||
|
I chose to use a web Bible but it did not download the entire Bible
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
|
||||||
|
Due to copyright restrictions OpenLP cannot download an entire Bible. It can
|
||||||
|
only download the section you search for. If you do not have an internet
|
||||||
|
connection where you intend to use OpenLP you will need another scripture
|
||||||
|
source. For more information about acquiring bibles please see :ref:`bibleimporter`.
|
||||||
|
@ -69,6 +69,7 @@ Source: ..\..\dist\OpenLP\*; DestDir: {app}; Flags: ignoreversion recursesubdirs
|
|||||||
[Icons]
|
[Icons]
|
||||||
Name: {group}\{#AppName}; Filename: {app}\{#AppExeName}
|
Name: {group}\{#AppName}; Filename: {app}\{#AppExeName}
|
||||||
Name: {group}\{#AppName} (Debug); Filename: {app}\{#AppExeName}; Parameters: -l debug
|
Name: {group}\{#AppName} (Debug); Filename: {app}\{#AppExeName}; Parameters: -l debug
|
||||||
|
Name: {group}\{#AppName} Help; Filename: {app}\{#AppName}.chm
|
||||||
Name: {group}\{cm:ProgramOnTheWeb,{#AppName}}; Filename: {#AppURL}
|
Name: {group}\{cm:ProgramOnTheWeb,{#AppName}}; Filename: {#AppURL}
|
||||||
Name: {group}\{cm:UninstallProgram,{#AppName}}; Filename: {uninstallexe}
|
Name: {group}\{cm:UninstallProgram,{#AppName}}; Filename: {uninstallexe}
|
||||||
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExeName}; Tasks: desktopicon
|
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExeName}; Tasks: desktopicon
|
||||||
|
@ -94,6 +94,10 @@ from subprocess import Popen, PIPE
|
|||||||
python_exe = sys.executable
|
python_exe = sys.executable
|
||||||
innosetup_exe = os.path.join(os.getenv(u'PROGRAMFILES'), 'Inno Setup 5',
|
innosetup_exe = os.path.join(os.getenv(u'PROGRAMFILES'), 'Inno Setup 5',
|
||||||
u'ISCC.exe')
|
u'ISCC.exe')
|
||||||
|
sphinx_exe = os.path.join(os.path.split(python_exe)[0], u'Scripts',
|
||||||
|
u'sphinx-build.exe')
|
||||||
|
hhc_exe = os.path.join(os.getenv(u'PROGRAMFILES'), 'HTML Help Workshop',
|
||||||
|
u'hhc.exe')
|
||||||
|
|
||||||
# Base paths
|
# Base paths
|
||||||
script_path = os.path.split(os.path.abspath(__file__))[0]
|
script_path = os.path.split(os.path.abspath(__file__))[0]
|
||||||
@ -109,6 +113,7 @@ i18n_utils = os.path.join(script_path, u'translation_utils.py')
|
|||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
source_path = os.path.join(branch_path, u'openlp')
|
source_path = os.path.join(branch_path, u'openlp')
|
||||||
|
manual_path = os.path.join(branch_path, u'documentation', u'manual')
|
||||||
i18n_path = os.path.join(branch_path, u'resources', u'i18n')
|
i18n_path = os.path.join(branch_path, u'resources', u'i18n')
|
||||||
winres_path = os.path.join(branch_path, u'resources', u'windows')
|
winres_path = os.path.join(branch_path, u'resources', u'windows')
|
||||||
build_path = os.path.join(branch_path, u'build', u'pyi.win32', u'OpenLP')
|
build_path = os.path.join(branch_path, u'build', u'pyi.win32', u'OpenLP')
|
||||||
@ -132,21 +137,6 @@ def update_code():
|
|||||||
print output
|
print output
|
||||||
raise Exception(u'Error updating the code')
|
raise Exception(u'Error updating the code')
|
||||||
|
|
||||||
def clean_build_directories():
|
|
||||||
dist_dir = os.path.join(build_path, u'dist')
|
|
||||||
build_dir = os.path.join(build_path, u'build')
|
|
||||||
if os.path.exists(dist_dir):
|
|
||||||
for root, dirs, files in os.walk(dist_dir, topdown=False):
|
|
||||||
print root
|
|
||||||
for file in files:
|
|
||||||
os.remove(os.path.join(root, file))
|
|
||||||
os.removedirs(dist_dir)
|
|
||||||
if os.path.exists(build_dir):
|
|
||||||
for root, dirs, files in os.walk(build_dir, topdown=False):
|
|
||||||
for file in files:
|
|
||||||
os.remove(os.path.join(root, file))
|
|
||||||
os.removedirs(build_dir)
|
|
||||||
|
|
||||||
def run_pyinstaller():
|
def run_pyinstaller():
|
||||||
print u'Running PyInstaller...'
|
print u'Running PyInstaller...'
|
||||||
os.chdir(branch_path)
|
os.chdir(branch_path)
|
||||||
@ -240,6 +230,31 @@ def compile_translations():
|
|||||||
if code != 0:
|
if code != 0:
|
||||||
raise Exception('Error running lconvert on %s' % source_path)
|
raise Exception('Error running lconvert on %s' % source_path)
|
||||||
|
|
||||||
|
def run_sphinx():
|
||||||
|
print u'Running Sphinx...'
|
||||||
|
os.chdir(manual_path)
|
||||||
|
sphinx = Popen((sphinx_exe, u'-b', u'htmlhelp', u'-d', u'build/doctrees',
|
||||||
|
u'source', u'build/htmlhelp'), stdout=PIPE)
|
||||||
|
output, error = sphinx.communicate()
|
||||||
|
code = sphinx.wait()
|
||||||
|
if code != 0:
|
||||||
|
print output
|
||||||
|
raise Exception(u'Error running Sphinx')
|
||||||
|
|
||||||
|
def run_htmlhelp():
|
||||||
|
print u'Running HTML Help Workshop...'
|
||||||
|
os.chdir(os.path.join(manual_path, u'build', u'htmlhelp'))
|
||||||
|
hhc = Popen((hhc_exe, u'OpenLP.chm'), stdout=PIPE)
|
||||||
|
output, error = hhc.communicate()
|
||||||
|
code = hhc.wait()
|
||||||
|
if code != 1:
|
||||||
|
print u'Exit code:', code
|
||||||
|
print output
|
||||||
|
raise Exception(u'Error running HTML Help Workshop')
|
||||||
|
else:
|
||||||
|
copy(os.path.join(manual_path, u'build', 'htmlhelp', u'OpenLP.chm'),
|
||||||
|
os.path.join(dist_path, u'OpenLP.chm'))
|
||||||
|
|
||||||
def run_innosetup():
|
def run_innosetup():
|
||||||
print u'Running Inno Setup...'
|
print u'Running Inno Setup...'
|
||||||
os.chdir(winres_path)
|
os.chdir(winres_path)
|
||||||
@ -260,7 +275,6 @@ def main():
|
|||||||
print "Inno Setup path:", innosetup_path
|
print "Inno Setup path:", innosetup_path
|
||||||
print "Windows resources:", winres_path
|
print "Windows resources:", winres_path
|
||||||
update_code()
|
update_code()
|
||||||
#clean_build_directories()
|
|
||||||
run_pyinstaller()
|
run_pyinstaller()
|
||||||
write_version_file()
|
write_version_file()
|
||||||
copy_enchant()
|
copy_enchant()
|
||||||
@ -268,6 +282,8 @@ def main():
|
|||||||
copy_windows_files()
|
copy_windows_files()
|
||||||
update_translations()
|
update_translations()
|
||||||
compile_translations()
|
compile_translations()
|
||||||
|
run_sphinx()
|
||||||
|
run_htmlhelp()
|
||||||
run_innosetup()
|
run_innosetup()
|
||||||
print "Done."
|
print "Done."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user