Українська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 кілобайтів) — 3700 завантажень
webvision2.jpg (Тип файлу: image/jpeg, Розмір: 78.98 кілобайтів) — 3706 завантажень
libraries.txt (Тип файлу: text/plain, Розмір: 2.28 кілобайтів) — 3530 завантажень
Повідомлення створено: 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
Повідомлення: 3751
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
Повідомлення: 3751
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 кілобайтів) — 3742 завантажень
Повідомлення створено: 04. 08. 2009 [11:55]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3751
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?






11404