Error when openning MS Office files (*.doc, *.xls, *.ppt)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by chris_pi »

Error when openning MS Office files (*.doc, *.xls, *.ppt)
(Wine 1.0.1 and Wine 1.1.42, Ubuntu 10.04)

--

Hello,

I get this error when I try to open MSOffice 2003 files (like *.doc or *.xls or *.ppt):

"The file '/home/blabla/Doc1.doc' is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit."

I did read somes posts for problems like thise but for *.exe files [1] [2]. I had also problem with *.exe files and I resolve it in modifiing the permissions of the .exe files.

But here, the problem is more difficult: it is not only one or two files to modifie, but every *.doc (or *.xls or *.ppt) files on my computer...

Perhaps it is possible to create a script to modifie the permissions of the file when I click on it?

Someone can help me for that (or for an other solution)?

Thank you very much

cp

[1] http://forum.winehq.org/viewtopic.php?p=44106
[2] https://bugs.launchpad.net/ubuntu/+sour ... bug/561479
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Can you open the files by first running MS Office, and then using File / Open?

Or does
wine start Doc1.doc
James McKenzie

Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by James McKenzie »

chris_pi wrote:
Error when openning MS Office files (*.doc, *.xls, *.ppt)
(Wine 1.0.1 and Wine 1.1.42, Ubuntu 10.04)

--

Hello,

I get this error when I try to open MSOffice 2003 files (like *.doc or *.xls or *.ppt):

"The file '/home/blabla/Doc1.doc' is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit."

You are trying:

wine <filename>

That will not work.

You should try wine start <filename>

Also, you should really upgrade to Wine 1.2 or even 1.3.1. Bugs
submitted, except regressions, will be closed as we are no longer
accepting bug reports for the older versions of Wine.

James McKenzie
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Re:Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by chris_pi »

Hello,

Thank you very much for your answers!

@DanKegel: yes, I can open the files by first running MS Office, and then using File / Open. But It not an easy way to open a file...

@DanKegel & James McKenzie: yes, the command:

wine start Doc1.doc

works fine! Great!

So, what is the next step? How to use the commande "wine sart" for each file I click on it?

Many thanks

cp

@James McKenzie: I read here [1] that wine 1.2.0 for Ubuntu 10.04 is a beta package... so I'm hesitating to use it. have you tested it?

[1] http://www.winehq.org/download/deb
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re:Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by dimesio »

chris_pi wrote: @James McKenzie: I read here [1] that wine 1.2.0 for Ubuntu 10.04 is a beta package... so I'm hesitating to use it. have you tested it?

[1] http://www.winehq.org/download/deb
Reread that page. 1.2 is the current stable release, 1.3.x is the development branch.
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Re:Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by chris_pi »

Hello,

I tried the 1.2.0 package for ubuntu 10.04 and my problem is resolved!

Thank a lot for the solution.

cp
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Re:Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by chris_pi »

Hello,

I used two days wine 1.2.0 for Ubuntu 10.04 (only MS Word 2003).
There is many improvements, but also somes regressions (the display of somes pictures or fonts in MS Word is very bad for example).
I also make a test with wine 1.3.1. Same result.

So, I decide to go back to wine 1.0.1.

In consequence, my first problem is still unsolved...

How do I use the commande "wine start" to open my MS Files?

Somebody now how to do this?

Many thanks

cp
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Re:Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by chris_pi »

chris_pi wrote: Somebody now how to do this?
I would like to say:
"Somebody know how to do this?"

cp
John Drescher

Error when openning MS Office files (*.doc, *.xls, *.ppt)

Post by John Drescher »

Somebody now how to do this?
wine-1.0.1 is no longer supported on this list.

John
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Post by chris_pi »

Really??? I didn't know that wine 1.0.1 was no more supported here!!

Ok, but... any other suggestions are welcome...

In any cases, thank you for having tried to help me.

cp
chris_pi
Level 1
Level 1
Posts: 7
Joined: Thu Aug 19, 2010 10:28 am

Post by chris_pi »

Hello,
Six month later, I found a solution (in french): [1]
And the source of this blog (in english): [2]

This solution is for *.exe files, but it works also for *.doc, *.xls, etc. files.

It is wery easy. Edit the default launch command for wine

Code:
gksu gedit /usr/share/applications/wine.desktop

Change from

Code:
Exec=cautious-launcher %f wine start /unix

onto

Code:
Exec=wine start /unix %f

I hope this will help sombody.

--

[1] http://geekdefrance.fr/2010/12/28/autor ... mment-2433

[2] http://stream-recorder.com/forum/blocke ... t6560.html
Locked