Trying to open ODT file creates a CPGZ file instead

Issues installing under the Mac OSX - X11 - Aqua

Trying to open ODT file creates a CPGZ file instead

Postby ap1 » Fri Apr 27, 2018 5:16 am

I'm working with someone who is getting a random problem on their MacBook. Sometimes when they attempt to open an ODT file (OpenOffice Writer document), the Mac creates a CPGZ file of the ODT file instead of opening the ODT file. I know a CPGZ file is an archive format (like a ZIP file). The problem is that I don't know what's causing the Mac to create the CPGZ file. When the problem happens, it happens for all ODT files, not just one. Has anyone seen that problem before? Do you know what fixed it?

If you looked over their shoulder when it happens in the Finder, you'd see an ODT file on the Desktop. When they double-click it, the CPGZ file would appear on top of and just to the side of the ODT file, similar to when you click on a file and then duplicate it (command+d). Oddly, when that happens, the ODT file extension for other ODT files changes to CPGZ. Then, at some point, when they use the Mac later in the day, the ODT files that were CPGZ files change back to ODT files. They remember one time when they dragged a CPGZ file from a window on to the Desktop and the extension changed back to ODT (as it did for all other CPGZ files).

Weird I know.

Any thoughts? I'm stumped.
OpenOffice 4.1 on MacOS 10.12
ap1
 
Posts: 2
Joined: Fri Apr 27, 2018 4:57 am

Re: Trying to open ODT file creates a CPGZ file instead

Postby Zizi64 » Sat Apr 28, 2018 4:55 pm

The .odt files are .zip files too, but the extension is related to the specific application.

Maybe the option "Automatic file extension" is unticked on the Save/Save as dialog. Check it, please. Maybe the files without extension in their names will be recognized as pure .zip files. (Try to rename them to *.odt.)
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.1 on Win7x64Prof.
PortableApps, winPenPack: LO3.3.0-LO6.1.2 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7287
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Trying to open ODT file creates a CPGZ file instead

Postby ap1 » Sun Apr 29, 2018 5:54 am

Zizi64 wrote:Maybe the option "Automatic file extension" is unticked on the Save/Save as dialog. Check it, please. Maybe the files without extension in their names will be recognized as pure .zip files. (Try to rename them to *.odt.)

Thank you Zizi64.

I'll look at the "Automatic file extension" option. I do know that the files display with their extensions. When they're normal ODT files, it's filename.odt. When they're CPGZ files, it's filename.odt.cpgt.

The part that's so strange is that the problem is random, and it affects all ODT files at once. Then, something happens and they all change back to regular ODT files. When the problem is not happening, the ODT files open as expected in OpenOffice Writer. They don't act like ZIP files, they just open in Writer.

I wish I knew what's causing the problem, so I can fix it. I hope it's not a virus or something. Hmm.
OpenOffice 4.1 on MacOS 10.12
ap1
 
Posts: 2
Joined: Fri Apr 27, 2018 4:57 am

Re: Trying to open ODT file creates a CPGZ file instead

Postby MrProgrammer » Mon Apr 30, 2018 3:39 pm

Hi, and welcome to the forum.

ap1 wrote:Sometimes when they attempt to open an ODT file (OpenOffice Writer document), the Mac creates a CPGZ file of the ODT file instead of opening the ODT file. … When the problem happens, it happens for all ODT files, not just one.
[Tutorial] Mac FAQ Q33/A33

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.5 Build 9789 on Mac OS 10.11.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Volunteer
 
Posts: 3480
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA


Return to Mac OSX

Who is online

Users browsing this forum: No registered users and 1 guest