Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]GNS3: ImportError: cannot import name QtSvg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
BuddenStrike
n00b
n00b


Joined: 05 Jan 2005
Posts: 16

PostPosted: Mon Dec 13, 2010 12:27 am    Post subject: [SOLVED]GNS3: ImportError: cannot import name QtSvg Reply with quote

Hi guys,
I've installed from sunrise overlay this app - GNS3. Does anyone has got the same error?

Code:

---------Traceback lines (saved in exception.log)----------
Traceback (most recent call last):

  File "/usr/bin/gns3", line 60, in <module>
    import GNS3.Main

  File "/usr/lib/python2.6/site-packages/GNS3/Main.py", line 25, in <module>
    from GNS3.Application import Application

  File "/usr/lib/python2.6/site-packages/GNS3/Application.py", line 28, in <module>
    from GNS3.Workspace import Workspace

  File "/usr/lib/python2.6/site-packages/GNS3/Workspace.py", line 23, in <module>
    import GNS3.NETFile as netfile

  File "/usr/lib/python2.6/site-packages/GNS3/NETFile.py", line 27, in <module>
    from GNS3.Globals.Symbols import SYMBOLS

  File "/usr/lib/python2.6/site-packages/GNS3/Globals/Symbols.py", line 22, in <module>
    from GNS3.Node.IOSRouter1700 import IOSRouter1700

  File "/usr/lib/python2.6/site-packages/GNS3/Node/IOSRouter1700.py", line 22, in <module>
    from GNS3.Node.IOSRouter import IOSRouter

  File "/usr/lib/python2.6/site-packages/GNS3/Node/IOSRouter.py", line 27, in <module>
    from PyQt4 import QtCore, QtGui,  QtSvg

ImportError: cannot import name QtSvg


Any solutions? :)

----------
Edit:

I've upgrade Pythona to 2.7.1 and PyQt4 to 4.8.1 and GNS3 already work!
cheers
Back to top
View user's profile Send private message
GrayTShirt
n00b
n00b


Joined: 17 Aug 2011
Posts: 4

PostPosted: Tue Oct 23, 2012 7:45 pm    Post subject: Reply with quote

you need to compile pyqt4 with svg support

Code:
 USE="svg" emerge dev-python/PyQt4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum