It is currently Tue Dec 10, 2019 3:52 am


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: GNS3 v1.0 b2 .dmg does not work
PostPosted: Tue Sep 23, 2014 8:48 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Problem 1 (minor) - when the .dmg opens, there is no icon associated with the .app, so it makes it hard to see

Attachment:
gns3v1NoIcon.png
gns3v1NoIcon.png [ 22.78 KiB | Viewed 5230 times ]

Problem 2 (major) - it doesn't seem to have the right python stuff - here is the error log I got when I tried to open it. Note the last line:
Qt and/or PyQt is probably not installed correctly...

Note: I also renamed the app from GNS3.app to GNS3v1b2.app (and added an icon :))

If there is something else I should install, then let's document it here: http://members.gns3.net/software/

Quote:
2014/09/24 6:30:42.018 AM GNS3[92962]: GNS3 Error
2014/09/24 6:30:46.850 AM mdworker[92755]: Unable to talk to lsboxd
2014/09/24 6:30:48.267 AM GNS3[92962]: Traceback (most recent call last):
2014/09/24 6:30:48.267 AM GNS3[92962]: File "/Applications/GNS3v1b2.app/Contents/Resources/main.py", line 31, in <module>
2014/09/24 6:30:48.267 AM GNS3[92962]: from gns3.qt import QtCore, QtGui, DEFAULT_BINDING
2014/09/24 6:30:48.267 AM GNS3[92962]: File "gns3/qt.pyo", line 39, in <module>
2014/09/24 6:30:48.267 AM GNS3[92962]: File "PyQt4/QtCore.pyo", line 14, in <module>
2014/09/24 6:30:48.267 AM GNS3[92962]: File "PyQt4/QtCore.pyo", line 10, in __load
2014/09/24 6:30:48.267 AM GNS3[92962]: ImportError: dlopen(/Applications/GNS3v1b2.app/Contents/Resources/lib/python3.4/lib-dynload/PyQt4/QtCore.so, 2): Symbol not found: ___sincos_stret
2014/09/24 6:30:48.279 AM GNS3[92962]: Referenced from: /Applications/GNS3v1b2.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/4/QtCore
2014/09/24 6:30:48.279 AM GNS3[92962]: Expected in: /usr/lib/libSystem.B.dylib
2014/09/24 6:30:48.279 AM GNS3[92962]: in /Applications/GNS3v1b2.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/4/QtCore
2014/09/24 6:30:48.279 AM GNS3[92962]: During handling of the above exception, another exception occurred:
2014/09/24 6:30:48.280 AM GNS3[92962]: Traceback (most recent call last):
2014/09/24 6:30:48.280 AM GNS3[92962]: File "/Applications/GNS3v1b2.app/Contents/Resources/__boot__.py", line 351, in <module>
2014/09/24 6:30:48.280 AM GNS3[92962]: _run()
2014/09/24 6:30:48.389 AM GNS3[92962]: File "/Applications/GNS3v1b2.app/Contents/Resources/__boot__.py", line 336, in _run
2014/09/24 6:30:48.389 AM GNS3[92962]: exec(compile(source, path, 'exec'), globals(), globals())
2014/09/24 6:30:48.389 AM GNS3[92962]: File "/Applications/GNS3v1b2.app/Contents/Resources/main.py", line 33, in <module>
2014/09/24 6:30:48.389 AM GNS3[92962]: raise RuntimeError("Can't import Qt modules: Qt and/or PyQt is probably not installed correctly...")
2014/09/24 6:30:48.389 AM GNS3[92962]: RuntimeError: Can't import Qt modules: Qt and/or PyQt is probably not installed correctly...



_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: GNS3 v1.0 b2 .dmg does not work
PostPosted: Tue Sep 23, 2014 11:39 pm 
Offline

Joined: Fri May 13, 2011 10:35 pm
Posts: 83
Location: Seattle, WA (USA)
Chris:

What Mac OS X version are you using? I only test GNS3 1.0 releases on Mavericks (10.9) and Yosemite (10.10). I attempted to reproduce your bugs on a clean (base with only software and security updates; no dev tools) virtual image of Mavericks 10.9.5, but I didn't encounter your missing icon and runtime issues.

https://db.tt/s2y7SZhi
https://db.tt/4ZRAPUA6

_________________
http://binarynature.blogspot.com/search/label/GNS3


Top
 Profile  
 
 Post subject: Re: GNS3 v1.0 b2 .dmg does not work
PostPosted: Wed Sep 24, 2014 9:47 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Hmm. I tested on Mavericks - works OK there. My laptop is Mountain Lion - don't want to upgrade after I saw want Mavericks did to my Mac Mini (soooo much slower). [Waiting for Apple to bring out a new 17" laptop. Might be pushing up daisies first!!!]

So to answer the question: I had the problem on a Mountain Lion (10.8.5) PC

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: GNS3 v1.0 b2 .dmg does not work
PostPosted: Thu Sep 25, 2014 1:41 am 
Offline

Joined: Fri May 13, 2011 10:35 pm
Posts: 83
Location: Seattle, WA (USA)
Oh ... Apple and their breaking changes. :)

I settled on Mavericks as the baseline version because it will soon be the "N - 1" version when Yosemite gets released next month. Another major factor is the following when it comes to decide where resources should be focused:
Attachment:
macosx-market-share.png
macosx-market-share.png [ 124.25 KiB | Viewed 5178 times ]

_________________
http://binarynature.blogspot.com/search/label/GNS3


Top
 Profile  
 
 Post subject: Re: GNS3 v1.0 b2 .dmg does not work
PostPosted: Thu Sep 25, 2014 11:45 pm 
Offline

Joined: Fri May 13, 2011 10:35 pm
Posts: 83
Location: Seattle, WA (USA)
You can "roll your own" GNS3 1.x DMG/App if needed. This may work with previous versions all the way back to Tiger because of MacPorts support, but I only tested it with Mountain Lion. Just make sure you download and install the correct version of dev tools and MacPorts for your Mac OS X.

1. Download and install Xcode or Command Line Tools (OS X Mountain Lion) for Xcode from https://developer.apple.com.

2. Download and install MacPorts (https://www.macports.org/install.php) for OS X 10.8 Mountain Lion.

3. Get and install dependencies for GNS3 1.x. Run the following from the terminal:
Code:
sudo port -v install py34-pyqt4 py34-zmq py34-tornado py34-libcloud py34-requests py34-py2app py34-pip
sudo pip-3.4 install netifaces ws4py

4. Create working directory and change to it. Run the following from the terminal:
Code:
mkdir -p $HOME/Documents/gns3dev
cd $_

5. Download the new Mac GNS3 icon, Dynamips, and VPCS. Also set Dynamips and VPCS as executable. Run the following from the terminal:
Code:
curl -Lo gns3.icns https://googledrive.com/host/0BxzBtjy4gMd3SDZhb1d6R29lTE0
curl -Lo dynamips https://googledrive.com/host/0BxzBtjy4gMd3emYwSjJMa3RLQkE
curl -Lo vpcs https://googledrive.com/host/0BxzBtjy4gMd3ZDR6ZUpQNGpoNUU
chmod +x dynamips
chmod +x vpcs

6. Download the main setup.py file. Run the following from the terminal:
Code:
curl -Lo setup.py http://goo.gl/Zv0yTP

6a. (optional) Modify the VERSION variable value with a text editor. Run the following from the terminal to edit the file:
Code:
nano setup.py

Code:
...
VERSION = "1.1"
...

7. Create the qt.conf file. Run the following from the terminal:
Code:
printf '[Paths]\nPlugins = PlugIns\n' > qt.conf

8. Download and install a patched dependency for the install. Run the following from the terminal:
Code:
curl -L https://github.com/Julian/jsonschema/archive/master.zip | tar -x
cd jsonschema-master
sudo python3.4 setup.py install
cd ..

9. Download the latest GNS3 1.x release for both GUI and Server. For example for 1.1, you would run the following from the terminal:
Code:
curl -L https://github.com/GNS3/gns3-gui/archive/v1.1.tar.gz | tar -x
curl -L https://github.com/GNS3/gns3-server/archive/v1.1.tar.gz | tar -x

10. Rename the directories to map with setup.py. Run the following from the terminal:
Code:
mv gns3-gui-* gns3-gui-master
mv gns3-server-* gns3-server-master

11. Create the DMG file. Run the following from the terminal:
Code:
sudo python3.4 setup.py py2app

12. DMG file will be located in the dist directory.

_________________
http://binarynature.blogspot.com/search/label/GNS3


Last edited by mweisel on Mon Nov 03, 2014 5:47 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: GNS3 v1.0 b2 .dmg does not work
PostPosted: Fri Sep 26, 2014 12:31 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
Thanks!

But I think I'll just use my Mavericks PC. :)

I do most testing on Linux, but sometimes there's an OS X question so I fire up the OS X version

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: GNS3 v1.0 b2 .dmg does not work
PostPosted: Sat Sep 27, 2014 7:07 am 
Offline

Joined: Sun Feb 10, 2013 11:20 pm
Posts: 7
Out of interest, where did you find the instructions to create the DMG?




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO