Push to bzr causes Error 13 from Terminal or Bazaar Explorer. Why?

Asked by HX_unbanned

I am trying to push files to Launchpad.
I ,god damned, still have got no luck in this damned thing ...

So ...

I have read this tutorial: http://www.justuber.com/blog/2007/04/25/how-to-use-bazaar-and-launchpad-for-hosting-your-code/

Did all what is written there, but every time I try to push them to launchpad, I got these message(s):

Run command: bzr push sftp://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars --create-prefix --no-strict
bzr: ERROR: Permission denied: "/~localization-lv/LV-Lokalizacijas-Koka-Zars": [Errno 13] mkdir failed
Run command: bzr push sftp://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars --no-strict
bzr: ERROR: Permission denied: "/~localization-lv/LV-Lokalizacijas-Koka-Zars": [Errno 13] mkdir failed
Run command: bzr push bzr+shh://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars --no-strict
bzr: ERROR: Unsupported protocol for url "bzr+shh://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars"
Run command: bzr push bzr+ssh://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars --no-strict
bzr: ERROR: Permission denied: "~localization-lv/LV-Lokalizacijas-Koka-Zars/": : Cannot create branch at '/~localization-lv/LV-Lokalizacijas-Koka-Zars'
Run command: bzr push bzr+ssh://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars/ --no-strict
bzr: ERROR: Permission denied: "~localization-lv/LV-Lokalizacijas-Koka-Zars/": : Cannot create branch at '/~localization-lv/LV-Lokalizacijas-Koka-Zars'
Run command: bzr push sftp://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars --no-strict
bzr: ERROR: Permission denied: "/~localization-lv/LV-Lokalizacijas-Koka-Zars": [Errno 13] mkdir failed
Run command: bzr push sftp://<email address hidden>/~localization-lv/LV-Lokalizacijas-Koka-Zars --overwrite --no-strict
bzr: ERROR: Permission denied: "/~localization-lv/LV-Lokalizacijas-Koka-Zars": [Errno 13] mkdir failed

The same errors when I try to upload files to my personal branches ...

What da hell?

P.S. Also I still have no answer how to handle these PPAs ...

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Marius Kruger
Solved:
Last query:
Last reply:
Revision history for this message
Best Marius Kruger (amanica) said :
#1
Revision history for this message
Martin Pool (mbp) said :
#2

Hi there,

First off, you want to be using the bzr+ssh protocol, not sftp or bzr+shh.

Now as far as the actual path: the name of a branch on Launchpad has three parts:
1- the owner, which is a user or group, and you are a member of that group
2- the project - the one you're using there doesn't seem to exist yet - you need to create it through the web ui
3- the branch name - can be anything you want

Revision history for this message
Gordon Tyler (doxxx) said :
#3

Try this:

bzr lp-login linards-liepins
bzr push lp:~linards-liepins/localization-lv/LV-Lokalizacijas-Koka-Zars

The lp url format is lp:~user/project/branch for personal branches derived from an existing project.

Revision history for this message
HX_unbanned (linards-liepins) said :
#4

Okay, I will try, but this is the branch I want ti upload PO files into:

https://code.launchpad.net/~ubuntu-l10n-lv/localization-lv/LV-Lokalizacijas-Koda-Zars

And this is branch for PO I am currently translating:

https://launchpad.net/localization-lv/gnome-disk-utility

I will report tomorrow of results. Hope you wiill be able to assist then, too :)

Revision history for this message
HX_unbanned (linards-liepins) said :
#5

Thanks Marius Kruger, that solved my question.