Comments (3)
this might be useful http://about.travis-ci.org/docs/user/gui-and-headless-browsers/
from shoes4.
We need to figure out how to use a headless display in travis.
SWT will fail if the window methods can't connect to a display device
Peter Fitzgibbons
(847) 859-9550
Email: [email protected]
IM GTalk: peter.fitzgibbons
IM AOL: [email protected]
On Fri, May 25, 2012 at 3:19 PM, Eric Watson <
[email protected]
wrote:
There are 24 failures, all with the same error. Here's an example:
Failures: 1) SwtShoes::App Shoes::App shell receives open Failure/Error: subject { Shoes::App.new } NativeException: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] # org.eclipse.swt.SWT:-1:in `error' # org.eclipse.swt.widgets.Display:-1:in `createDisplay' # org.eclipse.swt.widgets.Display:-1:in `create' # org.eclipse.swt.graphics.Device:-1:in `<init>' # org.eclipse.swt.widgets.Display:-1:in `<init>' # org.eclipse.swt.widgets.Display:-1:in `<init>' # sun/reflect/NativeConstructorAccessorImpl.java:-2:in `newInstance0' # sun/reflect/NativeConstructorAccessorImpl.java:57:in `newInstance' # sun/reflect/DelegatingConstructorAccessorImpl.java:45:in `newInstance' # java/lang/reflect/Constructor.java:532:in `newInstance' # org/jruby/javasupport/JavaConstructor.java:259:in `newInstanceDirect' # ./lib/swt_shoes/app.rb:13:in `gui_init' # ./lib/shoes/app.rb:39:in `initialize' # ./spec/swt_shoes/app_spec.rb:15:in `(root)' # org/jruby/RubyBasicObject.java:1730:in `instance_eval' # ./spec/swt_shoes/app_spec.rb:20:in `(root)' # org/jruby/RubyBasicObject.java:1730:in `instance_eval' # org/jruby/RubyArray.java:2331:in `collect' # org/jruby/RubyArray.java:2339:in `collect' # org/jruby/RubyArray.java:2331:in `collect' # org/jruby/RubyArray.java:2339:in `collect' # org/jruby/RubyArray.java:2331:in `collect' # org/jruby/RubyArray.java:2339:in `collect' # org/jruby/RubyArray.java:2331:in `collect' # org/jruby/RubyArray.java:2339:in `collect'
I think this might have to do with the TravisCI build VM not having
DISPLAY. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=119156#c1
Reply to this email directly or view it on GitHub:
#14
from shoes4.
Fixed by cd041ba
from shoes4.
Related Issues (20)
- Included files aren't found by the app HOT 2
- Poignant Guide / Nobody Knows Shoes link problem HOT 3
- bootup time of a simple app HOT 1
- No gems found matching '' HOT 2
- Using "link" breaks the app HOT 5
- Try out Travis Windows build environment?
- mac install error HOT 1
- package problem with music
- Need an Invite HOT 1
- Shoes overwrites the Windows environment variable HOT 3
- HiDPI Displays
- Image Clearing HOT 2
- nokogiri gem is unstable HOT 1
- Not able to drag windows? HOT 7
- No route to host on installing gem HOT 4
- Is this project dead? HOT 2
- Cannot install Ruby Shoes 4 HOT 14
- Comodos
- Roll Call - users / developers / "Is this thing on?" HOT 5
- Shoes joining forces with Glimmer? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shoes4.