Author: digitaleagle

More F-Spot/Facebook Troubleshooting

I tried today to get the F-Spot export to Facebook working again(continuing from the other day).  I changed the default browser to Firefox, and I took my laptop to a different network.  When I came back, it asked me to login to Facebook and everything looked right.  But, the export tools just quits at this point:

facebook-export-bug.png

I have left the tool like this for hours, and still nothing happens.

When I run from the command line:

f-spot --debug

I get:

[Debug 22:43:28.010] Authorizing Session
[Debug 22:43:28.546] Session established, fetching user info...
[Debug 22:43:28.811] Session established, fetching friend list...
[Debug 22:43:28.984] Session established, fetching friend details...
[Debug 22:43:29.663] Session established, fetching photo albums...

On a different note, I was able to get the zooomr export tool to work.  I used it to put the screenshot for this post in.

Annoyances with Uploading Photos to Facebook

I have been trying to get my photo programs to upload to Facebook, but they just don’t want to work.  There are no solutions here yet, but if anyone has any tips, I’d be glad to hear about them.  Does Facebook not like Linux?  Is it the Chrome that is conflicting?

I could always just upload the photos one by one the manual way.  But, what programmer or Linux geek wants to do that?  We would rather spend more time hacking the automatic tools than it would take to do it manually!

F-Spot to Facebook

Since upgrading to Ubuntu 9.10, I decided to give F-Spot a try.  For a while, Ubuntu has been offering to import photos every time I plug the camera in.  So far, I like all the features, and it has been working great.

The Facebook export doesn’t work though.  I am kind of disappointed because that could be really nice.  First, I found that I had to enable it.  For some reason, it won’t log in once enabled.  It just stops at “Session established, fetching photo albums…”.  I have Chrome as my default browser, and I wondered if that had something to do with it.

G1 to Facebook

I was able to take a picture using the Facebook application and post it on Facebook.  But, I have tried several times to share a picture from the Gallery application.  When I installed the Facebook application, the Gallery added a new sharing option to share with Facebook.  When I share a picture, it asks me to add a caption, and allows me to upload.  The problem is that it just sits there at 0% and never finishes.

With both problems, I can’t find any error messages or any log that would help with searching for answers.  So, for now, I am stuck.  I guess I am up to the manual upload methods.

Pulse Problems on Karmic

After installing Karmic Koala (Ubuntu 9.10), I was thrilled about the sound working so much better.  The latest version of Skype supported pulse directly, and everything seemed to be great.

But then, the sound quit working suddenly, and nothing would bring it back.  I checked the Alsa volume settings, I tinkered with several of the config files, and I compared to the configuration with the live CD.

Finally, what solved my problem was:

  • deleted (backed up) ~/.pulse
  • rebooted
  • turned up my volume with the applet by the clock
  • ran speaker-test
  • I heard noise!

I will continue to keep my eye out for what is breaking the sound, but at least I have a solution.  Please let me know if anyone else has this problem.

Here are some of the links that I checked:

Eclipse on Karmic (Ubuntu 9.10)

After installing Ubuntu 9.10, I realized that they have updated the version of Eclipse in the repositories.  So, I was able to install it with apt-get rather than download it manually.  Here is the version information from the About screen:

Eclipse SDK
Version: 3.5.1
Build id: M20090917-0800
(c) Copyright Eclipse contributors and others 2000, 2009.  All rights reserved.
Visit http://www.eclipse.org/platform

Eclipse SDK
Version: 3.5.1Build id: M20090917-0800
(c) Copyright Eclipse contributors and others 2000, 2009.  All rights reserved.Visit http://www.eclipse.org/platform

The one thing I had to add was the plugins that I use.  First, I found a blog post with instructions on adding a repository with additional plugins via packages.  To use it, add this repository to your software sources:

deb http://ppa.launchpad.net/yogarine/eclipse/ubuntu karmic main

This command will import the key:

wget http://www2.yogarine.com/eclipse-ppa.key -O- | sudo apt-key add - && sudo apt-get update

So, with that said, here are the packages that I installed:

  • eclipse
  • eclipse-rcp
  • eclipse-platform
  • eclipse-emf
  • eclipse-platform-data
  • eclipse-pde
  • eclipse-plugin-cvs
  • eclipse-wtp
  • eclipse-dtp
  • eclipse-jdt
  • eclipse-gef

Then, I added the following update sites to Eclipse.  Open the preferences with the menu: Window > Preferences.  Then, go to Install/Update > Available Software Sites.

I added Visual Swing.  See this earlier post for more information.  Here is the update site:

  • http://visualswing4eclipse.googlecode.com/svn/trunk/vs4e/

For MyLyn, I found a conversation that recommended the following two sites:

  • http://download.eclipse.org/tools/mylyn/update/e3.4
  • http://download.eclipse.org/tools/mylyn/update/extras

To install the plugins, go to Help > Install New Software.

Visual Swing

I found a nice Swing Designer for Eclipse called Visual Swing:

Eclipse Zone: Visual Swing for Eclipse

This is a project hosted on Google Code.  So far, it has worked pretty nice.  It is by no means a commercial solution, but it definitely gets the job done.

I had a little trouble installing it from the Update Site.  The first time, I just downloaded the files and manually placed them in my Eclipse Home directory.  But, today I figured out how to get the update site to work.

Here is the update site I had to use:

http://visualswing4eclipse.googlecode.com/svn/trunk/vs4e

Then, in the install window, I had to uncheck “Group items by category”.  Otherwise, it would say “There are no categorized items”.  Finally, the install window seems to have a refresh problem.  It was loading the items in the list, but it was not painting them.  I had to give it some time to load, then I had to resize the install window to make it repaint the list.

There is an outstanding bug on the Update Site: Issue #119.

Google Chrome on Linux!

I got Google Chrome for Linux!  From one of those ad links at the top of GMail, I clicked through to Chrome, and found out that they have a version that works for Linux.  I am actually using it now for this post.

First, they have a place you can enter your email address for notification when the full version comes out.  Currently, it is under development.

http://www.google.com/chrome/intl/en/linux.html

From, that page, you will find a link to the Early Access Release Channels, which has the links to downloading Chrome.  If you scroll down to the bottom of the page, you will find the link to the deb package that you can install.

svnsync

I have decided to try svnsync instead of using git directly as I posted here and here.  Since I am a single developer, I was hoping it would be easier this way.  I found another article with tips here.

First, let me just check my installation:

skp@pecan:~$ svnsync --version
svnsync, version 1.5.4 (r33841)
 compiled Aug  7 2009, 01:44:11

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
 - handles 'http' scheme
 - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
 - with Cyrus SASL authentication
 - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
 - handles 'file' scheme

Here are some other quick discoveries that I found:

You can get help by typing

svnsync help

This will give the list of commands supported: init, sync, and copy-revprops.  Then, you can get help on a specific command, such as init, with:

svnsync help init

One of the things I noticed was this warning which has me worried because I have already started committing to the repository with git:

You should not commit to, or make revision property changes in,
the destination repository by any method other than 'svnsync'.
In other words, the destination repository should be a read-only
mirror of the source repository.

So, lets go for it.

First, I am going to make my local repository:

mkdir project-sarah
git svn clone --username myusername https://project-sarah.googlecode.com/svn/trunk

Now, I am going to try to initialize the syncing:

svnsync init --username myusername --password mypassword  https://project-sarah.googlecode.com/svn file://home/skp/app/git-workspace/project-sarah

Here is the message I got back:

svnsync: Cannot initialize a repository with content in it

So, I guess unless I want to try to get Google Code to delete the repository and start over, I am out of luck here.  Maybe this will help someone else though.

Resources

How I moved my code repository to Google Code

Trying to Upgrade PulseAudio

I first tried to install from this respository, but it wouldn’t install.  There was an error message about maybe one of the packages being held, and it could resolve everything.

So, I found another blog post that had a better repository to install from.  So, I followed these directions:

How to Install the Latest PulseAudio (0.9.15) in Ubuntu Jaunty

Here is a quick summary:

Installed repository:

deb http://ppa.launchpad.net/themuso/ppa/ubuntu jaunty main

Installed key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B88A1AA8

Updated all of the packages

Now:

pulseaudio –version

pulseaudio 0.9.15

So, I rebooted, and I will let you know if things start working better!