ggolggoli / delaboratory

Automatically exported from code.google.com/p/delaboratory
GNU General Public License v3.0
0 stars 0 forks source link

Shellout.py doesn't work with delaboratory #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Gimp 2.7.3 x64 for win7/xp 
2. Use Shellout.py in the gimp plugin folder with   programlist = [
  ["Delaboratory", "\"C:\\Program Files\\Delaboratory\\delaboratory.exe\"", "jpg"], [...]
3. Launch delaboratory from shellout in Gimp

What is the expected output? What do you see instead?
I expected to see the "new from visible" Image, or the "current layer" to be 
load into delaboratory. I see the ShellOutTempFile.jpg in the gimprc defined 
temp folder. I can show it by different image viewer.

But delaboratory which is succeessfully launched by shellout.py, throws out an 
error (wxEidgets Debug Alert)
"./src/common/image.cpp(1634): assert "IsOk()" failed in GetWidth(): invalid 
image
Do youwant to stop the program?
You can also choose [Cancel] to suppress further warnings.
Yes No Cancel"

When pressing Cancel delaboratory appears and throws another Message:
"16:42:14: This is not a JPEG file.
16:42:14: Failed to load image from file "e:\temp\ShellOutTempFile.jpg".

Also if I try to load the JPEG file from open dialog from the temp folder I get 
that message. I'm not able to load that image into delaboratory, though it 
could be displayed fine by other programs and also the original file loaded by 
the gimp can be loaded by delaboratory.

What version of the product are you using? On what operating system?

I'm using Windows XP 64bit edition and delaboratory 0.3 64bit (but even the 0.2 
shows the same issue). 
http://code.google.com/p/delaboratory/downloads/detail?name=delaboratory-0.3-64b
it.exe&can=2&q=
gimp 64bit 2.7.3 http://partha.com/downloads/gimp-2.7.3-64bit.exe

Please provide any additional information below.

It's the same issue posted here:
http://gimpchat.com/viewtopic.php?f=22&t=1873#p24218

Original issue reported on code.google.com by gausslin...@gmail.com on 27 Aug 2011 at 2:57

Attachments:

GoogleCodeExporter commented 9 years ago
I used shellout.py from the zip archive posted inthe gimp plugin registry:
http://registry.gimp.org/node/24977

Original comment by gausslin...@gmail.com on 27 Aug 2011 at 3:00

GoogleCodeExporter commented 9 years ago
If  open "e:\temp\ShellOutTempFile.jpg" in Gimp and save it as 
ShellOutTempFile_Gimp.jpg, then I'm able to open it in delaboratory.exe.

Also I noticed an error when trying to open ShellOutTempFile.jpg in Photoshop.

Photoshop is not able to open that image too. Photoshop throws instead an error 
"unable to open file with unknown or corrupt marked JPEG header" or sth. 
similar.

Original comment by gausslin...@gmail.com on 27 Aug 2011 at 3:53

GoogleCodeExporter commented 9 years ago
I will try to work on it but I need to install and configure ShellOut for Linux 
first.
But I think the problem is that it uses some different kind of picture as 
output or delaboratory is incorrectly detecting its format.

Original comment by jacekpop...@gmail.com on 4 Sep 2011 at 1:23

GoogleCodeExporter commented 9 years ago
On SVN I fixed image loading, now it doesn't look at the file extension but 
tries to load tiff and jpeg every time, please check maybe that helps.

Original comment by jacekpop...@gmail.com on 10 Sep 2011 at 2:27

GoogleCodeExporter commented 9 years ago
should be fixed now, reopen in other case

Original comment by jacekpop...@gmail.com on 26 Oct 2011 at 2:54