УкраїнськаEnglishmRussian
Вход/Новый
В теме много сообщений

Webvision problem in Debian and Ubuntu


Автор Сообщение
Сообщение создано: 01. 08. 2009 [12:35]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 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.






Вложенный файл

webvision.jpg (Тип файла: image/jpeg, Размер: 108.05 килобайт) — 4075 загрузок
webvision2.jpg (Тип файла: image/jpeg, Размер: 78.98 килобайт) — 4101 загрузок
libraries.txt (Тип файла: text/plain, Размер: 2.28 килобайт) — 3932 загрузок
Сообщение создано: 01. 08. 2009 [12:45]
Aleksey
Aleksey Popkov
Contributor
Зарегистрирован(а) с: 31.07.2008
Сообщения: 326
Hi.
Download of OpenSCADA from svn co svn://oscada.org.ua/trunk/OpenSCADA and compil it's.


[Сообщение редактировалось 2 раз(а), в последний раз 01.08.2009 в 12:55.]
Вложенный файл

Сообщение создано: 01. 08. 2009 [13:06]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 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.



Сообщение создано: 01. 08. 2009 [13:10]
Aleksey
Aleksey Popkov
Contributor
Зарегистрирован(а) с: 31.07.2008
Сообщения: 326
I am compiled in Fedora 10, Fedora 11, AspLinux14 and working.
Hm........
icon_rolleyes.gif
Сообщение создано: 02. 08. 2009 [09:48]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3797
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.
Сообщение создано: 02. 08. 2009 [21:53]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 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.




Сообщение создано: 03. 08. 2009 [11:36]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3797
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.
Сообщение создано: 04. 08. 2009 [11:21]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 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.






Вложенный файл

oscada.jpg (Тип файла: image/jpeg, Размер: 180.93 килобайт) — 4152 загрузок
Сообщение создано: 04. 08. 2009 [11:55]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3797
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.
Сообщение создано: 04. 08. 2009 [20:33]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 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?






16600