Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ubuntu One
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Thu Nov 11, 2010 3:58 pm    Post subject: Ubuntu One Reply with quote

Ubuntu One on Gentoo. Is it possible?
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Thu Nov 11, 2010 10:14 pm    Post subject: Reply with quote

--

Last edited by 96140 on Wed Sep 11, 2013 7:46 am; edited 2 times in total
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 529

PostPosted: Thu Nov 11, 2010 10:16 pm    Post subject: Reply with quote

According to https://launchpad.net/ubuntuone, "The Ubuntu One client software and protocol libraries are open source." Thus it seems at least theoretically possible. The source code is on that website. What exactly would you want to do with it?

Edit: The post above wasn't here when I was typing. At least this one helps my post count. I'll be "l33t" before I know the first thing about Gentoo :p
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1173
Location: Austria

PostPosted: Thu Nov 11, 2010 10:28 pm    Post subject: Reply with quote

What's that personal cloud all about? Just from the security point of view you store your data outside somewhere and keep computers in sync regarding PIM and so on which could be done using a simple groupware server like OpenXchange disregarding the Music Store...

Don't get me wrong, I don't want to bash the service here - just trying to understand.
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Fri Nov 12, 2010 9:09 am    Post subject: Reply with quote

Moved from Other Things Gentoo to Unsupported Software as it's not officially supported.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Wed Nov 24, 2010 2:35 pm    Post subject: Reply with quote

I can't get it work since i "/usr/local/portage/layman/make.conf" doesn't exist.
I downloaded the *.tar.gz from launchpad, installed (./config...) and when running ubuntu-preferences i get:
Quote:
Traceback (most recent call last):
File "/usr/local/bin/ubuntuone-preferences", line 36, in <module>
from oauth import oauth
ImportError: No module named oauth


ubuntu-launch doesn't do anything.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2864
Location: Bay Area, CA

PostPosted: Wed Nov 24, 2010 4:02 pm    Post subject: Reply with quote

JuszR wrote:
I can't get it work since i "/usr/local/portage/layman/make.conf" doesn't exist.
I downloaded the *.tar.gz from launchpad, installed (./config...) and when running ubuntu-preferences i get:
Quote:
Traceback (most recent call last):
File "/usr/local/bin/ubuntuone-preferences", line 36, in <module>
from oauth import oauth
ImportError: No module named oauth


ubuntu-launch doesn't do anything.
May be esearch oath helps...;-)
Code:

*  dev-python/oauth
      Latest version available: 1.0.1
      Latest version installed: [ Not Installed ]
      Size of files: 9 kB
      Homepage:      http://pypi.python.org/pypi/oauth
      Description:   Python OAuth module
      License:       MIT

*  dev-python/oauth2
      Latest version available: 1.2.1
      Latest version installed: [ Not Installed ]
      Size of files: 24 kB
      Homepage:      http://pypi.python.org/pypi/oauth2
      Description:   Library for OAuth version 1.0a.
      License:       MIT
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Wed Nov 24, 2010 4:24 pm    Post subject: Reply with quote

I tried that already but i can't install them:
Quote:
dev-python/oauth [ Masked ]


So i did:
Code:
echo "=dev-python/oauth2" >> /etc/portage/package.keywords


and when emerge:
Quote:
Invalid atom in /etc/portage/package.keywords: =dev-python/oauth2
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Wed Nov 24, 2010 4:33 pm    Post subject: Reply with quote

Please, first install and configure layman. Then proceed with the overlay way.

http://www.gentoo.org/proj/en/overlays/userguide.xml

Otherwise you will have to figure the dependencies yourself and look for them (they should come indicated in the README files from that tarball or a similar file, or maybe the ubuntu one web site).
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Wed Nov 24, 2010 6:05 pm    Post subject: Reply with quote

Fine, i had to add
=gnome-extra/ubuntuone-client-1.1.4
=net-misc/ubuntuone-storage-protocol-1.1.3
=dev-python/configglue-0.2
=dev-python/oauth-1.0
=dev-python/oauth-1.0.1
=dev-libs/protobuf-2.3.0-r1
=dev-libs/protobuf-2.3.0


and install

simplejson
httplib2


I think now it works.
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Sun Mar 25, 2012 7:26 pm    Post subject: Reply with quote

keet wrote:
According to https://launchpad.net/ubuntuone, "The Ubuntu One client software and protocol libraries are open source." Thus it seems at least theoretically possible. The source code is on that website. What exactly would you want to do with it?

Edit: The post above wasn't here when I was typing. At least this one helps my post count. I'll be "l33t" before I know the first thing about Gentoo :p



hum...

from https://wiki.ubuntu.com/UbuntuOne/TechnicalDetails
Quote:
... access to this remote disk space is via an invented-here communication protocol called "u1storage".


Quote:
u1sync-tool

Command line utility to control the behaviour of a running u1sync-agent instance. The tool does not perform any actions directly, but sends messages to the running agent.

There is one implementation, which is written in Python (GPLv3).


So i think it's just a matter of running this python script? i'm about to find out which libs it uses.
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Sun Mar 25, 2012 7:29 pm    Post subject: Reply with quote

yeah... not so lucky so far

https://answers.launchpad.net/ubuntuone-client/+question/92366

apparently it uses a lot of stuff from gnome. but i still haven't found the actual script to look at it.
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Sun Mar 25, 2012 7:40 pm    Post subject: Reply with quote

script now is called `u1sdtool`

can mostly be found here https://launchpad.net/ubuntu/natty/+source/ubuntuone-client
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Sun Mar 25, 2012 7:41 pm    Post subject: Reply with quote

ok, ignore last post... this package is just a bunch of wrappers for the syncdaemon.

the few times it actually interacts with ubuntu one (as most of the code is local FS monitoring) it calls the python package ubuntuone.storageprotocol which is not in this package.
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Sun Mar 25, 2012 7:56 pm    Post subject: Reply with quote

https://launchpad.net/ubuntu/+source/ubuntuone-storage-protocol/1.0.1-0ubuntu1

trying this one now.
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Mon Mar 26, 2012 6:29 am    Post subject: Reply with quote

giving up again. will just use the web iinterface when i'm on gentoo.
Back to top
View user's profile Send private message
nickel
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 189
Location: Germany

PostPosted: Thu Jun 07, 2012 9:57 am    Post subject: Reply with quote

it emerges correctly. But there isn't a gentoo-ubuntu overlay anymore. And the files versions are a little old.
when i try to run ubuntuone-preferences, i get this error: "Authorization Error Expired timestamp: given 1270656738... greater difference than threshold 900".
I looked it up and it has something to do with the system time, which is pretty weird, since my time is correct.

Any ideas, how i solve this?
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Thu Jun 07, 2012 10:53 am    Post subject: Reply with quote

Why would you bother with that crap anyhow?

If you want to backup your files to a cloud service consider something like the following using Amazon s3

Code:
emerge -va s3cmd


Setup and Amazon account and a use a simple cron such as below.

Code:
s3cmd sync /home_dir  s3://my-remote-bucket
Back to top
View user's profile Send private message
nickel
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 189
Location: Germany

PostPosted: Fri Jun 08, 2012 2:22 pm    Post subject: Reply with quote

thx for yur answer.

I gave up. I install ubuntu :-). For some reason, i don't like it at all!

Anyhow, i wanted ubuntu one music, because i can stream m music anywhere.

I use also dropbox. For smaller things, is pretty good. Is faster than ubuntu one!

I give s3 a try.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum