Kupfer fails to launch chosen document or file

Bug #595286 reported by Thomas McNicholas

This bug report was converted into a question: question #115052: Kupfer fails to launch chosen document or file.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kupfer
Invalid
Undecided
Unassigned

Bug Description

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.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

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) wrote :

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) wrote :

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) wrote : Re: [Bug 595286] Re: Kupfer fails to launch chosen document or file

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) wrote :

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) wrote :

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.

Changed in kupfer:
status: New → Invalid
Revision history for this message
Thomas McNicholas (thommcn) wrote :

Thanks Ulrik, Unmarking all my files as executable solved the problem, it will now open any of my documents.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.