Kupfer fails to launch chosen document or file

Asked by Thomas McNicholas

Kupfer generates a list of my files according to what I've typed but won't launch any of them.

I suspect that this fault is specific to Ubuntu Lucid because gnome-do has the same fault.

Question information

Language:
English Edit question
Status:
Solved
For:
kupfer Edit question
Assignee:
No assignee Edit question
Solved by:
X
Solved:
Last query:
Last reply:
Revision history for this message
X (u78qir8a9-deactivatedaccount) said :
#1

Please provide more information. For example, what is the output from kupfer (when started as kupfer --debug) when you try to open files or folders? Which filetypes succeed and which don't? And what is your Kupfer version.

Revision history for this message
Thomas McNicholas (thommcn) said :
#2

I'm a newbie for the most part, so I ran the command but where does Kupfer output the debug results. I only found the one debug file in /var/log but that looks to be my computer's boot log.

So far, Kupfer won't open pdf or openoffice documents. Kupfer v200 from this PPA.

Revision history for this message
Thomas McNicholas (thommcn) said :
#3

I ran that command in terminal and here is some of what is displayed.

D [kupfer.utils]:Launch commandline (in_terminal=False):'/home/thomas/Documents/Ubuntu.odt'
invalid file (bad magic number): Exec format error

Revision history for this message
X (u78qir8a9-deactivatedaccount) said :
#4

2010/6/17 Thomas McNicholas <email address hidden>:
> I ran that command in terminal and here is some of what is displayed.
>
> D [kupfer.utils]:Launch commandline (in_terminal=False):'/home/thomas/Documents/Ubuntu.odt'
> invalid file (bad magic number): Exec format error

It sounds like the file is marked executable, and by using the action
"Run (Execute)" in Kupfer you are trying to use the file as a program,
which of course won't work. Marking regular files executable is an
error, but of course it can happen. If you use the "Open" action on
these files it should be all right. I don't have any ideas for solving
the general problem right now -- I think kupfer must allow using any
file marked exectuable as an executable.

Revision history for this message
Thomas McNicholas (thommcn) said :
#5

Hi Ulrik,
Thanks for your help, I have found that either ubuntu or mint have marked all my files as executable. Now I need to find out how they were all marked executable and it does seem to have been done by the simple act of copying from my backup hard drive. I'll test kupfer later when I've fixed all my files.
Tom

Revision history for this message
X (u78qir8a9-deactivatedaccount) said :
#6

That may be so, because the common filesystem (V)FAT will mark all files as executable, because the filesystem has no provision for the distinction. I'm converting this bug into a question.

Revision history for this message
X (u78qir8a9-deactivatedaccount) said :
#7

.

Revision history for this message
Best X (u78qir8a9-deactivatedaccount) said :
#8

New Kupfer is better: It will not offer the "Run (Execute)" action for files that are "not supposed to" be executed.

Revision history for this message
Thomas McNicholas (thommcn) said :
#9

Hi Ulrik, Thanks for letting me know but I switched to KDE a year ago.