Open with... does't work anymore

This forum is for general discussions about bugs. Actual bugs should be reported to the bug tracker to allow them to be properly processed and followed up.

Open with... does't work anymore

Postby Demion » Tue Nov 06, 2007 9:50 am

Hello,

since 8.0 final the "Open with..." actions doesn't work anymore!
Demion
 
Posts: 48
Joined: Thu Apr 19, 2007 3:34 pm
Location: Austria

Postby Nicolas » Tue Nov 06, 2007 10:15 am

It seems to work just fine on my computer. Could you give more information about your system (OS, Java version...), maybe show me the content of your commands.xml? That'd be very helpful in tracking down the problem.

Nicolas
User avatar
Nicolas
 
Posts: 831
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Postby Demion » Tue Nov 06, 2007 10:26 am

so this is my commands.xml

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<commands>
    <command alias="open"    type="system" value="cmd /c start &quot;&quot; &quot;$f&quot;"/>
    <command alias="openURL" type="system" value="cmd /c start &quot;&quot; &quot;$f&quot;"/>
    <command alias="openFM"  type="system" value="cmd /c start &quot;&quot; &quot;$f&quot;" display="Explorer"/>
    <command alias="openEXE" type="system" value="cmd /c $f"/>
    <command alias="uedit" value="C:\Program Files\IDM Computer Solutions\UltraEdit-32\uedit32.exe $f" display="UltraEdit" />
    <command alias="photoshop" value="C:\Program Files\Adobe\Adobe Photoshop CS\Photoshop.exe $f" display="Photoshop" />
    <command alias="illustrator" value="C:\Program Files\Adobe\Adobe Illustrator CS\Support Files\Contents\Windows\Illustrator.exe $f" display="Illustrator" />
    <command alias="iexplorer" value="c:\Program Files\Internet Explorer\iexplore.exe $f" display="Internet Explorer"/>
    <command alias="firefox" value="C:\Program Files\Mozilla Firefox\firefox.exe $f" display="Firefox"/>
</commands>


and i am using mC on Windows XP SP2 whit Java 1.6 Update 3
Demion
 
Posts: 48
Joined: Thu Apr 19, 2007 3:34 pm
Location: Austria

Postby Nicolas » Tue Nov 06, 2007 10:28 am

Right. And what do you mean when you say it doesn't work anymore? Are the items not appearing in the open with menu anymore, do you get an error message, is the command just not started.. ?

Nicolas
User avatar
Nicolas
 
Posts: 831
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Postby Demion » Tue Nov 06, 2007 10:32 am

I get all the Commands in the list but the command is not executed when i press on it! A colleague has the same problem with 8.0 final
Demion
 
Posts: 48
Joined: Thu Apr 19, 2007 3:34 pm
Location: Austria

Postby Nicolas » Tue Nov 06, 2007 11:14 am

Yeah ok, I think I know what's wrong.
0.8 final corrected an escaping bug in the command syntax, and this probably broke your command.xml file.

Can you try escaping you \ and space characters?
For example:
C:\Program Files\IDM Computer Solutions\UltraEdit-32\uedit32.exe $f
This should be written:
C:\\Program\ Files\\IDM\ Computer Solutions\\UltraEdit-32\uedit32.exe $f

I know this is cumbersome and unpleasant to write, but I'll hopefully have the time to write a UI frontend for this in the near future - current plans are to have that in 0.8.2, althought that might change.

Sorry for the hassle!

Oh, and also, if you're as keen on helping us as you seem to be, something you could that would be tremendous help is to grab the nightly build and test the hell out of it. We're freezing the code in the next few days and starting a bug hunt before releasing 0.8.1, and any bug report that comes in before then would help us make that release the best it can be.

Cheers,
Nicolas
User avatar
Nicolas
 
Posts: 831
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Postby Demion » Tue Nov 06, 2007 11:31 am

Thanks! Problem solved!

Yeah i'm gonna take some time for testing
Demion
 
Posts: 48
Joined: Thu Apr 19, 2007 3:34 pm
Location: Austria

Postby Nicolas » Tue Nov 06, 2007 11:48 am

Glad I could help :)

If you do manage to find the time to run some tests, could you do it on the nightly build? Quite a few (tiny) bugs have been corrected in there already.

You should be able to use the nightly build without any problem, at the moment, it's pretty much a 0.8.1 release candidate and the one that Maxence and I have been using on a daily basis for a while.

Cheers,
Nicolas
User avatar
Nicolas
 
Posts: 831
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Postby Thinkpositiv » Thu Nov 29, 2007 7:57 pm

Just FYI:
This post helped me out. I tried to get the "Open with..." menu to work and there have been some issues, described here. Hopefully they'll help you.

First of all, my Version 0.8.1 (on XP pro SP2 with Java 1.5.0_09-b03) does NOT create a commands.xml file in ~/.muCommander ! This is probably not wanted?
The files created after opening & closing muCommander are:
(Where ~ is my C:\Documents and Settings\username directory.)
    ~\.mucommander\themes\
    ~\.mucommander\action_keymap.xml
    ~\.mucommander\command_bar.xml
    ~\.mucommander\preferences.xml
    ~\.mucommander\shell_history.xml
    ~\.mucommander\toolbar.xml


Therefore I was very unsure about how to create the commands.xml file and if to include the "open/openURL" commands or not.
Here's what my commands.xml file now looks like (I just needed to escape the \s):
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<commands>
    <command alias="open"    type="system" value="cmd /c start &quot;&quot; &quot;$f&quot;"/>
    <command alias="openURL" type="system" value="cmd /c start &quot;&quot; &quot;$f&quot;"/>
    <command alias="openFM"  type="system" value="cmd /c start &quot;&quot; &quot;$f&quot;" display="Explorer"/>
    <command alias="openEXE" type="system" value="cmd /c $f"/>
    <command alias="notepad++" value="C:\\Program Files\\Notepad++\\notepad++.exe $f" display="Notepad++"/>
    <command alias="firefox" value="C:\\Program Files\\Mozilla Firefox\\firefox.exe $f" display="Firefox"/>
</commands>
Thinkpositiv
 
Posts: 9
Joined: Thu Nov 29, 2007 8:10 am

Re: Open with... does't work anymore

Postby plino » Thu Nov 13, 2008 7:19 pm

I'm using muCommander 0.8.4 (11/11 nightly) under Windows XP Pro SP3 and I have a similar problem. "Open with" does show up but it is inactive (grey)

Any suggestions?

Thank you!

(BTW, since this is my first post: Thank you very much to the dev team for creating and distributing freely this fantastic file manager!)
plino
 
Posts: 3
Joined: Thu Nov 13, 2008 7:13 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron