Git Product home page Git Product logo

clip.jar's People

Contributors

caiorss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

clip.jar's Issues

Requires sbt in $PATH

In the README it states that Java is the only dependency, however the project additionally requires SBT to build. You might consider the inclusion of sbt-launch.jar in this repo so the user does not have to install SBT.

P.S. Interesting use of Scala! I found this project via /r/emacs.

MultiResolutionCachedImage cannot be cast to java.awt.image.BufferedImage [osx]

> sbt
>> version
[info] 1.1.1
> sw_vers
ProductName:	 Mac OS X
ProductVersion: 10.11.6
BuildVersion:	15G1004

Image below copied to clipboard
image

> make test1
java -jar ./target/scala-2.11/Clip-assembly-1.1.1.jar --name clipboard
Exception in thread "main" java.lang.ClassCastException: sun.awt.image.MultiResolutionCachedImage cannot be cast to java.awt.image.BufferedImage
	at Clip$$anonfun$getImage$2.apply(Clip.scala:32)
	at Clip$$anonfun$getImage$2.apply(Clip.scala:32)
	at scala.Option.map(Option.scala:145)
	at Clip$.getImage(Clip.scala:32)
	at Clip$.saveClipboardImage(Clip.scala:37)
	at Clip$.main(Clip.scala:80)
	at Clip.main(Clip.scala)
make: *** [test1] Error 1
> make test2
java -jar ./target/scala-2.11/Clip-assembly-1.1.1.jar --uuid .
Exception in thread "main" java.lang.ClassCastException: sun.awt.image.MultiResolutionCachedImage cannot be cast to java.awt.image.BufferedImage
	at Clip$$anonfun$getImage$2.apply(Clip.scala:32)
	at Clip$$anonfun$getImage$2.apply(Clip.scala:32)
	at scala.Option.map(Option.scala:145)
	at Clip$.getImage(Clip.scala:32)
	at Clip$.saveClipboardImage(Clip.scala:37)
	at Clip$.saveClipboardImageUUID(Clip.scala:52)
	at Clip$.main(Clip.scala:79)
	at Clip.main(Clip.scala)
make: *** [test2] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.