You are here

AbiWord: open doc from command line

9 posts / 0 new
Last post
bosully
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-13 19:13
AbiWord: open doc from command line

E.G., AbiwordPortable.exe to-do.txt

using Vista SP1 with OneCare antivirus
AbiwordPortable.exe v2.4.6 on an old CD still opens and loads to-do.txt
AbiwordPortable.exe v2.6.2 will open without loading to-do.txt
Abiword.exe v2.6.2 also will open without loading to-do.txt

What did I overlook? (I tried DOS, batch, autohotkey.)

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 7 months ago
Joined: 2006-06-18 13:55
Since Abiword Portable 2.4.6

Since Abiword Portable 2.4.6 works

and

AbiwordPortable 2.6.2 does not
and Abiword 2.6.2 does not

My first guess would be that maybe something has changed in Abiword itself between 2.4.6 and 2.6.2

If this is the case it might be that you have not overlooked anything, Abiword is just behaving differently in the new version. If this is the case you might want to ask the creators of Abiword itself if they are aware of the change and if there is something they are willing to do about it in the next release.

Just a guess on my part.
Good question though, and Welcome to PortableApps.com
Smile
Tim
-
[edit: the replies below indicate that this is not the case, i.e. a change in Abiword]
-

Things have got to get better, they can't get worse, or can they?

bosully
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-13 19:13
isolate command-line problem?

I checked again with two files: a doc file (300KB) and the to-do.txt (67KB).
Abiword/AbiWordPortable v2.4.6 opened and loaded both files good and quick.
AbiWord v2.6.2 worked very slowly ... maybe one minute with OneCare checking.

AbiWordPortable v2.6.2 opened but failed to load, even after ten minutes.

A 1KB txt file works where both the 67KB and 300KB files fail.
Problem must be in either AbiWord, AbiWordPortable, OneCare, or Vista?
Isolation is way out of my league... Crashes for some reason though...

OliverK
OliverK's picture
Offline
Last seen: 3 years 5 months ago
Developer
Joined: 2007-03-27 15:21
quit that. No idea- aside

quit that.

No idea- aside from I think passing variables to the launcher doesn't open them like passing a variable to the program would.

Probably vista- I like to blame things on that os.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

bosully
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-13 19:13
Stir the pot...

Seems like Vista/OneCare has multi-speeds ... slow and never.
It seems to be the problem today.
AVG antivirus maybe a better deal.

For now:
Drag and Drop :: works sometimes, fails sometimes.
AbiwordPortable v2.4.6 :: works sometimes, fails sometimes.
AbiwordPortable v2.6.2 :: works sometimes, fails sometimes.

Display is a blank doc for the 360KB doc,
Display is p 1/23 for the simple 67KB to-do.txt.
Test files seem simple enough to me.

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 10 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Disable OneCare?

Does it work properly if you disable OneCare? I can't reproduce the problem with other antivirus enabled or with none. In each instance, AbiWord properly opens the file passed to AbiWordPortable.exe. I've heard that OneCare is pretty buggy and if it isn't passing the file off to AbiWord in time, it may not be able to open the file.

The AbiWordPortable.exe launcher passes any command line it receives off to AbiWord itself when it launches it. Perhaps OneCare's slowness is somehow interfering.

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

bosully
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-13 19:13
Testing this morning in Vista Safe & Standard Modes (txt and doc

The 360KB genealogy.doc file was created using Office 2007 SP1
... With six pages of headings, text, pics, graphs.
The 67KB to-do.txt contains check-sum strings and file names.
A batch file is used to test command-line access to AbiWordPortable.exe.
OneCare seems to drag the whole systems... AbiWordPortable.exe severe.

Safe-Mode
Drag and Drop works in ALL CASES ,,, 'yah'
Command line works for 67KB to-do.txt ,,, 'yah'
Command line fails to load 360KB genealogy.doc ,,, 'ugh'
---
Standard-Mode
Drag and Drop fails to load both files with OneCare v2.5 enabled ,,, 'ugh'
Command-line fails to load both files with OneCare v2.5 enabled ,,, 'ugh'
AbiWordPortable & AVG anti-virus work two weeks ago ,,, 'yah'
---
Question:
Could AbiWordPortable.exe be given more time to load files?

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 10 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Doesn't Load

AbiWordPortable.exe doesn't load the file. It doesn't even access it to ensure it's there. It just passes the command line off to AbiWord.exe. It sounds like OneCare is being really dumb and scanning based on the command line or some silly thing like that. I know of no other antivirus that has this issue and can imagine it would affect other apps as well.

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

bosully
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-13 19:13
MS Wordview with OneCare - results

MS Wordviewer 2003 fails to load my genealogy.doc, and displays a few suggestions.
Small txt file works still.

Log in or register to post comments