Closed Bug 432852 Opened 16 years ago Closed 16 years ago

Running application.ini for the first time without a profile causes a couldn't parse error.

Categories

(Toolkit Graveyard :: XULRunner, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 386826

People

(Reporter: jayden, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5
Build Identifier: 2008030609

I've created a very basic xul application and on first run with no profile I always get "Error: couldn't parse application.ini".  After that error it has created a Profile for the application and if I run it again it works fine.  If in the profile I delete the compatibility.ini file and run the application I get the same "Error: couldn't parse application.ini".  I have been running everything from my desktop so the paths in files have contained spaces but I've also tested running the application from different directory locations (ones without spaces) and still get the same results.  For myself the error the first time isn't a big deal but if I were to release the application I would prefer it to not blowup the first time it is run.

Reproducible: Always

Steps to Reproduce:
1. Run xulrunner application.ini
2. It will cause the error and partially create the profile folder named Test for the application.
3. Run the application again and it should work fine.
4. Delete the compatibility.ini file in the Test/Profiles/xxxxxx.default folder.
5. Run the application again and it should cause the same error.
Actual Results:  
It seems like the application it creating the profile and then something blows up which causes this error.

Expected Results:  
I would expect it to create the profile correctly first run and then load up fine.

I've tried to find something that could help me figure out the problem but I have been unsuccessful.

I created this application by reading http://developer.mozilla.org/en/docs/Getting_started_with_XULRunner so I don't think I have anything incorrect in my code.
This is probably bug 386826. Please confirm and mark the duplicate if so.
This does seem to be the same as bug 386826.  In my case I haven't installed my application into xulrunner.  I am just running it from the command line and have put the xulrunner folder into my env path in xp so calling it is easier.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: