virtual bricks wants launchpad ID or will not install.

Asked by TossedSalad 999 on 2011-08-21

user@user3-laptop:~$ sudo bzr branch lp:virtualbrick virtualbricks/
[sudo] password for user3:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: Target directory "virtualbricks/" already exists.

This install is for a home not a corporation. There is no bzr help
per se.

Question information

Language:
English Edit question
Status:
Solved
For:
Virtualbricks Edit question
Assignee:
No assignee Edit question
Last query:
2011-08-26
Last reply:
2012-07-21
Francesco Apollonio (lorddex) said : #1

On 21 August 2011 09:21, TossedSalad 999 <
<email address hidden>> wrote:

> New question #168704 on Virtualbricks:
> https://answers.launchpad.net/virtualbrick/+question/168704
>
> user@user3-laptop:~$ sudo bzr branch lp:virtualbrick virtualbricks/
> [sudo] password for user3:
>
> You have not informed bzr of your Launchpad ID, and you must do this to
> write to Launchpad or access private data. See "bzr help launchpad-login".
> bzr: ERROR: Target directory "virtualbricks/" already exists.
>
> This install is for a home not a corporation. There is no bzr help
> per se.
>

Delete the virtualbricks/ directory first:

sudo rm -r virtualbricks/
bzr branch lp:virtualbrick virtualbricks/

You shouldn't use sudo to download sources, you must use super user
privileges only to run ./install.sh

Francesco Apollonio (lorddex) said : #2

You don't need to inform bazaar of your Launchpad ID to download sources from a public branch. You need to do this operation only to write on a branch or to access a private one.
The problem is that the directory "virtualbricks" is still there and you have to delete it before downloading sources.
Do the commands that I wrote in the previous reply.

I'm waiting for your news.

Francesco

TossedSalad 999 (docrighter) said : #3

Hi
Back in user, virtual bricks screen comes up for about a second and dissappears.

It looks like this is a dirty install...during the directions you gave (above textpaste) where I wrote >downloading a few minutes>, that said "revisions and something about streams".

In the Applications/Internet menu, there is still the VirtualBricks place with icon, which was there prior to erasing the virtual bricks directory.
But as above, flashes and dissappears.

Looking in Synaptics Pkg Manager and also Software Center for it, it doesnt show up in either. I was going to tell it to completely remove and try again, but I do not find it listed as "installed" or even coming up by the name. I am new to linux.

I manually had downloaded python (+ dependencies), bzr, and virtual bricks (the stable version from your webpage, and then the dependencies thru ubuntu/packages/lucidlts (sp?), as I had not yet the internet connection in the linux partition working (via external drive on win7 side). (following the directions on each package manager about which wasnt yet satisfied, till I had all its parts assembled, and installed with no conflicts, in the order they needed to go in).

Should I leave the bzr and python stuff and manually delete in a terminal other virtualbricks parts? (I dont know the commands). ?

Please let me know and thank you for your promptness.

Francesco Apollonio (lorddex) said : #4

You can try to start 'virtualbricks' from terminal and write down what
appears on screen please, maybe we can understand the problem with that
informations.

To perform a complete uninstall of virtualbricks you need to launch as root
'./uninstall.sh' from the sources folder.

i'm waiting for virtualbricks messages

TossedSalad 999 (docrighter) said : #5

Hi thanks, I entered this a few hours ago and dont see it so am entering it again:

Traceback (most recent call last):
  File "/usr/bin/virtualbricks", line 23, in <module>
    from virtualbricks.gui import VBGUI
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/__init__.py", line 1, in <module>
    from .gui import VBGUI
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 35, in <module>
    from virtualbricks.brickfactory import BrickFactory, ValidName, VbShellCommand, RemoteHost
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/brickfactory.py", line 34, in <module>
    from virtualbricks.gui.graphics import *
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/graphics.py", line 23, in <module>
    import pygraphviz as pgv
ImportError: No module named pygraphviz

TossedSalad 999 (docrighter) said : #6

Installed missing pygraphviz from packages ubuntu lucid lts. Didnt correct problem.

Terminal now says for virtualbricks:
VdePlug support not found. I will disable native VDE python support.

(virtualbricks:2802): libglade-WARNING **: Error loading image: Failed to open file '/usr/share/virtualbricks/logo3-100.png': No such file or directory

(virtualbricks:2802): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `pixbuf'
/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py:53: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.gladefile = gtk.glade.XML('/usr/share/virtualbricks/virtualbricks.glade')

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'edit'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'info'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'remove'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'info'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'Add to My machines'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'stop job'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'continue job'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'reset job'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'kill job'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'attach device'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'detach device'

(virtualbricks:2802): libglade-WARNING **: could not look up stock id 'eject'
Traceback (most recent call last):
  File "/usr/bin/virtualbricks", line 42, in <module>
    VB = VBGUI()
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 57, in __init__
    self.widg = self.get_widgets(self.widgetnames())
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 921, in get_widgets
    r[i].hide()
AttributeError: 'NoneType' object has no attribute 'hide'

Will go and look again for something named VdePlug support. (?)

TossedSalad 999 (docrighter) said : #7

Found libvdeplug2-dev_2.2.3-3_amd64.deb and libvdeplug2_2.2.3-3_amd64.deb and installed them. Didnt change last terminal message pasted here 2nd time:

 VdePlug support not found. I will disable native VDE python support.

(virtualbricks:2939): libglade-WARNING **: Error loading image: Failed to open file '/usr/share/virtualbricks/logo3-100.png': No such file or directory

(virtualbricks:2939): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `pixbuf'
/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py:53: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.gladefile = gtk.glade.XML('/usr/share/virtualbricks/virtualbricks.glade')

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'edit'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'info'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'remove'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'info'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'Add to My machines'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'stop job'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'continue job'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'reset job'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'kill job'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'attach device'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'detach device'

(virtualbricks:2939): libglade-WARNING **: could not look up stock id 'eject'
Traceback (most recent call last):
  File "/usr/bin/virtualbricks", line 42, in <module>
    VB = VBGUI()
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 57, in __init__
    self.widg = self.get_widgets(self.widgetnames())
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 921, in get_widgets
    r[i].hide()
AttributeError: 'NoneType' object has no attribute 'hide'

TossedSalad 999 (docrighter) said : #8

Hello, thanks for your help.
Seeking to avoid the mess of messages above and their entanglement, I uninstalled per your directions above and re
downloaded the lastest virtualbricks with bug fixes from virtualbricks.eu.

Just to be sure its not a corrupted tar.bz2 etc that was downloaded the first time.

After following directions again on virtualbricks.eu page, to install,

This is still what its saying. All about GLAde, whatever that is.

user3@user3-laptop:~/Downloads$ tar xjvf virtualbricks-0.4.276.tar.bz2
tar: Record size = 8 blocks
virtualbricks-0.4.276/
virtualbricks-0.4.276/l10nextract.sh
virtualbricks-0.4.276/uninstall.sh
virtualbricks-0.4.276/main/
virtualbricks-0.4.276/main/virtualbricks
virtualbricks-0.4.276/share/
virtualbricks-0.4.276/share/virtualbricks.template.glade
virtualbricks-0.4.276/share/virtualbricks.png
virtualbricks-0.4.276/share/virtualbricks.desktop
virtualbricks-0.4.276/setup.py
virtualbricks-0.4.276/install.sh
virtualbricks-0.4.276/virtualbricks/
virtualbricks-0.4.276/virtualbricks/tools.py
virtualbricks-0.4.276/virtualbricks/errors.py
virtualbricks-0.4.276/virtualbricks/gui/
virtualbricks-0.4.276/virtualbricks/gui/__init__.py
virtualbricks-0.4.276/virtualbricks/gui/combo.py
virtualbricks-0.4.276/virtualbricks/gui/logger.py
virtualbricks-0.4.276/virtualbricks/gui/graphics.py
virtualbricks-0.4.276/virtualbricks/gui/gui.py
virtualbricks-0.4.276/virtualbricks/events.py
virtualbricks-0.4.276/virtualbricks/__init__.py
virtualbricks-0.4.276/virtualbricks/logger.py
virtualbricks-0.4.276/virtualbricks/settings.py
virtualbricks-0.4.276/virtualbricks/models.py
virtualbricks-0.4.276/virtualbricks/brickfactory.py
virtualbricks-0.4.276/images/
virtualbricks-0.4.276/images/Wirefilter.png
virtualbricks-0.4.276/images/Switch.png
virtualbricks-0.4.276/images/Event.png
virtualbricks-0.4.276/images/TunnelListen.png
virtualbricks-0.4.276/images/Tap.png
virtualbricks-0.4.276/images/Qemu.png
virtualbricks-0.4.276/images/Wire.png
virtualbricks-0.4.276/images/TunnelConnect.png
virtualbricks-0.4.276/locale/
virtualbricks-0.4.276/locale/virtualbricks/
virtualbricks-0.4.276/locale/virtualbricks/it.po
virtualbricks-0.4.276/locale/virtualbricks/nl.po
virtualbricks-0.4.276/locale/virtualbricks/virtualbricks.pot
user3@user3-laptop:~/Downloads$ sudo bzr branch lp:virtualbrick virtualbricks/
[sudo] password for user3:
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 313 revision(s).
user3-laptop:~/Downloads$ cd virtualbricks
user3-laptop:~/Downloads/virtualbricks$ sudo python setup.py install
sh: msgfmt: not found
sh: msgfmt: not found
sh: msgfmt: not found
sh: msgfmt: not found
sh: msgfmt: not found
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/tools.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/tcpserver.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/models.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/errors.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/logger.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/__init__.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/settings.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/brickfactory.py -> build/lib.linux-x86_64-2.6/virtualbricks
copying ./virtualbricks/tcpproto.py -> build/lib.linux-x86_64-2.6/virtualbricks
creating build/lib.linux-x86_64-2.6/virtualbricks/gui
copying ./virtualbricks/gui/graphics.py -> build/lib.linux-x86_64-2.6/virtualbricks/gui
copying ./virtualbricks/gui/logger.py -> build/lib.linux-x86_64-2.6/virtualbricks/gui
copying ./virtualbricks/gui/__init__.py -> build/lib.linux-x86_64-2.6/virtualbricks/gui
copying ./virtualbricks/gui/gui.py -> build/lib.linux-x86_64-2.6/virtualbricks/gui
copying ./virtualbricks/gui/combo.py -> build/lib.linux-x86_64-2.6/virtualbricks/gui
running install_lib
copying build/lib.linux-x86_64-2.6/virtualbricks/tools.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/tcpserver.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/models.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/errors.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/logger.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/__init__.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/settings.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/brickfactory.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/tcpproto.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks
copying build/lib.linux-x86_64-2.6/virtualbricks/gui/graphics.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks/gui
copying build/lib.linux-x86_64-2.6/virtualbricks/gui/logger.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks/gui
copying build/lib.linux-x86_64-2.6/virtualbricks/gui/__init__.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks/gui
copying build/lib.linux-x86_64-2.6/virtualbricks/gui/gui.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks/gui
copying build/lib.linux-x86_64-2.6/virtualbricks/gui/combo.py -> /usr/local/lib/python2.6/dist-packages/virtualbricks/gui
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/tools.py to tools.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/tcpserver.py to tcpserver.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/models.py to models.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/errors.py to errors.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/logger.py to logger.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/settings.py to settings.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/brickfactory.py to brickfactory.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/tcpproto.py to tcpproto.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/gui/graphics.py to graphics.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/gui/logger.py to logger.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/gui/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py to gui.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/virtualbricks/gui/combo.py to combo.pyc
running install_data
copying main/virtualbricks -> /usr/bin
error: can't copy 'share/virtualbricks.glade': doesn't exist or not a regular file

Thank you Francesco.

TossedSalad 999 (docrighter) said : #9

What am I possibly doing wrong?

TossedSalad 999 (docrighter) said : #10

tho vdeplug, glade package, pygraphviz installed, and virtualbricks uninstalled/reinstalled, calling it up in the terminal still saying:

user3@user3-laptop:~$ virtualbricks
VdePlug support not found. I will disable native VDE python support.

(virtualbricks:4213): libglade-WARNING **: Error loading image: Failed to open file '/usr/share/virtualbricks/logo3-100.png': No such file or directory

(virtualbricks:4213): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `pixbuf'
/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py:53: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.gladefile = gtk.glade.XML('/usr/share/virtualbricks/virtualbricks.glade')

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'edit'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'info'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'remove'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'info'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'Add to My machines'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'stop job'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'continue job'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'reset job'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'kill job'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'attach device'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'detach device'

(virtualbricks:4213): libglade-WARNING **: could not look up stock id 'eject'
Traceback (most recent call last):
  File "/usr/bin/virtualbricks", line 42, in <module>
    VB = VBGUI()
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 57, in __init__
    self.widg = self.get_widgets(self.widgetnames())
  File "/usr/local/lib/python2.6/dist-packages/virtualbricks/gui/gui.py", line 921, in get_widgets
    r[i].hide()
AttributeError: 'NoneType' object has no attribute 'hide'

TossedSalad 999 (docrighter) said : #11

The properties of the glade file in virtual bricks said up top, "this xml has no style info" and in the first 2 lines of script, document requires glade 2+ so downloaded it and one dependency needed from ubuntu packages. (done before above terminal check to see if fixed)

Francesco Apollonio (lorddex) said : #12

On 23 August 2011 03:15, TossedSalad 999
<email address hidden> wrote:
> (virtualbricks:4213): libglade-WARNING **: Error loading image: Failed
> to open file '/usr/share/virtualbricks/logo3-100.png': No such file or
> directory

First of all this file seems to not be installed well, but the setup
script should do it!
Try to copy it from the virtualbricks sources directory or try to
uninstall and reinstall it again.

cd virtualbrics/
sudo ./uninstall.sh
sudo ./install.sh -notest

After try again to launch `virtualbricks`

> libglade-WARNING **: could not look up stock id 'attach device'

These message show that there is also a problem with your gtk theme,
try to solve with /usr/share/virtualbricks/logo3-100.png and if you
have still problems you'll need to solve this problem too i will try
to find a solution..

Let me know.

TossedSalad 999 (docrighter) said : #13

Dear Francesco,
I updated gtk and glade both to make sure they arent missing anything. Still the icon for virtualbricks in menu Applications flashes on a terminal which then dissappears. I also installed some python additional things like bridges etc that were on upgrades menu and didnt help.

After finding the folder for virtualbricks in terminal,
and typing command sudo ./uninstall-sh
it says
.filesinstalled: no such file or directory

even tho Im looking at the kaboodle of folders for virtualbricks which are residing in /home/myuser/virtualbricks.

Is it because its not in bin like it should be? or installed wrong somehow? (This is where the terminal install put it). I am trying to uninstall it per your directions and it somehow isnt liking that command.

Thanks

Francesco Apollonio (lorddex) said : #14

On 26 August 2011 16:20, TossedSalad 999
<email address hidden> wrote:
> Question #168704 on Virtualbricks changed:
> https://answers.launchpad.net/virtualbrick/+question/168704
>
>    Status: Answered => Open
>
> TossedSalad 999 is still having a problem:
> Dear Francesco,
> I updated gtk and glade both to make sure they arent missing anything. Still the icon for virtualbricks in menu Applications flashes on a terminal which then dissappears. I also installed some python additional things like bridges etc that were on upgrades menu and didnt help.
>
> After finding the folder for virtualbricks in terminal,
> and typing command sudo ./uninstall-sh
> it says
> .filesinstalled: no such file or directory
>
> even tho Im looking at the kaboodle of folders for virtualbricks which
> are residing in /home/myuser/virtualbricks.
>
> Is it because its not in bin like it should be? or installed wrong
> somehow? (This is where the terminal install put it). I am trying to
> uninstall it per your directions and it somehow isnt liking that
> command.

Try only to reinstall it with
sudo ./install.sh -notest

Francesco

Just had the same problem. The fact is that 0.4 was installing the glade file in /usr/share/virtualbricks, and you probably still have that file. Try removing it and reinstalling.

kenorb (kenorb) said : #17

sh: msgfmt: not found
sh: msgfmt: not found
sh: msgfmt: not found
sh: msgfmt: not found
sh: msgfmt: not found

You have to install gettext.
Try: sudo apt-get install gettext