EnglishУкраїнськаmRussian
Login/New
Topic with many replies

Webvision problem in Debian and Ubuntu


| 1 | 2 | Last
Author Message
Written on: 01. 08. 2009 [12:35]
Unaie
Unai Ezta
Topic creator
registered since: 30.06.2009
Posts: 42
Hi. I've built Oscada, in Debian (lenny) and Ubuntu (Intrepid), both 0.6.3.3 and SVN version, and there is always a problem with some Trends in WebVision.

I attach two pics and a list of libraries I am using to build Oscada.

It looks like a problem in image PNG conversion to Web, because in the top it appears a little of de graph as you can see in pics.

What the problem could be?

Thx.






Attachment

webvision.jpg (File type: image/jpeg, Size: 108.05 kilobytes) — 3660 downloads
webvision2.jpg (File type: image/jpeg, Size: 78.98 kilobytes) — 3662 downloads
libraries.txt (File type: text/plain, Size: 2.28 kilobytes) — 3490 downloads
Written on: 01. 08. 2009 [12:45]
Aleksey
Aleksey Popkov
Contributor
registered since: 31.07.2008
Posts: 326
Hi.
Download of OpenSCADA from svn co svn://oscada.org.ua/trunk/OpenSCADA and compil it's.


[This article was edited 2 times, at last 01.08.2009 at 12:55.]
Attachment

Written on: 01. 08. 2009 [13:06]
Unaie
Unai Ezta
Topic creator
registered since: 30.06.2009
Posts: 42
Aleksey wrote:

Hi.
Download of OpenSCADA from svn co svn://oscada.org.ua/trunk/OpenSCADA and compil it's.



I am working with SVN version. Pics are from SVN version.
And I have the same problem with both, SVN version and 0.6.3.3.
And I've built and tested it in Debian Lenny and Ubuntu Intrepid, same problem in both.

However, there is Not problem with precompiled packages for Fedora 11, Trends are OK in Webvision.



Written on: 01. 08. 2009 [13:10]
Aleksey
Aleksey Popkov
Contributor
registered since: 31.07.2008
Posts: 326
I am compiled in Fedora 10, Fedora 11, AspLinux14 and working.
Hm........
icon_rolleyes.gif
Written on: 02. 08. 2009 [09:48]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
Unaie wrote:

It looks like a problem in image PNG conversion to Web, because in the top it appears a little of de graph as you can see in pics.

What the problem could be?

Maybe trend size is set to zero. And your started configuration is no Demo-DB and no data for trends present. On Opera all Web tested and work fine.

Learn, learn and learn better than work, work and work.
Written on: 02. 08. 2009 [21:53]
Unaie
Unai Ezta
Topic creator
registered since: 30.06.2009
Posts: 42
roman wrote:

Maybe trend size is set to zero. And your started configuration is no Demo-DB and no data for trends present. On Opera all Web tested and work fine.


Hi, Roman.

No, it is not a trend size issue, I can see trend OK in Operation user interface – QT, but at same time in Web is wrong. And yes, it is Demo-DB, and it is not a browser problem. (With Fedora 11 and precompiled packages all is OK, the problem is with Debian and Ubuntu, there is not precompiled packages and I use SVN or 0.6.33 to compile it).

If you see above the image "webvision.jpg", on top there is a bit of graph and it is moving left. It seems like an error in algorithm to convert images to webvision, perhaps a problem due to library versions or similar, but I don't know.




Written on: 03. 08. 2009 [11:36]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
Unaie wrote:

If you see above the image "webvision.jpg", on top there is a bit of graph and it is moving left. It seems like an error in algorithm to convert images to webvision, perhaps a problem due to library versions or similar, but I don't know.

From this image I see what you open not "Demo" project but "Template" project and model data broken and not present, see to F3 and P3 on top-left.

Possible you call several OpenSCADA process, one on daemon and second on graphical. Or installation is broken.

I made testing for English and Opera on Windows - All work fine.

Learn, learn and learn better than work, work and work.
Written on: 04. 08. 2009 [11:21]
Unaie
Unai Ezta
Topic creator
registered since: 30.06.2009
Posts: 42
roman wrote:

From this image I see what you open not "Demo" project but "Template" project and model data broken and not present, see to F3 and P3 on top-left.

Possible you call several OpenSCADA process, one on daemon and second on graphical. Or installation is broken.

I made testing for English and Opera on Windows - All work fine.


I send a new pic. Oscada SVN running on Linux Debian, it shows at same time operation user interface QT and Web (Firefox). You can see how in web trend only is visible upper graph, a bit.






Attachment

oscada.jpg (File type: image/jpeg, Size: 180.93 kilobytes) — 3695 downloads
Written on: 04. 08. 2009 [11:55]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
Please see to DOM-inspector for image parameter. I have not this problem anywhere.

LibGD2 which version?
Images is created by libgd. Into LibGD2 problem perhaps.


Learn, learn and learn better than work, work and work.
Written on: 04. 08. 2009 [20:33]
Unaie
Unai Ezta
Topic creator
registered since: 30.06.2009
Posts: 42
roman wrote:

Please see to DOM-inspector for image parameter. I have not this problem anywhere.


Image size is OK, but almost black.

[code]
http://localhost:10002/WebVision/ses_tmplSO/pg_so/pg_1/pg_mn/pg_1/wdg_diagTests/wdg_tr2?com=obj&tm=865&xSc=1.00&ySc=1.00
[/code]


LibGD2 which version?
Images is created by libgd. Into LibGD2 problem perhaps.



Curiously the graph on the left in the image is OK. What's the difference?

About versions...

Debian 5.0 Lenny and Ubuntu 8.10 Intrepid (problem) are using:

libgd-noxpm 2.0.36
qt4 4.4.3
fftw 3.1.2-3.1

Fedora 11 (no problem in it) is using:

gd 2.0.35
qt4 4.5.1-13
fftw 3.2.1-2

Perhaps changes in libgd last version 2.0.36?



| 1 | 2 | Last



1662