Templates Disappeared

With the new release of Ubuntu last week I received a new release of LO 3.5.2.2

For some reason, my templates are no longer accessible. The files are present in a folder that is referenced in the "Tools-Options-Paths" - all unchanged since the previous version of 3.4. When I try to access the templates through the organise templates feature, there are no templates. I also get an error message "templates already exists"- presumably a reference to the folder templates rather than really bad English. This error message also comes up when I open an existing document.

When I try to start a new document using a template I get this message:

"Error creating a new document; templates already exists."

I've checked paths and permissions and I can't see what is wrong.

The problem arises from a change in where the templates are
located: LO 3.5 stores them in a different location
(.config/libreoffice/3/user/template) than 3.4
(.libreoffice/3/user/template).
     Suggestion: use the organise templates feature again. If you use
"My Templates as the folders for your templates, highlight it. The click
the Command button and select Update. Perhaps this will cause your
templates to appear.
     If this does not work, copy your templates contained
in .libreoffice/3/user/template to .config/libreoffice/3/user/template.
Then organise your templates, highlight the My Template folder, click
the Command button, and select Update from the drop down menu. The
templates should appear.
     I used this process to add multiple templates to My Templates, and
it saves time compared to importing one template at a time.

--Dan

Thanks Dan. I'm away from home for a few days, but I'll give it a go when I return

Keith

I tried what Dan suggested but it doesn't work :frowning:

I don't even have a "My Templates" folder in the template organiser wizard thing. I know it was there in 3.4 but it's no longer there.

I copied the template files to .config/libreoffice/3/user/template then clicked the Commands button and Update but then got several "templates already exists" messages and one "Update could not be completed" error.

I've removed all folders from the templates path except the default (/usr/lib/ something) and then added.config/libreoffice/3/user/template and set it as the default for adding new templates.

     I'm wondering if there is a glitch in the Ubuntu update.

Hi :slight_smile:
Try

Tools - Options - Paths

to see where LibreOffice is looking for your templates.  Hopefully you can edit that to look in the right place.  It is better to have your templates inside your /home along with all the rest of your users data and settings.  The full address for the 3.5.x branch is something like

/home/username/.config/libreoffice/3/user/template

Note that inside
/home/username/.config
you will see a lot of folders.  Each program has a folder in there for it's own settings and configurations.  Some are still in /home/username but are moving to the newer place to reduce congestion and confusion.

Note that username should be replaced by your own user-name, the one you login with.  Don't change the 3/user part tho! 
Regards from
Tom :slight_smile:

<snip />

<snip />

The problem arises from a change in where the templates are
located: LO 3.5 stores them in a different location
(.config/libreoffice/3/user/template) than 3.4
(.libreoffice/3/user/template).
       Suggestion: use the organise templates feature again. If you use
"My Templates as the folders for your templates, highlight it. The click
the Command button and select Update. Perhaps this will cause your
templates to appear.
       If this does not work, copy your templates contained
in .libreoffice/3/user/template to .config/libreoffice/3/user/template.
Then organise your templates, highlight the My Template folder, click
the Command button, and select Update from the drop down menu. The
templates should appear.
       I used this process to add multiple templates to My Templates, and
it saves time compared to importing one template at a time.

--Dan

I tried what Dan suggested but it doesn't work :frowning:

I don't even have a "My Templates" folder in the template organiser wizard thing. I know it was there in 3.4 but it's no longer there.

I copied the template files to .config/libreoffice/3/user/template then clicked the Commands button and Update but then got several "templates already exists" messages and one "Update could not be completed" error.

I've removed all folders from the templates path except the default (/usr/lib/ something) and then added.config/libreoffice/3/user/template and set it as the default for adding new templates.

I'm wondering if there is a glitch in the Ubuntu update.

-- God bless you
Keith Bates

Hi :slight_smile:
Try

Tools - Options - Paths

to see where LibreOffice is looking for your templates. Hopefully you can edit that to look in the right place. It is better to have your templates inside your /home along with all the rest of your users data and settings. The full address for the 3.5.x branch is something like

/home/username/.config/libreoffice/3/user/template

Note that inside
/home/username/.config
you will see a lot of folders. Each program has a folder in there for it's own settings and configurations. Some are still in /home/username but are moving to the newer place to reduce congestion and confusion.

Note that username should be replaced by your own user-name, the one you login with. Don't change the 3/user part tho! Regards from
Tom :slight_smile:

<snip />

I get all that. It's not helping. I've edited the paths. I've even deleted them and re-added them. The templates are in the correct folder but LO isn't finding them. There isn't even a folder in the organiser for any templates-- "My Templates" isn't there.

Keith

Am 10.05.2012 11:37, Keith Bates wrote:

I get all that. It's not helping. I've edited the paths. I've even
deleted them and re-added them. The templates are in the correct folder
but LO isn't finding them. There isn't even a folder in the organiser
for any templates-- "My Templates" isn't there.

Keith

OK, try this:
Open the new office version.

Open...

Get the old templates folder .libreoffice/3/user/template/ select all the templates you are interested in and load them.

Now for each file:

I deleted all the existing templates in .config/.libreoffice/3/user/template. Then I opened a template and tried to save as a template and got this error:
Error writing document Untitled2 as template: templates already exists

Click OK and it opens the box to enter a name and save the template.I enter a name and click save and it comes back with the same message.
  I click OK and then get this message:
Error writing document Untitled2 as template: General error General input/output error

Am 10.05.2012 12:19, Keith Bates wrote:

I deleted all the existing templates in
.config/.libreoffice/3/user/template. Then I opened a template and tried
to save as a template and got this error:
Error writing document Untitled2 as template: templates already exists

Click OK and it opens the box to enter a name and save the template.I
enter a name and click save and it comes back with the same message.
I click OK and then get this message:
Error writing document Untitled2 as template: General error General
input/output error

Reset your entire user profile and try again. Close the office, delete the .config/libreoffice folder and let it build a new one.
Do not copy any files into the profile. Templates need to be registered for whatever reason.
There is also an import command in the templates organizer (File>Templates>Organize... button [Commands])

Thank you Andreas. That fixed the problem.

Keith