Re: [Qgis-user] Issue with QGIS code responsabile of launching plugins and launching Python console

2015-06-17 Thread Tudorache, Marian
Hi again,
I have sent an email which was rejected because of the size. I removed the 
attachments and send it back.
Please let me know if you need that attachments.

Thank you,
Marian


From: Tudorache, Marian
Sent: June-17-15 1:38 PM
To: qgis-user@lists.osgeo.org
Cc: Dave Johansen (davejohan...@gmail.com); Kluew, Vlad
Subject: Issue with QGIS code responsabile of launching plugins and launching 
Python console

Hi everyone,


I just want to mention the community group that I had to do some changes to 5 
python scripts from QGIS.

Problem Definition:
When QGIS 2.8 Wien was launched on Red Hat 7 a Python Error popup window shows 
up.
I had attach the screenshot ErrorLaunch.png and Error.txt with the complete 
error message.
Hitting Close allows QGIS to start and it seems the main features of the 
application were affected except Python Console and Plugins.
When I tried to activate Python console I got another  error (see 
ErroLaunchPython.png). The same error was when I tried to launch any Plugin.


Initially I thought the issue is from an installation mistake but I was wrong. 
In reality was some problematic python code.

The script: ui_console_compile_apis.py had at the end an import statement like 
this: from Qsci.qscisciscintilla import QsciScintilla.

I checked with PyQt4 and I found that QsciScintilla is part of PyQt4.Qsci there 
is no qscisciscintilla class inside Qsci. So I replaced the importing statement 
with from PtQt4. Qsci import QsciScintilla.



The scripts: ui_DlgGetScriptsAndModels.py, ui_DlgHelpEdition.py, 
ui_DlgAlgorithmBase.py, ui_DlgResults.py had at the end an import statement 
like this: from QtWebKit.QtWebView import QWebView.

I checked with PyQt4 and I found that QWebView is part of PyQt4. QtWebKit. So I 
replaced the importing statement with PtQt4.QtWebKit import QWebView.



I recompiled those files and replace them in QGIS application and the errors 
were gone. Now I am able to use QGIS, Python and all plugins without any 
problem.



So I would like to advise me what is the procedure if I had to change QGIS 
source code.



NB.
The source that I used to install QGIS and I found those issues is: 
FEDORA-EPEL-2015-6639

qgis-2.8.2-1.el7https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6639/qgis-2.8.2-1.el7?_csrf_token=e4be1107678b48ddd258829378af126dc23700a0

Fedora EPEL 
7https://admin.fedoraproject.org/updates/EPEL-7?_csrf_token=e4be1107678b48ddd258829378af126dc23700a0

.














Thanks,

Marian














This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le pr?sent message ?lectronique et tout fichier qui peut y ?tre joint peuvent 
contenir des renseignements privil?gi?s ou confidentiels destin?s ? l'usage 
exclusif des personnes ou des organismes ? qui ils s'adressent. Si vous avez 
re?u ce message ?lectronique par erreur, veuillez en informer l'exp?diteur 
imm?diatement et supprimez le. Toute reproduction, divulgation ou distribution 
du pr?sent message ?lectronique est strictement interdite. NAV CANADA n'assume 
aucune responsabilit? en cas de dommage caus? par tout virus ou autre programme 
malveillant transmis par ce message ?lectronique.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS Composer: exported image doesn't have the world file

2015-06-17 Thread skampus
hi,
i see that the print composer doesn't allow to export the layout as an image
with its proper world file anymore.
i seem that previous versions had this possibility.

is this a regression?
do i have to open a ticket?

thank you and ciao

s.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-Composer-exported-image-doesn-t-have-the-world-file-tp5211511.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] From Raster to shapefile

2015-06-17 Thread skampus
hi marilena,
i'm sorry, but it's not so clear to me...
what do you mean?

do you want to create a new vector layer (shapefile) that contains some
points coming from image?

s.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/From-Raster-to-shapefile-tp5211195p5211512.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Styling of a composer table

2015-06-17 Thread Stott, James
Hi,

I must say I am very impressed with the improvements to the composer over the 
last few versions.

I was wondering whether is it possible to achieve two things:


1)  Alternating colours for the row backgrounds? I can only find an option 
to change the background colour of the entire table.

2)  The ability to group records in the table - so for example all records 
that have the same value in a column can have a thicker line around them, or 
have a small offset between these groups so it is obvious these records go 
together.

Any help would be appreciated.

Kind regards,

James
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user