Closed Bug 462561 Opened 16 years ago Closed 6 years ago

when I want to make an application it crashes and it gives an error (see details)

Categories

(Other Applications Graveyard :: XUL Explorer, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hotosega, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092521

[Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: chrome://explorer/content/tools/application-project.js :: anonymous :: line 69"  data: no]

Reproducible: Always

Steps to Reproduce:
1.
2.
3.


Expected Results:  
created a application base
Also happens on Linux
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
This happens because the template files used to generate the application are now in a JAR file but used to be flat files. I need to moved them back outside of the JAR.
(In reply to comment #2)
> This happens because the template files used to generate the application are
> now in a JAR file but used to be flat files. I need to moved them back outside
> of the JAR.
Can you fix it for the new release of XUL Explorer?
Can confirm bug is repeatable in XULExplorer 1.0a1pre
Going through the New Application wizard always results in error message shown above.

Platform:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092521

Is there a workaround?
I am using XULExplorer 1.0a1pre and the error comes when creating a new Extension:

[Exception... "Component returned failure code:0x8004002 (NS_NOINTERFACE)
[nsISupports.QueryInterface]" nsresult "0x8004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://explorer/content/tools/extension-project.js :: anonymous :: line 85" data: no]
Is it possible to unarchive the jars to get this working?  My problem is that I have yet to understand the proper directory structure for an app this complex.

If I knew where to put the unarchived files I would have a go at it.

OR, is it possible to workaround this issue by downloading directly from the SVN repository?

Anyway good work so far!!

-Dan
A quick fix to get this working on your local copy:

1) move to the xulexplorer/chrome/ directory
2) extract en-US/ directory structure from the en-US.jar file (using your favorite archive manager) to the chrome/ directory. (you should have an en-US/ directory in the chrome directory when finished extracting.)
3) edit the en-US.manifest file in the chrome/ directory to read: 
locale explorer en-US file:en-US/
I just extracted all the jars into folders with matching names. Changed the manifests to reference the folders instead of jar files.

Application and extension generation completed successfully. Haven't tested whether the skeletons are any good or not.

The modified version is on github if you want to grab it. https://github.com/matthewkastor/XULExplorer
XUL Explorer is a dead project. We are not going to fix these bugs.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.