* byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
@ 2012-01-15 20:49 Johnny
2012-01-16 4:50 ` Jambunathan K
0 siblings, 1 reply; 6+ messages in thread
From: Johnny @ 2012-01-15 20:49 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I just upgraded to org-mode 7.8.03 (from 7.6) and now get this error
message when trying to use the org-odt converter. With version 7.6, I used
org-odt from contrib and that worked fine, so what is the reason for
this error?
I did see another post about this about installing "style files", but
what are these and how do I install them?
Thanks for any help (and thanks for the exporter!)!
--
Johnny
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
2012-01-15 20:49 byte-code: Error (org-odt): Cannot find factory styles files. Aborting Johnny
@ 2012-01-16 4:50 ` Jambunathan K
2012-01-16 11:54 ` Johnny
0 siblings, 1 reply; 6+ messages in thread
From: Jambunathan K @ 2012-01-16 4:50 UTC (permalink / raw)
To: Johnny; +Cc: emacs-orgmode
Johnny <yggdrasil@gmx.co.uk> writes:
> Hi,
>
> I just upgraded to org-mode 7.8.03 (from 7.6) and now get this error
> message when trying to use the org-odt converter. With version 7.6, I used
> org-odt from contrib and that worked fine, so what is the reason for
> this error?
>
> I did see another post about this about installing "style files", but
> what are these and how do I install them?
It looks like one of your installation step is non-standard. There is an
easy workaround available but I would like to make sure that org-odt
auto-configures itself with minimal user intervention.
Please provide me information on
- how you downloaded the Org (git? tar file? elpa?)
- how did you compile. Did you do a make? Did you change the Makefile at
all?
- how did you install. Did you do a make install?
- What OS/Distrib are you using
Do you see debug messages from the org-odt module in the *Messages*
buffer. They will look something similar to this - one for schema files
and one for styles files.
,----
| Debug (org-odt): Searching for OpenDocument styles files...
| Debug (org-odt): Trying c:/Documents and Settings/kjambunathan/My Documents/My Data/src/org-mode/etc/styles/...
| Debug (org-odt): Using styles under c:/Documents and Settings/kjambunathan/My Documents/My Data/src/org-mode/etc/styles/
`----
> Thanks for any help (and thanks for the exporter!)!
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
2012-01-16 4:50 ` Jambunathan K
@ 2012-01-16 11:54 ` Johnny
2012-01-16 12:17 ` Eric S Fraga
2012-01-16 13:05 ` Jambunathan K
0 siblings, 2 replies; 6+ messages in thread
From: Johnny @ 2012-01-16 11:54 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-orgmode
Jambunathan K <kjambunathan@gmail.com> writes:
> Johnny <yggdrasil@gmx.co.uk> writes:
>
>> Hi,
>>
>> I just upgraded to org-mode 7.8.03 (from 7.6) and now get this error
>> message when trying to use the org-odt converter. With version 7.6, I used
>> org-odt from contrib and that worked fine, so what is the reason for
>> this error?
>>
>> I did see another post about this about installing "style files", but
>> what are these and how do I install them?
>
> It looks like one of your installation step is non-standard. There is an
> easy workaround available but I would like to make sure that org-odt
> auto-configures itself with minimal user intervention.
>
> Please provide me information on
> - how you downloaded the Org (git? tar file? elpa?)
I pulled the latest git version.
> - how did you compile. Did you do a make? Did you change the Makefile at
> all?
> - how did you install. Did you do a make install?
Make on unmodified Makefile, manually moved to /usr/local/share direcory.
> - What OS/Distrib are you using
Fedora 16.
>
> Do you see debug messages from the org-odt module in the *Messages*
> buffer. They will look something similar to this - one for schema files
> and one for styles files.
>
> ,----
> | Debug (org-odt): Searching for OpenDocument styles files...
> | Debug (org-odt): Trying c:/Documents and Settings/kjambunathan/My Documents/My Data/src/org-mode/etc/styles/...
> | Debug (org-odt): Using styles under c:/Documents and Settings/kjambunathan/My Documents/My Data/src/org-mode/etc/styles/
> `----
Debug (org-odt): Searching for OpenDocument styles files...
Debug (org-odt): Trying /usr/local/share/emacs/etc/styles/...
Debug (org-odt): Trying /usr/local/share/emacs/org-mode/etc/styles/...
Debug (org-odt): Trying /usr/share/emacs/23.3/etc/org/...
byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
Maybe I should tell org-odt to search for a libreoffice directory
instead?
>
>> Thanks for any help (and thanks for the exporter!)!
--
Johnny
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
2012-01-16 11:54 ` Johnny
@ 2012-01-16 12:17 ` Eric S Fraga
2012-01-16 13:05 ` Jambunathan K
1 sibling, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2012-01-16 12:17 UTC (permalink / raw)
To: Johnny; +Cc: emacs-orgmode, Jambunathan K
Johnny <yggdrasil@gmx.co.uk> writes:
> Jambunathan K <kjambunathan@gmail.com> writes:
[...]
> Please provide me information on
>> - how you downloaded the Org (git? tar file? elpa?)
>
> I pulled the latest git version.
>
>> - how did you compile. Did you do a make? Did you change the Makefile at
>> all?
>> - how did you install. Did you do a make install?
>
> Make on unmodified Makefile, manually moved to /usr/local/share
> direcory.
The problem is that if you don't use the "make install" command, the
installed files don't know where to look for the etc/styles directory!
If you use "make install" with the appropriate "--prefix", you should be
okay. Or, at least, that's my understanding from a quick look at the
Makefile... ;-)
HTH,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.136.ge2707)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
2012-01-16 11:54 ` Johnny
2012-01-16 12:17 ` Eric S Fraga
@ 2012-01-16 13:05 ` Jambunathan K
2012-01-16 21:03 ` Johnny
1 sibling, 1 reply; 6+ messages in thread
From: Jambunathan K @ 2012-01-16 13:05 UTC (permalink / raw)
To: Johnny; +Cc: emacs-orgmode
Hello Johnny
>> It looks like one of your installation step is non-standard. There is an
>> easy workaround available but I would like to make sure that org-odt
>> auto-configures itself with minimal user intervention.
>
> Make on unmodified Makefile, manually moved to /usr/local/share
> direcory.
You MUST NOT copy files by hand. You MUST use 'make install' to copy the
files.
There are two variables - lispdir and datadir - that determine where the
lisp and styles files go. Here is the unmodified Makefile.
,---- Makefile
| # Where local software is found
| prefix=/usr/local
|
| # Where local lisp files go
| lispdir = $(prefix)/share/emacs/site-lisp
|
| # Where data files go
| # $(datadir) contains auxiliary files for use with ODT exporter.
| # See comments under DATAFILES.
| datadir = $(prefix)/share/emacs/etc
`----
If you do M-x locate-library RET org-odt RET on your current
installation, you are likely to see the following message:
,----
| Library is file "/usr/local/share/emacs/org-mode" as directory.
`----
Based on the above setting, you can modify the default lispdir as
follows:
,---- Makefile
| # Where local lisp files go
| lispdir = $(prefix)/share/emacs/org-mode <================
|
| # Where data files go
| # $(datadir) contains auxiliary files for use with ODT exporter.
| # See comments under DATAFILES.
| datadir = $(prefix)/share/emacs/etc
`----
The style files will then get automatically get copied to
/usr/local/share/emacs/etc.
It's NOT important what the values for lispdir and datadir are. What is
VERY IMPORTANT is that you use "make install" to copy the files.
>
>> - What OS/Distrib are you using
>
> Fedora 16.
I am on Windows. I don't use any of the Gnu/Linuxes.
I am not sure what Fedora policy for installation is. May be org-7.8.03
hasn't hit Fedora yet and that's the reason why you chose to download
and install by hand.
FYI, Gentoo uses the following values for lispdir and datadir.
prefix = /usr
lispdir = $(prefix)/share/emacs/site-lisp/org-mode/
datadir = $(prefix)/share/emacs/etc/org-mode/
See
http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00800.html.
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
2012-01-16 13:05 ` Jambunathan K
@ 2012-01-16 21:03 ` Johnny
0 siblings, 0 replies; 6+ messages in thread
From: Johnny @ 2012-01-16 21:03 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-orgmode
Jambunathan K <kjambunathan@gmail.com> writes:
> Hello Johnny
>
>>> It looks like one of your installation step is non-standard. There is an
>>> easy workaround available but I would like to make sure that org-odt
>>> auto-configures itself with minimal user intervention.
>>
>> Make on unmodified Makefile, manually moved to /usr/local/share
>> direcory.
>
> You MUST NOT copy files by hand. You MUST use 'make install' to copy the
> files.
>
> There are two variables - lispdir and datadir - that determine where the
> lisp and styles files go. Here is the unmodified Makefile.
>
> ,---- Makefile
> | # Where local software is found
> | prefix=/usr/local
> |
> | # Where local lisp files go
> | lispdir = $(prefix)/share/emacs/site-lisp
> |
> | # Where data files go
> | # $(datadir) contains auxiliary files for use with ODT exporter.
> | # See comments under DATAFILES.
> | datadir = $(prefix)/share/emacs/etc
> `----
>
> If you do M-x locate-library RET org-odt RET on your current
> installation, you are likely to see the following message:
> ,----
> | Library is file "/usr/local/share/emacs/org-mode" as directory.
> `----
>
> Based on the above setting, you can modify the default lispdir as
> follows:
>
> ,---- Makefile
> | # Where local lisp files go
> | lispdir = $(prefix)/share/emacs/org-mode <================
> |
> | # Where data files go
> | # $(datadir) contains auxiliary files for use with ODT exporter.
> | # See comments under DATAFILES.
> | datadir = $(prefix)/share/emacs/etc
> `----
>
> The style files will then get automatically get copied to
> /usr/local/share/emacs/etc.
>
> It's NOT important what the values for lispdir and datadir are. What is
> VERY IMPORTANT is that you use "make install" to copy the files.
>
>>
>>> - What OS/Distrib are you using
>>
>> Fedora 16.
>
> I am on Windows. I don't use any of the Gnu/Linuxes.
>
> I am not sure what Fedora policy for installation is. May be org-7.8.03
> hasn't hit Fedora yet and that's the reason why you chose to download
> and install by hand.
>
> FYI, Gentoo uses the following values for lispdir and datadir.
> prefix = /usr
> lispdir = $(prefix)/share/emacs/site-lisp/org-mode/
> datadir = $(prefix)/share/emacs/etc/org-mode/
>
> See
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00800.html.
Thanks Jambunathan and Eric for your advice! This seems completely
reasonable and a self induced error; I will try reinstall with this
method in a couple of days and improve my makefile-editing / git
updating skills!
Cheers
--
Johnny
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-16 21:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 20:49 byte-code: Error (org-odt): Cannot find factory styles files. Aborting Johnny
2012-01-16 4:50 ` Jambunathan K
2012-01-16 11:54 ` Johnny
2012-01-16 12:17 ` Eric S Fraga
2012-01-16 13:05 ` Jambunathan K
2012-01-16 21:03 ` Johnny
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.