Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Linux build, packaging .crx requires an X display to be present #3

Closed
GoogleCodeExporter opened this issue Jun 30, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Yet another drawback of using the Chrome executable to package the 
speedtracer.crx is that on Linux, aside from having to specify chrome.path 
on the ant command line, you must have an X display running.  This is kind
of a pain in a continuous build environment (or like me building remotely)

build:
     [exec]
     [exec] (chrome:7433): Gtk-WARNING **: cannot open display:
     [exec] Result: 1

BUILD FAILED
/home/zundel/SpeedTracer/src/build.xml:40: The following error occurred 
while executing this line:
/home/zundel/SpeedTracer/src/client/build.xml:74: speedtracer.crx was not 
produced.


A workaround is to run Xvfb to create a virtual X display.

Original issue reported on code.google.com by zundel@google.com on 19 Dec 2009 at 1:46

@GoogleCodeExporter
Copy link
Author

We could also build the crx without using the Chrome executable. The format is 
pretty 
simple. I know thee are ruby & python scripts out there to do it already.

Original comment by knor...@google.com on 25 Jan 2010 at 3:59

@GoogleCodeExporter
Copy link
Author

Is this a closed issue?

Original comment by sarahgsm...@google.com on 4 Aug 2011 at 12:50

@GoogleCodeExporter
Copy link
Author

We worked through this in the continuous build machine.

Original comment by zundel@google.com on 4 Aug 2011 at 2:14

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant