General Interface is an open source project hosted by the Dojo Foundation

Problems with GI Builder and IE

Problems with GI Builder and IE

Postby mongonv » Sat Jul 03, 2010 10:11 am

I have been having some issues with GI Builder for a while (over a year) and finally am submitting full info on it to see if anyone has a resolution to the issues.

1) When launching the GI_Builder.html with IE 7 or 8 I get one of two results, on my main dev station (IE 8) it gets to about 2/3 of the load progress bar and just hangs. This occurs for GI builder and if I try to launch an application from within the GI Builder HTA from the project menu.

If I launch the GI_Builder.html from a fresh gi install on another workstation (IE 7), version 3.9.1._r898, it brings up the builder window with the outer frame and buttons on the bottom bar and the "General Interface" name in the upper right, but no menus. I can use the show edit pane buttons on the bottom to enable the splitters for the edit area and palettes, but no way to get to a menu to load a project.

On both systems I can launch the application with Firefox and it works, except that I have to answer the security question twice on every load of the application, they never go away.

2) If I try to use the launcher that is created in a new project folder to launch the project in IE 7, it gets about 2/3 in the progress bar and also hangs. If I open the same file with FireFox 3.6.6 it opens properly.

3) Application Monitor under IE 7 & 8 both display the monitor window but no messages appear in the window. The same application under Firefox gets the messages displayed in the monitor window, so I know the configuration is correct.

I normally use the HTA for all my editing work, but not being able to use IE for testing from the base launcher.html is annoying as I have to create my own launcher code which does work. So there is something in the way things are configured in the generated launcher.html that is causing an issue on that.

If anyone has any ideas it would be greatly appreciated.
Thanks,
Ed
Attachments
IE Launch error.jpg
Error message in IE when launching a project from GI Builder HTA.
IE Launch error.jpg (54.13 KiB) Viewed 139 times
mongonv (Ed)
4-Stars
4-Stars
 
Posts: 103
Joined: Tue Jul 28, 2009 9:24 am
Location: Reno

Re: Problems with GI Builder and IE

Postby giUser1 » Wed Jul 14, 2010 9:39 am

Try to debug jsx3.app.Monitor.html for Application Monitor problem.

I had a similar problem for popup window, which came from jsx3.gui.window.html. During debug, I found 'objWindow' is null.

For the launch hangs at 2/3 of the progress bar, I met in Firefox rather in IE. It was because a bad config.xml, some components can't be loaded in Firefox.


giUser1
giUser1
2-Stars
2-Stars
 
Posts: 38
Joined: Mon Dec 14, 2009 11:08 am

Re: Problems with GI Builder and IE

Postby dhwang » Thu Jul 15, 2010 3:34 pm

Since you're running Builder in HTA, you may not have the advance security option "Allow active content to run from file on My computer" checked. Make sure you check that option in the Advance Tab of the Options dialog.
User avatar
dhwang (Darren Hwang)
GI Committer
GI Committer
 
Posts: 220
Joined: Thu Jun 04, 2009 10:09 am
Location: Palo Alto

Re: Problems with GI Builder and IE

Postby mongonv » Thu Jul 15, 2010 3:37 pm

That option is checked on my development station, so its not that item.

Any other thoughts?
mongonv (Ed)
4-Stars
4-Stars
 
Posts: 103
Joined: Tue Jul 28, 2009 9:24 am
Location: Reno

Re: Problems with GI Builder and IE

Postby dhwang » Fri Jul 16, 2010 5:06 pm

First the Firefox security prompt will go away if you disable the file url strict origin policy
see http://www.generalinterface.org/docs/display/DEVBLOG/2010/04/15/Stopping+the+repetitious+security+prompt+on+Firefox+GI+Builder

Some more thoughts, check if your security zone is "My computer" or "Internet" when running GI_Builder.html. You can tell by the computer vs globe icon on the browser's status bar

If you are in the "Internet zone" it means that your files are "Blocked" and are running in restricted security mode of Internet zone".

Right click your zip install package and select the "Properties" on the context menu.
In the Properties dialog, if you see the "Unblock" button it means that the file and its content will be restricted to Internet zone when run. If you don't see any such button, you're fine.
Click the "Unblock" button, then re-install by unzipping the files again.
User avatar
dhwang (Darren Hwang)
GI Committer
GI Committer
 
Posts: 220
Joined: Thu Jun 04, 2009 10:09 am
Location: Palo Alto

Re: Problems with GI Builder and IE

Postby giUser1 » Thu Sep 02, 2010 4:22 pm

Hi mongonv,

Recently, I met the similar problem of "about 2/3 of the load progress bar and just hangs". Hope my debug experience can help you.

The application loading process order is like, first load components and then load initial onload script and then paint the components.If any one of the 3 has problem then the load progress hangs and hard to debug.

To debug this failure, I set some break points in a proper entry point in my application(say in a .html file) and use F11/F10 until load JSX30 or other GI source code. Trace until the exception point. I find the hang happens in loading init_onload script part. Some timing issues happen while executing matrix row down/up whereas the matrix row was not being transformed from a XSL file.
giUser1
2-Stars
2-Stars
 
Posts: 38
Joined: Mon Dec 14, 2009 11:08 am


Return to GI Developers

Who is online

Users browsing this forum: No registered users and 1 guest

cron