Jump to content


Photo
- - - - -

Gen hanging


16 replies to this topic

#1 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 01 August 2006 - 12:04 PM

I think I've seen this before but can't remember what I did to fix it last time ...

When I gen a function it just sits there (I thought it was IDE at first ... sorry Rob ;-). There are no file locks on the bootstraps and the problem still occurs when I copy the function to a new name and gen that so it's definitely something in the function.

Any ideas?

Cheers

Mike

#2 Chris Mackenzie

Chris Mackenzie

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 368 posts
  • Gender:Male
  • Location:Bristol, United Kingdom

Posted 01 August 2006 - 12:09 PM

Assuming you have done the obvious file integrity and security checks,
you should remove parts of the function piece by piece until it will
gen - then check what you removed.

Stuff like invalid co-ordinates can cause this.
The content and views expressed in this message are those
of the poster and do not represent those of any organisation.

#3 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 01 August 2006 - 12:26 PM

Thanks Mike :eek:

Try the TRACEALL, and see what its really doing...

As Chris says, I think invalid window or paging screen sizes might cause that....

Rob.

#4 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 01 August 2006 - 01:01 PM

Yeah, I was hoping to avoid dissecting it ... ;-)

And it's only an update so no co-ordinates needed.

Oh well, on with the surgical gloves !!

#5 jasjac

jasjac

    Member

  • Members
  • PipPip
  • 25 posts
  • Gender:Male

Posted 01 August 2006 - 02:49 PM

We've had something like that before and it turned out to be a full stop '.' at the end of a logic line.

Had us baffled for ages !!

#6 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 02 August 2006 - 07:42 AM

That sounds familiar actually - think that might have been the problem last time I saw this.

I'll check it later.

Cheers

Mike

#7 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 02 August 2006 - 08:14 AM

We've had something like that before and it turned out to be a full stop '.' at the end of a logic line.

Had us baffled for ages !!

Hi Jasjac,

Dont suppose you have an example of that do you?

Or what kernel version / OS you were on.

It doesnt seem to do that for me, on HP Unix and 5.5 Proiv kernel.

So that I can figure out what the problem is, and then I can make a check in ProIV IDE to warn people about it.

Its this kind of thing that you can spend hours over trying to resolve, so a automatic check would be good...

Thanks,

Rob D.

#8 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 02 August 2006 - 12:59 PM

Hi Rob

I remember this one now. There was a . at the end of a line of logic. That's all. There must have been something specific about the logic line though as if I try that randomly now it actually gens (even though it's technically an invalid logic line !!)

My problem was the same but different:

I had the following code:

PIT_PINS_RBC_FILE_NAME = 'RBC. + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'


Obviously I'd missed a quote mark after RBC. but the gen doesn't pick it up as an error, it just hangs - presumably because the last character was a "."

#9 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 02 August 2006 - 01:01 PM

P.S. Thanks jasjac for pointing me in the right direction ;-)

#10 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 02 August 2006 - 01:05 PM

Hi Rob

I remember this one now. There was a . at the end of a line of logic. That's all. There must have been something specific about the logic line though as if I try that randomly now it actually gens (even though it's technically an invalid logic line !!)

My problem was the same but different:

I had the following code:

PIT_PINS_RBC_FILE_NAME = 'RBC. + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'


Obviously I'd missed a quote mark after RBC. but the gen doesn't pick it up as an error, it just hangs - presumably because the last character was a "."

Hmmm, strange....

Doesnt hang on our system, Proiv 5.5r345

Just says NO FILE DEFINITION FOR VARIABLE - .'

What version are you on?

Rob.

#11 Rob Donovan

Rob Donovan

    rob@proivrc.com

  • Admin
  • 1,640 posts
  • Gender:Male
  • Location:Spain

Posted 02 August 2006 - 01:06 PM

Since that line of logic is over 70/100 chars... how are you splitting it up in logic?

Maybe that has something to do with it...

Rob.

#12 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 02 August 2006 - 01:24 PM

We're on 5.5 r323,maybe it's been fixed since then

The logic was split over 3 lines - just put it into one for convenience. Don't think it should make a difference but it looks like this:

  
PIT_PINS_RBC_FILE_NAME = 'RBC.' + $CURR_SPONSOR + '.' + $SUBGROUP
                                         + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE
                                         + '.csv'

Obviously it's been fixed now ;-) but it looks the same otherwise.

#13 Mike Nicholson

Mike Nicholson

    Expert

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male
  • Location:Stockholm, Sweden

Posted 02 August 2006 - 01:25 PM

But there's something that would be nice to have in IDE - a logic validator.

Saves saving and genning the function when you know it's going to fail.

Cheers

Mike

#14 Rick Young

Rick Young

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Guelph, Canada

Posted 02 August 2006 - 03:03 PM

Hi Rob

I remember this one now. There was a . at the end of a line of logic. That's all. There must have been something specific about the logic line though as if I try that randomly now it actually gens (even though it's technically an invalid logic line !!)

My problem was the same but different:

I had the following code:

PIT_PINS_RBC_FILE_NAME = 'RBC. + $CURR_SPONSOR + '.' + $SUBGROUP + $BUY_SELL + $DOLLAR_UNIT + $SWEEP_DATE + '.csv'
   

Obviously I'd missed a quote mark after RBC. but the gen doesn't pick it up as an error, it just hangs - presumably because the last character was a "."

Hmmm, strange....

Doesnt hang on our system, Proiv 5.5r345

Just says NO FILE DEFINITION FOR VARIABLE - .'

What version are you on?

Rob.

HP-UX 11i 5.5r517 - same result as Rob got

-Rick

#15 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 414 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 03 August 2006 - 08:54 AM

But there's something that would be nice to have in IDE - a logic validator.

Saves saving and genning the function when you know it's going to fail.

Cheers

Mike

Something I wish VIP had. Especially when doing bulk file changes etc. Having to re-gen the function for every wrong logic ID can get very tiresome.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users