Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 22:21:00 +0000



[User Discussion] - SC 1277: Add Custom Study second time freezes SC

View Count: 1803

[2015-07-26 19:35:22]
bjohnson777 (Brett Johnson) - Posts: 284
I did the weekly upgrade check today and am at v1277.

If I go into Analysis / Studies and then "Add Custom Study" the first time it works fine. If I do a second "Add Custom Study" the second time, SC freezes. It doesn't matter if the study is mine or another in the list. I've never had that problem before.

The existing chartbook with all the studies loads fine.

For simplicity I opened a single intraday chart fresh with nothing else loaded. Adding the second custom study froze it, too.

I'm on Ubuntu 14.04 LTS and Wine 1.7.44. Both are current versions.
[2015-07-26 19:37:34]
bjohnson777 (Brett Johnson) - Posts: 284
Just noticed on my little CPU monitor applet that one of my cores is pegged. "top" shows SierraChart.exe eating it.

I'm about to head for bed, so my response will be slow.
[2015-07-26 20:06:37]
Sierra Chart Engineering - Posts: 104368
In the current version of Sierra Chart, beside the Analysis >> Studies >> Add Custom Study button there is a checkbox "Debug Log". Enable this.

Press the Add Custom Study button.

The necessary logging will be saved to a file in the Logs subfolder in the Sierra Chart folder with a filename format similar to this:
Message Log 2015-07-04 104051.log

Attach this file here and we will see what the problem is.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-07-27 15:28:48]
bjohnson777 (Brett Johnson) - Posts: 284
Attached. Thanks.
attachmentMessage Log 2015-07-27 102605.log - Attached On 2015-07-27 15:28:29 UTC - Size: 258.64 KB - 294 views
[2015-07-27 17:24:38]
Sierra Chart Engineering - Posts: 104368
This will be solved in the next release.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-07-27 17:39:16]
JRA - Posts: 97
I have the same problem from ther first time I installed the pre release of the new toolbar.
[2015-07-27 18:04:38]
Sierra Chart Engineering - Posts: 104368
Interesting that we are not able to duplicate this problem and do not know exactly why this happening . However, we do see something that is not right in a user contributed study that needs to be fixed.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-07-27 18:37:21]
bjohnson777 (Brett Johnson) - Posts: 284
What's the time table for the next version? Should I try a prerelease or just roll back for the time being? I'm not doing much today but am going to start learning for the advanced trailing stop tomorrow.

In my test I posted I just opened a single blank intraday chart and nothing else to keep it simple. I used the existing user RSI studies I've been curious to look at. The behavior was the same either with mine or others also not mentioned.

...so this something "not right", do my contributed studies also need a fix?

Do you guys have an ubuntu/wine install also for testing? Or just stick with windows?

Thanks
[2015-07-27 18:41:14]
Sierra Chart Engineering - Posts: 104368
The next version will be out this evening.

The problem was there was no return at the end of the sc.SetDefaults block in one of the study functions. But this normally should not be a problem.

All of our testing is done on Windows.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-07-27 18:42:00
[2015-07-28 12:08:00]
bjohnson777 (Brett Johnson) - Posts: 284
I did the upgrade to 1278 this morning.

Good news and bad news.

Good News: I can add multiple user studies to the list again.

Bad News: Some of those studies are causing long freezes, then SC will come back after a few minutes, I try to scroll the chart, the freeze happens again. My usual chart book is unusable at the moment. I'm going to try a rollback to 1269 in a few minutes. That one worked fine last week.

To simplify things, I've tracked down 2 user contributed studies that aren't mine. Steps to reproduce.
Open SC. In the empty window, File / New/Open Intraday Chart.
I've been using GBPUSD.scid for all my tests. Plain chart will load.
Analysis / Studies, turn on debug log.
Add Custom Study / User Contributed Studies
Select "RSI w/Trend".
Accept defaults.
Add Custom Study / User Contributed Studies
Select "RSI Bands"
Accept defaults.
OK back to chart.
Grab bottom horizontal scroll bar for chart.
Drag it back and forth several times. (sometimes less)
After that, the freezing happens.

Debug Log attached.

Thanks
attachmentMessage Log 2015-07-28 070437.log - Attached On 2015-07-28 12:06:47 UTC - Size: 287.6 KB - 318 views
[2015-07-28 12:16:01]
bjohnson777 (Brett Johnson) - Posts: 284
Ooops... forgot to add that if I scroll the plain chart by itself, no freezes happen. If I scroll the chart with only one of the above studies added, no freezes happen. If I scroll the chart with both studies, that's when the freezes happen.
[2015-07-28 18:09:38]
Sierra Chart Engineering - Posts: 104368
What you describe is a graphics issue. It is totally unrelated to the original issue described in this thread.

The debug log is not relevant in this kind of case at all.

We do not observe the problem. However the problem is that transparency is being used by one of those studies. Do not use transparency. Clearly Ubuntu 14.04 LTS and Wine 1.7.44 is having trouble with that. Refer to help topic 30.20:
https://www.sierrachart.com/index.php?page=doc/helpdetails30.html#h30.20
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-07-28 20:02:54]
bjohnson777 (Brett Johnson) - Posts: 284
No, not quite.

A graphics latency issue wouldn't hang for 3-5 minutes.

In 1269 my regular chart book works just fine.

In 1278 my regular chart book was unusable.

I rolled back to 1269 this morning so I could get some work done.

Something change in between.
[2015-07-28 21:45:44]
Sierra Chart Engineering - Posts: 104368
We are 100% convinced this is not an issue within Sierra Chart. Especially if you are using WINE?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-07-28 21:46:12
[2015-07-29 12:28:06]
bjohnson777 (Brett Johnson) - Posts: 284
Did you even bother to read what I wrote?

Did you happen to notice the version number in the title?

Put these 2 together and something happened between 1277 and 1278 for the second issue.

This is a simple problem to trace down. This is a simple problem to fix.

Nothing changed on my side.

There are currently 6 active versions of windoze: vista, 7, 8, 10, and servers 2003 and 2008.

Has the simple steps I've given been tested on each? Has a profiler been run to see if suddenly 1278 is using far more CPU resources than in 1277? I guarantee you that 99% of M$ users will not be running Task Manager or a CPU load applet to constantly monitor their system. Most don't care and don't want to care. To say that nobody else has noticed this on the first release day when nobody else has installed it yet is a false argument.

Did you stop and think that maybe there really is a problem with M$ versions that WINE caught early?

Did you stop and think that maybe this problem will only grow with time and cause dozens of wasted hours of troubleshooting to track down later?

I get that engineers don't like doing support. I used to do support for CheckPoint Firewall-1 many, many years ago. This is child's play compared to that. I know when I'm being brushed off. I know when I'm being given "we don't give a damn, go away" fake answers. Don't do that to me. I won't accept them. It just wastes both of our time and makes SC support look weak. I know y'all can do far better and have in the past.

SC calculates numbers and draws lines. It isn't a complex 3d rendering engine. It dosen't (or at least "shouldn't") be banging hardware in obscene ways. There's no reason why it shouldn't work under WINE... just like it's done in the past... the past being last week.

Up until this week, I didn't have any major issues with it... even compiling all the indicators I've posted... and that compiler is a 300meg install.

So I'm asking again, please check what happened between 1277 and 1278 that would cause a lock up with the simple steps to reproduce given above. There's only 2 days between their releases. It's not like there's a lot to look for.

Murphy's Law dictates that this problem will only become worse in the future. It may take a few weeks to a month, but it will rear it's ugly head again and waste a lot of time. These things never go away quietly. I know this from long personal experience.

If y'all need help setting up a linux VM with WINE installed, let me know. It's easy to do. Backing up and restoring it is even easier. Since y'all have a good clean installer with SC, that's just as easy.

...And for the record, I'm not using WINE because I'm a fanboy of it. I'm using it because linux/WINE is far more stable and consistent than a M$ OS would ever be. Windoze is a malware magnet with serious security issues that slowly self destructs over time. ANYONE who's done REAL support will know this.

So please try. I don't know the numbers, but I do know I'm not the only WINE user. We like the SC/WINE combo to hold us over until the real linux version gets released.
[2015-07-29 14:59:15]
User52989 - Posts: 42
Been a Sierra user for 6yrs, NEVER had a problem with it freezing up until past couple weeks when I click "add custom studies". NOTHING has been changed, no new scripts, .cpp files, etc. Obviously Sierra did something when doing an upgrade past ~1268 that is causing this issue for many people, but seem to be blaming the users.
[2015-07-29 15:36:53]
bjohnson777 (Brett Johnson) - Posts: 284
User52989: Thanks for the support. Good to know I'm not alone. Are you a linux/wine user also? Or regular windows?

If I get stuck on an old version, this really throws a wrench in my development plans.
[2015-07-29 15:39:19]
User52989 - Posts: 42
Windows7 via Parallels 10 on iMac 5K retina. Works well other than disconnects and now this freeze.
[2015-07-29 17:12:00]
ganz - Posts: 1048
bjohnson777

hey :)

1. wine is not 100% compatible to WinAPI/GDI/MSLibs
2. there are no chances for an app to be stable on Wine and on MS Win at the same time
3. there is no sign for a native linux SC version to be the reality in the nearest future. looks like SC Team is too weak for that
4. there are no stable GUI/libs for linux at this moment of time (qt4 and gtk2 are outdated)

so if you need winapp to use charts and mices - Win7/Srv2008R2 is a most stable setup for the nearest future

you just need to stop dreaming

imho :)
[2015-07-29 17:16:20]
Sierra Chart Engineering - Posts: 104368
The issue described at post #16 is completely different and unrelated to what is posted at #10, #11, #15. User52989, your problem with Sierra Chart freezing when you press the Add Custom Study button is not related to the most recent issue in this thread. Also the disconnect issue, you are having if you are using TransAct is an issue on the TransAct side.

Obviously Sierra did something when doing an upgrade past ~1268 that is causing this issue for many people, but seem to be blaming the users.
This issue has been going on longer than 1268 and we are not blaming users. We have been looking into it closely, and the issue is related to "User Contributed Studies" and gradually as we see problems we are correcting them in that file. You have a misunderstanding here. All of the problems with User Contributed Studies we think are fixed. Try the latest prerelease by selecting Help >> Download Prerelease. If you have a problem do not post in this thread but start a new thread and we will help you with that.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-07-29 17:23:42
[2015-07-29 17:22:27]
Sierra Chart Engineering - Posts: 104368
Did you even bother to read what I wrote?
Yes


Did you happen to notice the version number in the title?
Yes


This is a simple problem to trace down. This is a simple problem to fix.
Not if we cannot duplicate the problem and nothing has changed related to this and if it does not occur on Windows. We have also heard about this kind of problem on WINE relating to graphics. The last report may have involved using transparency. Did you try not using Transparent Draw Styles for the study that uses those.



Has the simple steps I've given been tested on each?
Yes.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-07-29 17:26:18]
Sierra Chart Engineering - Posts: 104368
Thank you for post #19, but in regards to:

3. there is no sign for a native linux SC version to be the reality in the nearest future. looks like SC Team is too weak for that
It is a major task. It is not a matter of us being too weak. And also this is a dangerous task that can have very serious consequences for users and also to this business if it is not done properly. If there are drastic changes, serious performance problems, and other issues it would be a disaster. It is not something we take lightly or are moving very fast towards. It is a very gradual process.

And we have been planning to make an announcement about this, that this is going to take longer and it should not be something that users are waiting around for because we do not want to make promises we cannot keep.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-07-29 17:27:43
[2015-07-29 17:34:35]
ganz - Posts: 1048
SC Support

Absolutely

When I said the Team is weak I meant you have no time and an ability to play games

linux is not ready for wide range of users at this moment of the time because of linux

with best regards
[2015-07-29 18:47:52]
bjohnson777 (Brett Johnson) - Posts: 284
Ganz: qt5 has been out awhile and is stable. wx and gtk are also stable. wx would be a cross platform option, gtk not so much (too many quirks I've heard between versions). qt5 is a good all round choice. It will support linux, mac, windoze, the bsd's, iphone, android, their tablets, and even blackberry. It's a far better choice than java. M$.net is an insult to real programmers. I do applaud the SC devs for not using either... and stating that on the home page.

It is possible and happens all the time that apps for windoze and WINE work perfectly fine at the same time. I'm fully aware WINE will never replace a full windoze install. In reality, I don't want it to. Many WINE compatibility problems can be traced to bloated and poorly written .net programs. My problem with SC is that last week I could run it just fine. This week I'm having serious problems. So what changed in the middle? If support is looking for a trigger action, IT'S RIGHT HERE! I don't know how to be any clearer.

I've been using linux as a user desktop for several years now... and for servers even longer than that. At that time I dumped the last of the winxp programs and moved the remaining winxp into a VM. Linux desktop is mature. It takes a little getting used to, but it isn't that bad. There are also several active variations to choose from to suit your particular needs. They range from very heavy to very light.
[2015-07-29 18:59:25]
ganz - Posts: 1048
bjohnson777

qt5 has been out awhile and is stable
nope. :)
it isn't. it has a lot of memory and performance issues.
that apps for windoze and WINE work perfectly fine at the same time.
wine is not 100% compatible to windoze.
this will be the reason to freeze/crash an app at any time.
period. :)

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account