more G-Labs products

Author Topic: Add a new Program just brings up an old program?  (Read 4814 times)

February 28, 2016, 07:45:17 PM
Read 4814 times

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
Strange problem here.

I go to Programs | AddNewProgram and I type in the name of the program I want to create... call it "Panic"    and when the program editor comes up...  it is editing an existing program called "AllOfOn"

It seems impossible to create a blank new program.

Anyone see this before?

Thanks!!

February 29, 2016, 01:05:21 PM
Reply #1

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
I have created several programs.  Most recent a couple weeks ago and did not have this problem.  I am still on r505.

February 29, 2016, 02:39:27 PM
Reply #2

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
Thanks.  I am on 512 I guess...   maybe I'll try reinstalling it ?

February 29, 2016, 05:11:28 PM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I'm running r514 and when I add a new program, HG creates a new program PID 1000 called "test" as desired.  I then closed that program and could see it shown in the list.  I then created a new program called "test1" and HG brought up PID 1000 "test" for editing.  Dropping back to the list, I see both:  "test" PID 1000 and "test1" PID 1000.  If I attempt to edit "test1", HG will only allow access to "test".

This appears to be a bug.
« Last Edit: February 29, 2016, 05:13:09 PM by bkenobi »

February 29, 2016, 05:12:45 PM
Reply #4

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
Yep that sounds like what I am seeing.  Thanks for checking that!!  You are very helpful.

So what should I do to get it reported then?

February 29, 2016, 05:15:18 PM
Reply #5

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Add an issue to github with a description of the issue and how to recreate it.  Pointing to this thread wouldn't hurt either.

I haven't seen any posts from Gene in a while, so I'm not sure what's going on with development currently.  He could be on vacation or something.  Hope he's having fun!

March 02, 2016, 03:43:56 PM
Reply #6

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Would importing a blank C# program and editing it help here

March 02, 2016, 03:58:07 PM
Reply #7

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Importing programs does seem to work as restoring a backup image gives all desired programs.  Perhaps you could restore a blank one with the PID you want to use as a quick workaround until the bug is fixed?  I don't have a blank one currently, but if you stripped the code from a program and exported it, that would give the basic container.

March 03, 2016, 04:37:56 AM
Reply #8

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I just tried importing a program and it actually came in with a PID of 1000 so I'm not sure how to fix things other than manually editing the modules.xml file after creating the script and restarting HG afterwards.

March 03, 2016, 05:38:25 AM
Reply #9

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
I just entered this bug into github.  While there,  Bkenobi,  I saw your bug about HG activating too many X10 modules.  Is this still a problem?  I am seeing some strange X10 behavior in general, not exactly what you described but more like the opposite,,,   it SKIPS the activation of some modules in some cases...   

Anyhow-  just wondering if your issue has been fixed or not?


March 03, 2016, 04:17:36 PM
Reply #10

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
No that issue is still present.  I don't see it happen that often (2x in 2 weeks I think) so it's difficult to determine the cause.  If you hare having HG not activate modules correctly, I would lean towards power line noise/signal suckers rather than an HG issue.  Well, unless you can see in the log that HG is ignoring your command for some reason.  If HG says it sent a command and nothing happened, you need to follow the following guides:

http://jvde.us/x10_troubleshooting.htm
https://www.laser.com/dhouston/noise.html

March 05, 2016, 04:18:33 AM
Reply #11

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
This is a big downer...  so there is no way to create a new program easily now then huh?

March 05, 2016, 08:13:14 AM
Reply #12

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Yeah, that's how it looks.  The only thing I can suggest is trying a version older to see if it doesn't have the bug.

March 05, 2016, 01:30:48 PM
Reply #13

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
The change from r512 to r514 seems to have thrown up a few glitches ok. Has anyone sent Gene a PM to see if there's any feedback on these issues.

March 05, 2016, 03:40:08 PM
Reply #14

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
i have not but I did post a github bug on this one.