CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Modeling

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-25-2008, 10:35 PM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
convert.exe

I have a problem, when we use the "create_thumbnail" I receved the erron in the attachment (convert.exe). we use 15.50c version in xp SP2 and I am out of assistance.

thank you in advance
Attached Thumbnails
Click image for larger version

Name:	Immagine.JPG
Views:	417
Size:	83.9 KB
ID:	1232  
Attached Files
File Type: txt 9af4_appcompat.txt (159.9 KB, 518 views)
Reply With Quote
  #2  
Old 05-25-2008, 11:35 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: convert.exe

convert.exe converts image files between different file formats. Seems like it's crashing for this particular set of image data.

Does this happen for all your models, or just for one particular model? Does it happen for one particular view direction, or all directions?
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 05-26-2008, 01:14 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

for all models and directions,
I think that Modeling starts convert.exe in c:\windows\system32 and not the convert.exe in C:\Programmi\CoCreate\OneSpace Modeling 2007\binNT.

Why?
Reply With Quote
  #4  
Old 05-26-2008, 01:24 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: convert.exe

Can you please check the following registry keys and tell me which values you find there?

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #5  
Old 05-26-2008, 02:52 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun not available variable

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun no value.

we have 11 users but only 2 have the convert.exe problem. 1 from a month and 1 from friday.

thank in advance Clausb
Reply With Quote
  #6  
Old 05-26-2008, 03:10 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

new information:
if I start modeling without Annotation "create_thumbnail" is OK, if I start Annotation NOK.

I just erase my custom directory "c:\document & setting\user..... \OSD_Modeling\15.50" and disable sd_customize file.
Reply With Quote
  #7  
Old 05-26-2008, 06:30 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: convert.exe

Thanks for the additional test data!

It would be interesting to know what the current directory is after activating Anotation. Could you please try the following?
  • Start Modeling, activate Annotation
  • In the user input line, enter "pwd" (without the quotes)
  • This displays the current directory in the output box.

Thanks,

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #8  
Old 05-26-2008, 06:53 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

Cartella di lavoro corrente: "C:/temp/scambiopdm"

I can read/write in this directory
Reply With Quote
  #9  
Old 05-26-2008, 07:29 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: convert.exe

OK, next test: Run Modeling, activate Annotation. Open the console window (View/Console). In the user input line, enter
Code:
  (system "convert")
Now check for messages or other output in the console window. I'm hoping that this will tell us which convert.exe is actually called.

Thanks!

laus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #10  
Old 05-26-2008, 10:16 PM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

it's the convert in c:\...OnespaceModeling 2007....\binNT

Thank Clausb for your help.

...................................................

Version: @(#)ImageMagick 5.2.0 00/06/01 Q:8 cristy@mystic.es.dupont.com
Copyright: Copyright (C) 2000 ImageMagick Studio

Usage: convert [options ...] file [ files... ] output_file

Where options include:
-adjoin join images into a single multi-image file
-affine matrix drawing transform matrix
-antialias remove pixel-aliasing
-append append an image sequence
-average average an image sequence
-blur order apply a filter to blur the image
-border geometry surround image with a border of color
-bordercolor color border color
.....
.....................................
Reply With Quote
  #11  
Old 05-27-2008, 12:56 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: convert.exe

Oh well; I guess this is getting a little tricky now 8-(

From what you have found out, it seems likely that the right version of convert.exe is called, i.e. the one which we ship with CoCreate Modeling.

To prove this once and for all, you can try the following:
  • Download and run Process Explorer ( http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx )
  • Run Modeling, activate Annotation
  • Generate the thumbnail, wait until the message box appears which indicates the crash
  • Now switch to Process Explorer and look for convert.exe in the process list. Move the mouse cursor over the name part of the entry; this will display the full pathname of the process in a tooltip window.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #12  
Old 05-27-2008, 01:06 AM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: convert.exe

OK, next test: Run Modeling, Open the console window (View/Console). In the user input line, enter
Code:
(trace system)
create the thumbnail. Watch the console window (copy and paste to your next post here), The thumbnail is created, fine.

Now activate Annotation. And create the thumbnail and watch the console.. and copy.. the thumbnail is not fine in this case

what are the differences in the console window?
Reply With Quote
  #13  
Old 05-27-2008, 01:15 AM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: convert.exe

Quote:
Originally Posted by clausb View Post
From what you have found out, it seems likely that the right version of convert.exe is called, i.e. the one which we ship with CoCreate Modeling.
Susana, if you are running vista the same info is available in the task manager: go to the process TAB, select the convert.exe, rightmouse click -> Properties -> General tab -> location. That is the full path used for the executable of this process.

and some more job for you :

enter in Modeling command line (pprint (find-executable "convert")) What's shown in the console?

enter in Modeling command line (pprint "==") (system "echo %PATH%") (pprint "==") What's shown in the console?

Last edited by Wolfgang; 05-27-2008 at 01:55 AM. Reason: one more question added
Reply With Quote
  #14  
Old 05-27-2008, 03:39 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

Clausb:
I can't download Process Explorer because the firewall stop my computer. I will ask to the administrator the permission

Wolfgang:
the result of trace command is

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;without Annotation

Warning: SYSTEM is being redefined.
1> (SYSTEM "sdcat C:\\Temp\\329p57k22tmlm2t4088 2>C:\\Temp\\329p57k22tmlm304
088 > C:\\Temp\\329p57k22tmlm2q4088.ppm && del /F /Q C:\\Temp\\329p57k22tmlm2t4
088 && echo OK >>C:\\Temp\\329p57k22tmlm304088")
<1 (SYSTEM 0)
1> (SYSTEM "\"convert +dither +antialias +compress -quality 100 \"C:\\Temp\\32
9p57k22tmlm2q4088.ppm\" \"thumb.jpg\" 2>nul:\"")
<1 (SYSTEM 0)

;;with Annotation

1> (SYSTEM "sdcat C:\\Temp\\329p57k22tmmap74088 2>C:\\Temp\\329p57k22tmmapa4
088 > C:\\Temp\\329p57k22tmmap54088.ppm && del /F /Q C:\\Temp\\329p57k22tmmap74
088 && echo OK >>C:\\Temp\\329p57k22tmmapa4088")
<1 (SYSTEM 0)
1> (SYSTEM "\"convert +dither +antialias +compress -quality 100 \"C:\\Temp\\32
9p57k22tmmap54088.ppm\" \"thumb.jpg\" 2>nul:\"")
<1 (SYSTEM -1)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(pprint (find-executable "convert"))
in colsole
"C:\\Programmi\\CoCreate\\OneSpace Modeling 2007\\binNT/convert.exe"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(pprint "==") (system "echo %PATH%") (pprint "==")
in console
"=="
1> (SYSTEM "echo %PATH%")
C:\Programmi\CoCreate\OneSpace Modeling 2007\binNT;C:\Programmi\CoCreate\OneSpac
e Modeling 2007;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
ammi\File comuni\Roxio Shared\DLLShared\;C:\Programmi\File comuni\Roxio Shared\D
LLShared\;C:\Programmi\File comuni\Roxio Shared\9.0\DLLShared\
<1 (SYSTEM 0)

"=="
Reply With Quote
  #15  
Old 05-27-2008, 04:00 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: convert.exe

this is the result in the prompt windows
;;;

Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\ssusana>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\File comuni
\Roxio Shared\DLLShared\;C:\Programmi\File comuni\Roxio Shared\DLLShared\;C:\Pro
grammi\File comuni\Roxio Shared\9.0\DLLShared\

;;;

not the same like console windows in Modeling.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:20 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.