Welcome, Guest. Please Login or Register
Home Help Search Login Register
Pages: 1 2 3 
Send Topic Print
Win32 OLE Server (Read 27214 times)
keksonja
Ex Member


Win32 OLE Server
08/27/09 at 14:29:10
 
I am trying sIBL GUI Standalone with 3dsmax 2010 64 bit and I get this:

sIBL_GUI Error

Remote Connnection On Win32 OLE Server "MAX.Application' Failed!

How to I set this OLE Server?
Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #1 - 08/27/09 at 17:22:52
 
Mmmh Smiley Let me check, I need to dive into the sIBL_Framework thread, but the reply is in the thread Smiley

KS
Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #2 - 08/27/09 at 17:27:41
 
Check this post : http://www.hdrlabs.com/cgi-bin/forum/YaBB.pl?num=1219865135/40#40

and can you run sIBL_GUI in Debug Mode and try to check the output log so you have the exact message error ?

KS

Edit : Notice also that the Templates For 3dsmax are not working, they are proof of concept Dschaga did when I started sIBL_GUI one year ago, 3dsmax evolved and sIBL_GUI too, nobody reworked on them since their first Release.
Back to top
 
 
IP Logged
 
Dschaga
Ex Member


Re: Win32 OLE Server
Reply #3 - 09/01/09 at 12:47:57
 
i think it's time to work on a connection which is stable and will not change in future.


the script i wrote before was this one:
Code:
fn ExecuteLoaderScript obj = (
	    try(
		   execute obj
		   return true
	     )catch(
		   return false
		   )
	 )
	 registerOLEInterface #(ExecuteLoaderScript)
 



I think the Objectname is the critical factor - if the phyton script is sending the script with a different objectname (then "obj") to max  it will fail. (?)

don't know if it's that way, but before the sIBL framework don't work proper on max we don't have to think of more templates.

btw.. i want to suggest few changes to the framework too:
The renderer selection is somehow odd. Wouldn't it be better to have
1. Current software
2. Current Renderer
3. Current Template  (if there are more then one templates for one renderer)
Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #4 - 09/01/09 at 13:41:25
 
Quote:
i think it's time to work on a connection which is stable and will not change in future.


the script i wrote before was this one:
Code:
fn ExecuteLoaderScript obj = (
	    try(
		   execute obj
		   return true
	     )catch(
		   return false
		   )
	 )
	 registerOLEInterface #(ExecuteLoaderScript)
 



I think the Objectname is the critical factor - if the phyton script is sending the script with a different objectname (then "obj") to max  it will fail. (?)

don't know if it's that way, but before the sIBL framework don't work proper on max we don't have to think of more templates.


sIBL_Framework except for those Namespace Attributes thingy and the Dynamic Lights didn't changed. The remote connection should work.

Quote:
btw.. i want to suggest few changes to the framework too:
The renderer selection is somehow odd. Wouldn't it be better to have
1. Current software
2. Current Renderer
3. Current Template  (if there are more then one templates for one renderer)


Yes definitely, now we have a bunch of Templates that make sense ( though it will need to add a new Attributes to the Templates ) Smiley

KS
Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #5 - 09/01/09 at 13:53:41
 
sIBL_Framework didn't changed, but I checked and the object called in sIBL_GUI is  ExecuteSIBLLoaderScript not ExecuteLoaderScript :

Code:
 cConnection = win32com.client.Dispatch( sIBL_Parser.sIBL_GetExtraAttributeComponents( cRemoteConnectionAttributes["Remote Connection|TargetApplication"], "Value" ) )
cConnection._FlagAsMethod( "ExecuteSIBLLoaderScript" )
cConnectionCommand = sIBL_Parser.sIBL_GetExtraAttributeComponents( cRemoteConnectionAttributes["Remote Connection|ExecutionCommand"], "Value" ).replace( "$loaderScriptPath", cEnvVariable.replace( "\\", "/" ) + "/" + sIBL_Parser.sIBL_GetExtraAttributeComponents( cTemplateAttributes["Template|OutputScript"], "Value" ) )
cLogger.debug( "> Current Connection Command : '%s'.", cConnectionCommand )
cConnection.ExecuteSIBLLoaderScript( cConnectionCommand ) 



sIBL_GUI last developement Trunk is always available here :

http://github.com/KelSolaar/sIBL_Framework/tree/master

and the latest Branches ( if I'm not lazy) are always Refactoring and Templates.

Anyway I'll start looking at the Templates soon, to at least provide a working base.

KS
Back to top
 
 
IP Logged
 
keksonja
Ex Member


Re: Win32 OLE Server
Reply #6 - 09/05/09 at 04:15:09
 
I placed the new sIBL OLE_ExecutionCommand.ms in scripts/startup but still it gives me the same error.... in sIBL GUI 2.1.0

Remote Connection On Win32 OLE Server "Max.Application' Failed!

how do i run in debug mode to see what the problem is?
Back to top
 
 
IP Logged
 
keksonja
Ex Member


Re: Win32 OLE Server
Reply #7 - 09/05/09 at 04:52:19
 
INFO     : 'sIBL_GUI | Loader Script Output Done !'.
DEBUG    : ---<<< 'sIBL_GUI_Message Function' >>>---
DEBUG    : ---<<< 'sIBL_GUI.setLoaderScript Method' >>>---
INFO     : sIBL_GUI | Starting Remote Connection !
DEBUG    : --->>> 'sIBL_Parser.getSectionAttributes Method' <<<---
DEBUG    : > Current Section Attributes : '['Template|Release', 'Template|EMail', 'Template|Comment', 'Template|Author', 'Template|Version', 'Template|Software', 'Template|Url', 'Template|OutputScript', 'Template|Date']'.
DEBUG    : ---<<< 'sIBL_Parser.getSectionAttributes Method' >>>---
DEBUG    : --->>> 'sIBL_Parser.getSectionAttributes Method' <<<---
DEBUG    : > Current Section Attributes : '['Remote Connection|TargetApplication', 'Remote Connection|ConnectionType', 'Remote Connection|ExecutionCommand']'.
DEBUG    : ---<<< 'sIBL_Parser.getSectionAttributes Method' >>>---
DEBUG    : --->>> 'sIBL_GetExtraAttributeComponents Function' <<<---
DEBUG    : > Current Attribute Values : '@ConnectionType | Win32 | String'.
DEBUG    : > Current Seeked Key : 'Value'.
DEBUG    : > Current Key Value : 'Win32'.
DEBUG    : ---<<< 'sIBL_GetExtraAttributeComponents Function' >>>---
DEBUG    : --->>> 'sIBL_GetExtraAttributeComponents Function' <<<---
DEBUG    : > Current Attribute Values : '@TargetApplication | MAX.Application | String'.
DEBUG    : > Current Seeked Key : 'Value'.
DEBUG    : > Current Key Value : 'MAX.Application'.
DEBUG    : ---<<< 'sIBL_GetExtraAttributeComponents Function' >>>---
DEBUG    : --->>> 'sIBL_GetExtraAttributeComponents Function' <<<---
DEBUG    : > Current Attribute Values : '@TargetApplication | MAX.Application | String'.
DEBUG    : > Current Seeked Key : 'Value'.
DEBUG    : > Current Key Value : 'MAX.Application'.
DEBUG    : ---<<< 'sIBL_GetExtraAttributeComponents Function' >>>---
DEBUG    : --->>> 'sIBL_GUI_Message Function' <<<---
DEBUG    : > Launching sIBL_GUI_Message().
DEBUG    : > Message Type : 'Error'.
DEBUG    : > Title : 'Error'.
DEBUG    : > Message : 'Remote Connection On Win32 OLE Server 'MAX.Application' Failed !'.
ERROR    : 'sIBL_GUI | Remote Connection On Win32 OLE Server 'MAX.Application' Failed !'.
DEBUG    : ---<<< 'sIBL_GUI_Message Function' >>>---
Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #8 - 09/05/09 at 11:14:41
 
Hi Smiley

I'm not at home this weekend, so I can't really help, and my Mac got crappity smacked up by Snow Leopard, I can't build PyQt again, so sIBL_GUI doesn't compile anymore, and Eclipse ( my IDE ) has a lot of problems.

I'll need to format and reinstall all my crap Sad

KS
Back to top
 
 
IP Logged
 
keksonja
Ex Member


Re: Win32 OLE Server
Reply #9 - 09/05/09 at 14:11:42
 
so I should not attempt on installing snow on my box Smiley....

Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #10 - 09/25/09 at 20:42:53
 
Quote:
so I should not attempt on installing snow on my box Smiley....



Yeah Smiley Definitely wait 5 or 6 months they release a service pack Cheesy

KS
Back to top
 
 
IP Logged
 
El-d
YaBB Newbies
*
Offline


Curious Apprentice

Posts: 2
Re: Win32 OLE Server
Reply #11 - 10/06/09 at 11:55:04
 
Hi all,

I've only recently experimented with Sibl and was impressed. I haven't touched it for a month or so and came to play around with sibl / 3dsmax again. I dowloaded the latest version on request and now I receive the same win32 OLE error.

I've tried running the startup script as mentioned earlier in the thread with no success. Is there any further progress on this problem?
Is there any issues with having multiple max versions installed?

Also, I've noticed that when I select max template that the ip/port options dissappear. is this correct?

Cheers

El-d
Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #12 - 10/06/09 at 13:38:43
 
Hi Smiley

The latest 3dsmax Helper Script is available here :

http://kelsolaar.hdrlabs.com/?dir=./sIBL_Framework/3ds%20Max/Startup%20Script

Let me know if you have problems with it.

And for the Port / Adress Widget that disappear, it's a correct behavior, 3dsmax Connection is different and not Socket based Smiley

KS
Back to top
 
 
IP Logged
 
El-d
YaBB Newbies
*
Offline


Curious Apprentice

Posts: 2
Re: Win32 OLE Server
Reply #13 - 10/06/09 at 14:17:40
 
Thanks Kel but that is the script I've been using. Just downloaded again to confirm. Placed script in Script/startup directory.

I've tested with both 32 and 64bit max 2008 with the same error. I'm
using XP pro64 sp2 and have also tried on Vista 32.

Cheers

El-d


PS

Just thought I'd check the logs.

sIBL_gui.exe came up with this.
Traceback (most recent call last):
 File "sIBL_Common.pyc", line 121, in sIBL_Function_Call
 File "sIBL_GUI.py", line 1812, in Send_To_Software_pushButton_OnClicked
UnboundLocalError: local variable 'cError' referenced before assignment


The others look fine upto

INFO     : sIBL_GUI | Starting Remote Connection !
ERROR    : 'sIBL_GUI | Remote Connection On Win32 OLE Server 'MAX.Application' Failed !'.






Back to top
 
 
IP Logged
 
Kel Solaar
Moderator
*****
Offline


Curious Apprentice

Posts: 1117
Re: Win32 OLE Server
Reply #14 - 10/06/09 at 19:26:19
 
Hi o/

There is an error in the code for the 3dsmax connection, but I don't think that's what causing the connection failure ( the Error I speak about is coming after the connection failed ). I'll look into that issue !

KS





Back to top
 
 
IP Logged
 
Pages: 1 2 3 
Send Topic Print