Opened 14 years ago

Closed 14 years ago

#66 closed defect (fixed)

Commonist creates no Thumbnails

Reported by: Batchheizer Owned by:
Priority: major Milestone: RC
Component: general Version: 1.6.0-b19 Beta 2
Severity: Keywords:
Cc:

Description

the commonist is a simple upload client for mediawiki sites, primarily wikimedia commons

requirements
JDK 1.5.0 or newer

http://djini.de/software/commonist/

Used:
http://djini.de/software/commonist/commonist-0.4.26-bin.zip

Software runs fine, uploads files correct - but no thumbnails are created. Earlier version (see http://hobbes.nmsu.edu/download/pub/os2/apps/internet/www/util/Commonist332.wpi ) worked without this problem.

Reproduce:
Download app.
copy bat to cmd and modify
run cmd
browse to a dir with jpegs or so.
in the right part should apply the files - but no thumbnails appear.

Attachments (1)

CommonistThumbnailProblem.png (70.8 KB ) - added by Batchheizer 14 years ago.

Download all attachments as: .zip

Change History (3)

by Batchheizer, 14 years ago

comment:1 by dmik, 14 years ago

Milestone: GA

I confirm the problem. This is the exception:

INFO    FileCache.scala:59      deleting cached: D:\Users\dmik\.commonist\cache\6agc48sc5a9tmq
in filter and op is java.awt.image.AffineTransformOp@162ba99bufimage is BufferedImage@c8c7d6: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.IC
C_ColorSpace@18e609b transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1024 height = 768 #numDataElements 3 dataOff[0] = 2 and BufferedImage@1b7b
407: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@18e609b transparency = 1 has alpha = false isAlphaPre = false ByteInterleave
dRaster: width = 192 height = 144 #numDataElements 3 dataOff[0] = 2
INFO    Thumbnails.scala:44     cannot create thumbnail from X:\Photo\Unsorted\166)  «â © íªá¯¥¤¨è­ 07.10\P1010675.JPG
java.awt.image.ImagingOpException: Unable to transform src image
        at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:284)
        at commonist.thumb.Thumbnails.commonist$thumb$Thumbnails$$makeThumbnail(Thumbnails.scala:109)
        at commonist.thumb.Thumbnails$$anonfun$cachedThumbnail$2$$anonfun$1.apply(Thumbnails.scala:55)
        at commonist.thumb.Thumbnails$$anonfun$cachedThumbnail$2$$anonfun$1.apply(Thumbnails.scala:55)
        at scala.Option.map(Option.scala:129)
        at commonist.thumb.Thumbnails$$anonfun$cachedThumbnail$2.apply(Thumbnails.scala:55)
        at commonist.thumb.Thumbnails$$anonfun$cachedThumbnail$2.apply(Thumbnails.scala:53)
        at scala.Option.orElse(Option.scala:206)
        at commonist.thumb.Thumbnails.cachedThumbnail(Thumbnails.scala:53)
        at commonist.thumb.Thumbnails.thumbnail(Thumbnails.scala:41)
        at commonist.task.ChangeDirectoryTask$$anonfun$execute$2.apply(ChangeDirectoryTask.scala:52)
        at commonist.task.ChangeDirectoryTask$$anonfun$execute$2.apply(ChangeDirectoryTask.scala:44)
        at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
        at scala.collection.immutable.List.foreach(List.scala:45)
        at commonist.task.ChangeDirectoryTask.execute(ChangeDirectoryTask.scala:44)
        at commonist.Task.commonist$Task$$run(Task.scala:73)
        at commonist.Task$$anon$1.run(Task.scala:29)
        at java.lang.Thread.run(Thread.java:636)

Note that it's again java.awt.image.ImagingOpException. Probably, the same reason as for the one we get in JAlbum (see #58).

comment:2 by dmik, 14 years ago

Resolution: fixed
Status: newclosed

Works OK after resolving #58.

Note: See TracTickets for help on using tickets.