You are here

Can't send a file to the program?

16 posts / 0 new
Last post
YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
Can't send a file to the program?

I use the portable on the computer, its quicker when reinstalling windows.

With FF2 i could call "FirefoxPortable.exe *somewebaddress*" and the page would load in an already running FF2 (I think i set AllowMultipleInstances=True in FirefoxPortable.ini)

However, this doesn't work with FF3 - instead I get presented with a dialog box saying "Firefox is already running, but is not responding. To open a new window, you must first close the exsisting Firefox process, or restart your system."

Any idea on how to get rid of that?

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
So if its a launcher problem,

So if its a launcher problem, where to suggest a fix for this?

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
When Firefox Portable 2

When Firefox Portable 2 running, and you did this from the command line:

FirefoxPortable.exe http://www.cnn.com

It would simply load cnn.com in a new tab.

When Firefox Portable 3 running, and you do this from the command line:

FirefoxPortable.exe http://www.cnn.com

You get that error message, not too nice.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
I just tested FirefoxPortable

I just tested FirefoxPortable 3.0, and it worked as expected

1) launched FFP3

2) in a Run command i launched [pathToFFP]\FirefoxPortable.exe http://www.google.com

3) repeat step 2

4) repeat step 3, but use http://www.cnn.com instead of google

All instances functioned as expected

The developer formerly known as ZGitRDun8705

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
Well as i just told you, it

Well as i just told you, it doesn't here.

Help!

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
After more closely reading

After more closely reading your error message, it has nothing to do with passing links or file names. It means that the firefox.exe process is not responding (it locked, it froze, etc..).

The developer formerly known as ZGitRDun8705

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
I am not blind. I can see

I am not blind. I can see what is written.

What is written is rubbish. It is not frozen, I can click on tabs, use them, drag an html document into the window without problem.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
ignore this

nevermind

The developer formerly known as ZGitRDun8705

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
After working on the ini

After working on the ini file, it MAY be that setting AllowMultipleInstances=False prevents the error...

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
Yes, setting AllowMultipleIns

Yes,

setting

AllowMultipleInstances=False

Will make it work, however i had set AllowMultipleInstances=True because I sometimes would like two instances (and Firefox Portable 2 didn't have that problem)

But I suppose i can live with that for now, so thanks for your time.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
ISSUE CONFIRMED

If AllowMultipleInstances=True is set, instead of passing the URL to the current open session, it attempts to open a new session, and causes the error message.

Removing the FirefoxPortable.ini, or changing the AllowMultipleInstances to false resulted in the expected behavior

The developer formerly known as ZGitRDun8705

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
So did Firefox Portable 2

So did Firefox Portable 2 behave incorrectly or does Firefox Portable 3?

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
FFP3

FFP3

The developer formerly known as ZGitRDun8705

YourNewFriend
Offline
Last seen: 15 years 9 months ago
Joined: 2007-12-30 15:37
Pity. I would have wished

Pity.

I would have wished for; if the program is called without an argument it starts a new instance otherwise it loads in the currently running. Oh well.

fxl
Offline
Last seen: 5 years 9 months ago
Joined: 2008-07-25 02:43
Pity. I would have wished

You're right. In fact, if you compare the portable version and the "normal" version, you can see that the portable doesn't accept most of command line arguments when the "normal" do. And arguments you need are -new-tab to open the url in a new tab, and -new-window to open the url in a new window. I've tried but I didn't find any solution to force the argument. Could be a parameter, a filter in a xul or js file... SO would have any idea or know how to correct this ? Thanks.

John T. Haller
John T. Haller's picture
Online
Last seen: 3 min 50 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
It does

It does. It works just fine passing a file into the already running instance. The only exception is if you use the AllowMultipleInstance switch, which is not really recommended or supported anyway (it's not fully portable). I have a possible fix for this that may get into the next release, but it's not a high priority.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments