Author Topic: Generate payload xml file ... nothing happens  (Read 5765 times)

0 Members and 2 Guests are viewing this topic.

thumper702

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
    • View Profile
Generate payload xml file ... nothing happens
« on: November 28, 2014, 05:02:35 AM »
I am new to voxcommando, had have been through the wiki numerous times, watched the tutorial twice and have searched the forum. However I have not found a solution to my problem.

 I just bought VC 2 yesterday, installed it and selected vera plugin config upon installation I also allowed the program to bypass the firewall to allow it to communicate with other devices (i.e vera). I activated the software and have followed all the steps on the VC wiki where I named the vera device and searched for the IP address and have found it locally. I even clicked test and it displays test successful. but when I go to click the "gear icon" to generate payload xml file for the scenes and devices ... Nothing Happens... it states its scanning, but I have left it alone for 2-3 hours 'scanning' but nothing chances, no files are in the folder directory specified to the left of the gear icon that is used to generate payload xml files ...

Hardware:
Vox commando 2
Vera 3 running UI5 (due to stability with various plugins)
Windows 7 Ultimate
Net 4.0.3019

 steps so far:
- restart computer
- disable firewalls completely (temp.)
- double check ip address (it is correct)
- read wiki AGAIN
- watch tut. video AGAIN
- connect forum for help

Part Log:
Code: [Select]
11/28/14 1:50:30 AM 431 found dll: C:\Users\nick\AppData\Roaming\Local Libraries\Local Documents\VoxCommando\Plugins\xMySql\xMySql.dll
11/28/14 1:50:30 AM 431 Plugin not selected in options: xMySql
11/28/14 1:50:30 AM 431 found dll: C:\Users\nick\AppData\Roaming\Local Libraries\Local Documents\VoxCommando\Plugins\Xsql\Xsql.dll
11/28/14 1:50:30 AM 447 Plugin not selected in options: Xsql
11/28/14 1:50:30 AM 868 [plugin] http://192.168.1.112:3480/data_request?id=sdata
11/28/14 1:50:30 AM 946 [vcevent] Plugins.Busy.1

11/28/14 1:50:31 AM 55 [vcevent] Vera.Scanned.Error

11/28/14 1:50:31 AM 55 [plugin] Vera-Vera: Startup Scan:System.MissingMethodException: Method not found: 'Int32 System.Environment.get_CurrentManagedThreadId()'.
   at Newtonsoft.Json.Linq.JsonPath.FieldFilter.<ExecuteFilter>d__0..ctor(Int32 <>1__state)
   at Newtonsoft.Json.Linq.JsonPath.FieldFilter.ExecuteFilter(IEnumerable`1 current, Boolean errorWhenNoMatch)
   at Newtonsoft.Json.Linq.JsonPath.JPath.Evaluate(List`1 filters, JToken t, Boolean errorWhenNoMatch)
   at Newtonsoft.Json.Linq.JToken.SelectToken(String path, Boolean errorWhenNoMatch)
   at vcPlugin.Vera.scanDevices()
   at vcPlugin.Vera..ctor(VeraSettings settings, IPluginHost host, pluginOptions& options)
11/28/14 1:50:31 AM 55 [plugin] Vera-Vera: Can't start polling thread since there are no scanned devices!
11/28/14 1:50:31 AM 320 [vcevent] Plugins.Busy.0

11/28/14 1:50:31 AM 336 [vcevent] VC.Loaded

11/28/14 1:50:32 AM 147 [info] 7 of 7 groups already loaded

11/28/14 1:50:32 AM 147 Kinect object is null, using default input
11/28/14 1:50:32 AM 210 [vcevent] VC.On

11/28/14 1:50:33 AM 493 focused: VoxCommando
11/28/14 1:50:33 AM 493 [vcevent] focused.VoxCommando

« Last Edit: November 28, 2014, 01:27:57 PM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Generate payload xml file ... nothing happens
« Reply #1 on: November 28, 2014, 08:05:02 AM »
Please let us know the exact version number of VC that you are using so I can double check that there is no issue using the Vera plugin in that version.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Generate payload xml file ... nothing happens
« Reply #2 on: November 28, 2014, 08:50:19 AM »
You mentioned that you have .Net 4.0

The download page clearly states that .Net 4.5 is required for the more recent versions of VC.

If you don't have .Net 4.5 installed please install it and let us know if it makes any difference.

thumper702

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Generate payload xml file ... nothing happens
« Reply #3 on: November 28, 2014, 01:12:06 PM »
upon installation I was instructed to download Net 4.0.3019 specifically ... I will upgrade to Net 4.5 and report back.

From the Log I found I am using the following VC version
11/28/14 1:50:29 AM   183   Starting VoxCommando, version: 2.1.0.7

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Generate payload xml file ... nothing happens
« Reply #4 on: November 28, 2014, 01:26:24 PM »
upon installation I was instructed to download Net 4.0.3019 specifically ...

I don't really know what you mean by this.  It must be something that Windows is doing on its own because our installer doesn't check what version of .Net you have installed.

One of the annoying things about .Net is that 4.0 and 4.5 both start with 4.0.3019.

It is the part after 3019 that matters

thumper702

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Generate payload xml file ... nothing happens
« Reply #5 on: November 28, 2014, 01:40:21 PM »
Perhaps it is a windows issue looking for the appropriate Net framework to use.

 However once I updated to Net4.5 from the Microsoft website the payload generated quickly. Thank you for the prompt response.

 Also you noted that the plugin pages states you should have Net 4.5, I did not see that on any of the vera plugin pages in the wiki can you send me the link the the section that states Net 4.5 should be installed just in case I am missing any other essential items on my computer to have VC run properly

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Generate payload xml file ... nothing happens
« Reply #6 on: November 28, 2014, 01:46:06 PM »
Great to hear that it's working.

Here:
http://voxcommando.com/downloads.asp
(It is written in bold next to the download.)

However, I was not aware that it would even allow you to run VC without 4.5 installed (this is the annoying thing about 4.0 / 4.5 the fact that it is almost compatible but not quite makes it harder to recognize that this is the issue).

Now that I know I will see if there is a reliable way to detect that 4.5 is not installed and alert the user, so thanks for bringing this to my attention.  I hope that you have smoother sailing from now on!

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Generate payload xml file ... nothing happens
« Reply #7 on: November 28, 2014, 03:40:31 PM »
From the Log I found I am using the following VC version
11/28/14 1:50:29 AM   183   Starting VoxCommando, version: 2.1.0.7

For future reference, if you don't want to have to look in the log file, the version number is always visible in the main VC window in the bottom left-hand corner.

http://voxcommando.com/mediawiki/index.php?title=How_to_use_VoxCommando#Understanding_the_main_window_interface
« Last Edit: December 06, 2014, 10:12:21 AM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Generate payload xml file ... nothing happens
« Reply #8 on: November 28, 2014, 04:58:33 PM »
I've added the following code to VC which will hopefully solve the problem for others in the future.  I'm writing it here in case it helps someone else but also in case I need a reminder later...

Code: [Select]
if (Environment.Version.Major<4 || (Environment.Version.Major==4 && Environment.Version.MinorRevision<18000))
            {
                MessageBox.Show("VoxCommando requires .Net version 4.5 or higher","System Requirement",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            }