kicad-install.sh doesn't work for me

Bug #1293837 reported by Ansible
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

first, it requires:

1) a launchpad account
2) creating an ssh key
3) registering the ssh public key on the launchpad account
3) ??? something to do with a working tree, error is below.

This seems like an excessive set of requirements, just to download and install some software. Isn't there some way to allow anonymous users to download the code with bzr?

./kicad-install.sh --install-or-update
step 1) installing pre-requisites
[sudo] password for bburdette:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
libbz2-dev is already the newest version.
bzr is already the newest version.
bzrtools is already the newest version.
libcairo2-dev is already the newest version.
cmake is already the newest version.
cmake-curses-gui is already the newest version.
debhelper is already the newest version.
doxygen is already the newest version.
libglew-dev is already the newest version.
grep is already the newest version.
libssl-dev is already the newest version.
libwxgtk2.8-dev is already the newest version.
python-wxgtk2.8 is already the newest version.
The following packages were automatically installed and are no longer required:
  kicad-common libmozjs17d libopts25 ntp xulrunner-17.0 zlib-bin
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
B <bburdette@parvis>
step 2) make /home/bburdette/kicad_sources if it does not exist
step 3) checking out the source code from launchpad repo...
Tree is up to date at revision 4752 of branch http://bazaar.launchpad.net/~kicad-product-committers/kicad/product
 local source working tree updated.
bzr: ERROR: No WorkingTree exists for "file:///home/bburdette/kicad_sources/kicad-lib.bzr/.bzr/checkout/".
bburdette@parvis:~/Downloads/kicad$

Revision history for this message
Nick Østergaard (nickoe) wrote :

Well it does not require 1) nor 2) nor 3), but that 4) I have not seen before.

Did you modify the script in any way? See https://bugs.launchpad.net/kicad/+bug/1248627

That should solve it, I just tested it (the last patch) on an ubuntu 13.10, where bzr whoami and bzr lp-login fails, that is they are not defined.

Revision history for this message
jean-pierre charras (jp-charras) wrote :

try this script:
kicad-install-no_launchpad_account.sh
from
http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/files/head:/scripts/

It should works (I hope) and does not need a bazaar account -just needs bzr installed).

Let me know.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Ansible (bburdette) wrote :

thx guys!

Nick: I didn't modify the script. I got error messages until I did steps 1 2 and 3. My distro is debian stable, maybe that explains the difference.

jean-pierre: ok I already downloaded the 'stable' source separately from the kicad-install.sh and got it to compile and install.

Later today I'll give the kicad-install-no_launchpad_account.sh a try from a blank-slate ubuntu install I have at home, and post the result.

Revision history for this message
Nick Østergaard (nickoe) wrote :

Hello Jean

Your modified script, still assumes that there is a bzr whoami set, I think that should be fixed to make a proper install script.

Revision history for this message
Nick Østergaard (nickoe) wrote :

Adding export BZR_EMAIL="Kicad Build <email address hidden>" after the repos, seems to work. I will attach a patch after I tested it.

Revision history for this message
Nick Østergaard (nickoe) wrote :
Changed in kicad:
status: Incomplete → Fix Committed
Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.