Show Instance

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,194
Points
113
Is there any other method or there is a bug?
Because this method does not open instance.

C#:
ZennoPoster.ShowInstance(instance.Url, instance.Port, instance.Address);
 

VladZen

Administrator
Staff member
Joined
Nov 5, 2014
Messages
22,594
Reaction score
5,952
Points
113
Instance preview was re-worked in ZennoPoster 7.
Probably, this method does not work anymore.
 

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,194
Points
113
Instance preview was re-worked in ZennoPoster 7.
Probably, this method does not work anymore.
Please let me know if I can open instance from c#
 

VladZen

Administrator
Staff member
Joined
Nov 5, 2014
Messages
22,594
Reaction score
5,952
Points
113
Is there any other method or there is a bug?
Because this method does not open instance.

C#:
ZennoPoster.ShowInstance(instance.Url, instance.Port, instance.Address);
Developers said this method should still work.
 

VladZen

Administrator
Staff member
Joined
Nov 5, 2014
Messages
22,594
Reaction score
5,952
Points
113
I've also checked. It worked for me.
Here is the example.
 

Attachments

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,194
Points
113
I've also checked. It worked for me.
Here is the example.
There is something wrong with this file. I can't open it in PM.
When i open i see Loading project for 30 seconds and that's it.
No template gets opened.
 

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,194
Points
113
This is from logs nonCriticalErrors-ProjectMaker
Same issue from the server. So nothing about my connection.

Code:
[2025-02-28 19:22:58.1759]|1|UiThread|Connection to https://userarea.zennolab.com/TemplateService.asmx failed
System.Threading.Tasks.TaskCanceledException: A task was canceled.   
--------------------------------------------------------------------------------
[2025-02-28 19:22:58.1759]|1|UiThread|Urls: https://userarea.zennolab.com/; https://userarea-us.zennolab.com/; https://userarea-hk.zennolab.com/; https://userarea.zenno.io/
Used urls: Key: BasicHttpBinding_TemplateServiceSoap Values: https://userarea-hk.zennolab.com/; https://userarea.zennolab.com/

    
--------------------------------------------------------------------------------
[2025-02-28 19:23:18.1912]|1|UiThread|Connection to https://userarea-us.zennolab.com/TemplateService.asmx failed
System.Threading.Tasks.TaskCanceledException: A task was canceled.   
--------------------------------------------------------------------------------
[2025-02-28 19:23:18.1912]|1|UiThread|Urls: https://userarea.zennolab.com/; https://userarea-us.zennolab.com/; https://userarea-hk.zennolab.com/; https://userarea.zenno.io/
Used urls: Key: BasicHttpBinding_TemplateServiceSoap Values: https://userarea-hk.zennolab.com/; https://userarea.zennolab.com/; https://userarea-us.zennolab.com/

    
--------------------------------------------------------------------------------
[2025-02-28 19:23:41.9920]|1|UiThread|Server answer FAIL:No such user generates exception System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
   at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
   at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
   at System.Convert.FromBase64String(String s)
   at ZennoLab.TemplateManipulator.V4.ProjectAuthorV4.oeFgvlKzF5bRp4s60Xr8(Object )
   at ZennoLab.TemplateManipulator.V4.ProjectAuthorV4.LoadTemplate(Byte[] bytes, String signer, Boolean supressProjectMaker, Boolean isPublish)
    
--------------------------------------------------------------------------------
[2025-02-28 19:23:41.9920]|1|UiThread|Failed to open a file:The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
    
--------------------------------------------------------------------------------
[2025-02-28 19:23:42.4015]|117||CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetIgnoreNextApplyChanges(Boolean value, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)
CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetIgnoreNextApplyChanges(Boolean value, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)   
--------------------------------------------------------------------------------
[2025-02-28 19:23:42.4015]|97||CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetProjectId(String id, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)
CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetProjectId(String id, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)   
--------------------------------------------------------------------------------
[2025-02-28 19:23:42.5326]|97||CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetIgnoreNextApplyChanges(Boolean value, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)
CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetIgnoreNextApplyChanges(Boolean value, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)   
--------------------------------------------------------------------------------
[2025-02-28 19:23:42.5326]|117||CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetProjectId(String id, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)
CommandTransfer.Exceptions.DeprecatedInterfaceException: FindElementByIntelliSearch is deprecated.
   at CommandTransfer.MessagePerformer.InstanceSetProjectId(String id, Boolean& errorDetected)
   at CommandTransfer.MessagePerformer.MessagePerformerBeginInvoke(Message msg)   
--------------------------------------------------------------------------------
 

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,194
Points
113

VladZen

Administrator
Staff member
Joined
Nov 5, 2014
Messages
22,594
Reaction score
5,952
Points
113
@VladZen I tested your example. It is not showing instance. :(
Note that instance window is usually opened on backgroud.
You should put it to the front manually.
Test_show_instance.png
 

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)