Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366653 - Fresh orion 0.4.M1 only displays an empty welcome page
Summary: Fresh orion 0.4.M1 only displays an empty welcome page
Status: CLOSED DUPLICATE of bug 340509
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.4   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 20:30 EST by Kris De Volder CLA
Modified: 2011-12-15 11:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris De Volder CLA 2011-12-13 20:30:12 EST
I just downloaded Orion 0.4.M1 (actually also tried 0.3 but got the same result).

I tried to follow the instructions here:
http://wiki.eclipse.org/Orion/How_Tos/Install_Orion_on_Localhost

First of all in step 2: the instructions don't match the project layout.
Linux: Run eclipse/eclipse . 

There's no such executable. So I ran "eclipse/orion" instead. I figure that is what was meant.

Then I try to access the page at http://localhost:8080/ as per the instructions. But it only displays a blank welcome page (using Firefox:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24

Actually looking at "page source" I see there's something there:

---- 
<!DOCTYPE html>
<html style="height: 100%">
	<head>
		<title>Welcome to Orion</title>
		<link rel="stylesheet" type="text/css" href="index.css" />
    	<script type="text/javascript" src="requirejs/require.js"></script>
		<script type="text/javascript">
		require({
		  baseUrl: '',
		
		  // set the paths to our library packages
		  packages: [
		    {
		      name: 'dojo',
		      location: 'org.dojotoolkit/dojo',
		      main: 'lib/main-browser',
		      lib: '.'
		    },
		    {
		      name: 'dijit',
		      location: 'org.dojotoolkit/dijit',
		      main: 'lib/main',
		      lib: '.'
		    },
		    {
		      name: 'dojox',
		      location: 'org.dojotoolkit/dojox',
		      main: 'lib/main',
		      lib: '.'
		    }		    
		  ],
		  paths: {
			  text: 'requirejs/text',
			  i18n: 'requirejs/i18n'	    
		  }
		});
		
		require(["./built-index"]);
		</script>
</head>
	<body style="height: 100%; visibility:hidden" class="nihilo">

	
	<div dojoType="dijit.layout.BorderContainer" design="headline" gutters="false" style="background: #c5c5c5; width: 100%; height: 100%;">
		<div dojoType="dijit.layout.ContentPane" id="toolbar" region="top" class="toolbar">
		</div>
		<div dojoType="dijit.layout.BorderContainer" design="headline" persist="false" gutters="false" region="center" splitter="false">
			<!--<div dojoType="dijit.layout.ContentPane" id="feed" region="top" class="mainpane" style="height: 33%">
				<div dojoType="dojox.widget.FeedPortlet" title="Orion News" id="orionfeed" url="http://planetorion.org/news/feed/" maxResults="5" openNew="false" showFeedTitle="false">
				</div>		
			</div>-->
			<div dojoType="dijit.layout.BorderContainer" id="bottom" splitter="false" persist="false" gutters="false" region="center" class="landingPanelContainer">
				<div dojoType="dijit.layout.ContentPane" id="left" region="left" class="landingPanel" style="width: 33%">
					<div style="padding: 8px;">
						<h2 class="landingHeading">Navigator History</h2>

						<div id="recent">Go to the <a href="/navigate/table.html">Navigator</a> to create and view folders and files.
						</div>
					</div>
				</div>		
				<div dojoType="dijit.layout.ContentPane" id="right" region="center" class="landingPanel">
					<div style="padding: 8px;">
						<h2 class="landingHeading">Get Started</h2>
						<div id="tasks"></div>

					</div>
				</div>			

			</div>
		</div>
		<div class="footer" id="footer" dojoType="dijit.layout.ContentPane" region="bottom" splitter="false">
		</div>

	</div>
	</body>
</html>

But for some reason maybe this is just not rendering properly? 
I do see a bunch of warning errors in the Error Console in Firefox:

Copying a few of them here:

Warning: Expected declaration but found '*'.  Skipped to next declaration.
Source File: http://localhost:8080/index.css
Line: 24

Warning: Expected declaration but found '*'.  Skipped to next declaration.
Source File: http://localhost:8080/index.css
Line: 69

Warning: Expected declaration but found '#zoom'.  Skipped to next declaration.
Source File: http://localhost:8080/index.css
Line: 114

There are lots of these errors all very similar.
Comment 1 Kris De Volder CLA 2011-12-13 20:39:25 EST
I also found http://dev.eclipse.org/mhonarc/lists/orion-dev/msg01007.html

But unlike what the poster there reported, relogging / restarting my machine didn't fix the problem for me.
Comment 2 Kris De Volder CLA 2011-12-13 20:41:28 EST
I also have the same problem visiting this link

http://orionhub.org/
Comment 3 Kris De Volder CLA 2011-12-13 21:00:23 EST
Upgrading to a newer version of Firefox 8.0.1 solved the problem.

Should be noted however that that older version of Firefox is the default browser installed on Ubuntu 10.04 with all the latest security updates applied.

It would be nice if the Orion actually worked with the default browser. I also note that I haven't had any issues with other webapps (including exo cloud-ide).
Comment 4 Kris De Volder CLA 2011-12-13 21:01:50 EST
If anyone else having the same problem stumbles upon this bug report... this info may be useful:

http://www.upubuntu.com/2011/11/how-to-install-firefox-8-on-ubuntu.html
Comment 5 John Arthorne CLA 2011-12-15 11:00:37 EST
Hi Kris, thanks for the bug report. Sorry your first experience was so poor!

> There's no such executable. So I ran "eclipse/orion" instead. I figure that is
> what was meant.

Yes this is what it should read. I have updated the wiki.

> Then I try to access the page at http://localhost:8080/ as per the
> instructions. But it only displays a blank welcome page (using Firefox:
> 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111107
> Ubuntu/10.04 (lucid) Firefox/3.6.24

You need a modern browser, such as Firefox 7 or Chrome/Chromium 12 or greater. I have added this information to that wiki page as well. We really should have a better error message for this situation, which is tracked in bug 340509.

*** This bug has been marked as a duplicate of bug 340509 ***