Svn install

87 views
Skip to first unread message

Franz

unread,
Sep 24, 2015, 5:26:19 AM9/24/15
to jBrout
Hello,

I need help intalling jbrout svn on Ubuntu 15.04.

I installed subversion +  python-lxml python-imaging jhead exiftran + python-pyexiv2

I can't launch it :

fran@Frasubuntu:~/⁠jbrout$ python jbrout.py
Traceback (most recent call last):
  File "jbrout.py", line 37, in <module>
    from libs.gladeapp import GladeApp
  File "/⁠home/⁠fran/⁠jbrout/⁠libs/⁠gladeapp.py", line 66, in <module>
    import gtk.glade
ImportError: No module named glade

I installed glade but it did not help...

Could someone help?


Thanks


François

Francois Chartier

unread,
Sep 24, 2015, 5:50:51 AM9/24/15
to jbr...@googlegroups.com

Is there still a working svn server with jbrout ?

The repo is now a git one. Check:

https://code.google.com/p/jbrout/source/checkout
(But the project is marked as archived)

Or the fork in gitlab:
https://gitlab.com/jbrout/jbrout

As for the dependency, I guess you're missing python-glade2 (you can see the full list somewhere in the file dist/build.py)

Best regards
François

--
You received this message because you are subscribed to the Google Groups "jBrout" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbrout+un...@googlegroups.com.
To post to this group, send email to jbr...@googlegroups.com.
Visit this group at http://groups.google.com/group/jbrout.
For more options, visit https://groups.google.com/d/optout.

Franz

unread,
Sep 24, 2015, 6:21:50 AM9/24/15
to jBrout
Thanks it works with pyhton-glade2

I installed with this svn
http://jbrout.googlecode.com/svn/trunk/jbrout jbrout

I'm at revision 379 is that the last one?

If not, would be interesting to have a procedure for installing git.

I'm still a big fan of jbrout !

Have a nice day all jbrout users


Le jeudi 24 septembre 2015 11:50:51 UTC+2, chartier...@gmail.com a écrit :

Is there still a working svn server with jbrout ?

The repo is now a git one. Check:

https://code.google.com/p/jbrout/source/checkout
(But the project is marked as archived)

Or the fork in gitlab:
https://gitlab.com/jbrout/jbrout

As for the dependency, I guess you're missing python-glade2 (you can see the full list somewhere in the file dist/build.py)

Best regards
François

Le 24 sept. 2015 11:26, "Franz" <frh...@gmail.com> a écrit :
Hello,

I need help intalling jbrout svn on Ubuntu 15.04.

I installed subversion +  python-lxml python-imaging jhead exiftran + python-pyexiv2

I can't launch it :

fr...@Frasubuntu:~/⁠jbrout$ python jbrout.py

Traceback (most recent call last):
  File "jbrout.py", line 37, in <module>
    from libs.gladeapp import GladeApp
  File "/⁠home/⁠fran/⁠jbrout/⁠libs/⁠gladeapp.py", line 66, in <module>
    import gtk.glade
ImportError: No module named glade

I installed glade but it did not help...

Could someone help?


Thanks


François

Matěj Cepl

unread,
Sep 24, 2015, 12:53:45 PM9/24/15
to jbr...@googlegroups.com
On 2015-09-24, 10:21 GMT, Franz wrote:
> I installed with this svn
> http://jbrout.googlecode.com/svn/trunk/jbrout jbrout
>
> I'm at revision 379 is that the last one?

No, it isn't there are three more commits in
https://gitlab.com/jbrout/jbrout/commits/master

> If not, would be interesting to have a procedure for installing git.

http://git-scm.com/ and particularly
http://git-scm.com/book/en/v2 is really good.

Don’t hesistate to ask for more help if needed!

Best,

Matěj

--
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
on Nobel Prize awards for year 2001

Message has been deleted

Franz

unread,
Sep 25, 2015, 9:37:45 AM9/25/15
to jBrout
Thanks,

I could'nt make it :

I installed git

sudo apt-get install git

then

git init

and then

but i got an error :

Cloning into 'master'...
fatal: https://gitlab.com/jbrout/jbrout/commits/master/info/refs not valid: is this a git repository?

Francois Chartier

unread,
Sep 25, 2015, 9:39:08 AM9/25/15
to jbr...@googlegroups.com

Git init creates a new empty repository, which is not what you want. Just git clone and you'll be fine :)

One thing to remember about git is that it's distributed: you'll have the whole history locally

François

Le 25 sept. 2015 15:35, "Franz" <frh...@gmail.com> a écrit :
Thanks,

I could'nt make it :

I installed git

sudo apt-get install git

then

git init

and then
but i got an error :

Cloning into 'master'...
fatal: https://gitlab.com/jbrout/jbrout/commits/master/info/refs not valid: is this a git repository?



Le jeudi 24 septembre 2015 18:53:45 UTC+2, mcepl a écrit :
Message has been deleted

Franz

unread,
Sep 25, 2015, 9:57:21 AM9/25/15
to jBrout
Ok it looks simple but how do I undo the

git init
?

I manually erased the .git folder but I still get the same result.

I have another question : I don't find where jbrout stores the tags.xml file. It used to be in /home/.jbrout.

Thanks

Franz

unread,
Sep 25, 2015, 10:03:21 AM9/25/15
to jBrout
Ok I found the folder with config files : /home/.local/share/jbrout

Francois Chartier

unread,
Sep 25, 2015, 12:39:12 PM9/25/15
to jbr...@googlegroups.com

Yes, that's in conformity with open desktop norms.

As for undoing git init, just remove the whole directory (or the .git subdirectory where git stores all its files). Oh..  You've done that... I guess the URL *is* false then...
Try https://gitlab.com/jbrout without the rest

Francois Chartier

unread,
Sep 25, 2015, 12:45:26 PM9/25/15
to jbr...@googlegroups.com

Another difference with svn is you can't clone/update only a part of a repository: it works on the whole tree from the root (where the .git is located).

Matěj Cepl

unread,
Sep 25, 2015, 5:01:27 PM9/25/15
to jbr...@googlegroups.com
On 2015-09-25, 13:37 GMT, Franz wrote:
> I could'nt make it :

Just do this

$ rm -rf jbrout/ # it will be created later
$ git clone https://gitlab.com/jbrout/jbrout.git
$ cd jbrout
$ python setup.py install --user

That’s it.

Best,

Matěj

--
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

The world is coming to an end! Repent and return those library
books!

Franz

unread,
Sep 26, 2015, 1:39:00 AM9/26/15
to jBrout
Thanks, it works now !

François

Matěj Cepl

unread,
Sep 26, 2015, 4:01:31 AM9/26/15
to jbr...@googlegroups.com
On 2015-09-26, 05:38 GMT, Franz wrote:
> Thanks, it works now !

Pull request with the improved README on the installation
(including but not limited to fix for
https://gitlab.com/jbrout/jbrout/issues/231) would be very
welcome from anybody.

Best,

Matěj

--
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

Faithful love is what people look for in a person; ...
-- Proverbs 19:22 (NJB)

Francois Chartier

unread,
Sep 26, 2015, 8:56:48 AM9/26/15
to jbr...@googlegroups.com

About pull requests on gitlab, is it best to have a fork and work on a topic branch, a personal branch, or directly on a master branch (I just started on github and haven't figured out yet how to update my master)?

Matěj Cepl

unread,
Sep 26, 2015, 11:14:49 AM9/26/15
to jbr...@googlegroups.com
On 2015-09-26, 12:56 GMT, Francois Chartier wrote:
> About pull requests on gitlab, is it best to have a fork and work on a
> topic branch, a personal branch, or directly on a master branch (I just
> started on github and haven't figured out yet how to update my master)?

It is the same as github in this aspect. So:

1) clone the repository to your hard drive
2) CREATE A BRANCH FROM MASTER!!! Every good piece of
git-related advice should start with words “Create a new
branch, and then …”
3) When you are done, commit
4) Go to the Gitlab page, and fork, adding the SSH URL to your
local repository via

$ git remote add myrepo g...@gitlab.com:somebody/jbrout.git

5) push the local branch to YOUR fork of the repo

$ git push -u myrepo nameofthebranch

6) Go to the your repo page and create a pull request

7) If you get some comments on the pull request, fix your code,
and either

$ git commit -a --amend -v && git push -f

or

$ git commit -a -v && git push

on your topic branch (git push -f here is OK, IMHO, because
the pull request has not been merged into any publicly
accessible branch).

8) The last rinse, repeat, until the pull request is merged.

Thank you in advance!

Matěj

--
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

One reason that life is complex is that it has a real part and an
imaginary part.
-- Andrew König

Francois Chartier

unread,
Sep 27, 2015, 8:58:19 AM9/27/15
to jbr...@googlegroups.com

Thanks, that was quite a comprehensive explanation. It wasn't what I did on github, but now I know how to update my master. Quite logical in fact...

As for branches, at my work we usually don't use topic branches, so I'm not too familiar with them. I guess I could use some sort of personal branch plus topic branches.

Now I just have to find time to sort through my repositories and commits...

François

Matěj Cepl

unread,
Sep 27, 2015, 1:01:54 PM9/27/15
to jbr...@googlegroups.com
On 2015-09-27, 12:58 GMT, Francois Chartier wrote:
> Thanks, that was quite a comprehensive explanation. It wasn't
> what I did on github, but now I know how to update my master.
> Quite logical in fact...
>
> As for branches, at my work we usually don't use topic
> branches, so I'm not too familiar with them. I guess I could
> use some sort of personal branch plus topic branches.
>
> Now I just have to find time to sort through my repositories
> and commits...

The problem with GitHub (or “one of problems with GitHub …” ;))
is that (I suppose) from PR reasons they lead everybody to fork
first, so that users get hooked to GitHub and don’t understand
that the whole idea of git is independence from the central
server. Also, users don’t have to worrt their little heads with
the concept of topic branches. They can manage to do their first
pull request and that’s what’s expected from them to be able to
do do anyway.

OTOH, of course, I won’t reject a pull request just because it
is from master ;)

Matěj

--
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

Science is meaningless because it gives no answer to our
question, the only question important to us: ``What shall we do
and how shall we live?''
-- Lev Nikolaevich Tolstoy

Reply all
Reply to author
Forward
0 new messages