Error starting Studio on a completely clean Karmic install
  • Hi,

    This one is most likely for Daniel, but I just tried installing Campcaster from the 64Studio repo on a totally new Karmic install.

    The install went without errors, but when I try to start Campcaster Studio, I get the following error:

    sofa@sofa-desktop:~$ campcaster-studio\
    >
    Campcaster-Studio 1.4.0
    Copyright (c) 2004 Media Development Loan Fund under the GNU GPL
    using configuration file:  /etc/campcaster-studio.xml
    
    (campcaster-studio:7215): libglade-WARNING **: Error loading image:
    Image file '/usr/share/campcaster/www/glade/.' contains no data
    
    (campcaster-studio:7215): libglade-WARNING **: could not convert
    string to type `GdkPixbuf' for property `icon'
    
    (campcaster-studio:7215): libglade-WARNING **: Error loading image:
    Image file '/usr/share/campcaster/www/glade/.' contains no data
    
    (campcaster-studio:7215): libglade-WARNING **: could not convert
    string to type `GdkPixbuf' for property `icon'
    terminate called after throwing an instance of 'std::out_of_range'
     what():  basic_string::replace
    /usr/bin/campcaster-studio: line 62:  7215 Aborted
    $studio_exe -c $config_file
    sofa@sofa-desktop:~$ ^C
    sofa@sofa-desktop:~$


    Is it possible that I installed the 64-bit packages instead of the 32-bit ones? The reason I ask is this:

    sofa@sofa-desktop:~$ sudo apt-get install --reinstall campcaster-studio
    [sudo] password for sofa:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
     linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 13 not upgraded.
    Need to get 0B/1,549kB of archives.
    After this operation, 0B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    WARNING: The following packages cannot be authenticated!
     campcaster-studio
    Install these packages without verification [y/N]? y
    (Reading database ... 138811 files and directories currently installed.)
    Preparing to replace campcaster-studio 1.4.0+r3436-0~karmic1 (using
    .../campcaster-studio_1.4.0+r3436-0~karmic1_amd64.deb) ...
    Unpacking replacement campcaster-studio ...
    Processing triggers for man-db ...
    Setting up campcaster-studio (1.4.0+r3436-0~karmic1) ...
    


    Are there separate repos for 32 and 64-bit packages?


    doug
    Douglas Arellanes
    Director of Innovation
    Sourcefabric, o.p.s.

    Find a way or make one.
  • 4 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Doug,

    > I just tried installing
    > Campcaster from the 64Studio repo on a totally new Karmic install.

    Did you run the Update Manager after installation? If not, how many
    updates does it say are pending?

    > The install went without errors, but when I try to start Campcaster
    > Studio, I get the following error:
    >
    > sofa@sofa-desktop:~$ campcaster-studio\
    >>
    > Campcaster-Studio 1.4.0
    > Copyright (c) 2004 Media Development Loan Fund under the GNU GPL
    > using configuration file: /etc/campcaster-studio.xml
    >
    > (campcaster-studio:7215): libglade-WARNING **: Error loading image:
    > Image file '/usr/share/campcaster/www/glade/.' contains no data
    >
    > (campcaster-studio:7215): libglade-WARNING **: could not convert
    > string to type `GdkPixbuf' for property `icon'
    >
    > (campcaster-studio:7215): libglade-WARNING **: Error loading image:
    > Image file '/usr/share/campcaster/www/glade/.' contains no data
    >
    > (campcaster-studio:7215): libglade-WARNING **: could not convert
    > string to type `GdkPixbuf' for property `icon'

    This part of the output, above, is a known bug:

    http://dev.sourcefabric.org/browse/CC-1508

    However, it is non-fatal.

    > terminate called after throwing an instance of 'std::out_of_range'
    > what(): basic_string::replace
    > /usr/bin/campcaster-studio: line 62: 7215 Aborted
    > $studio_exe -c $config_file

    This is the more serious bug; it is also seen on Lucid, so I'm guessing
    that a backported package to Karmic which has been downloaded as an
    update to your system has caused a regression.

    I'll upgrade a stock Karmic system package-by-package with the Ubuntu
    updates, to see if I can trigger this.

    > Is it possible that I installed the 64-bit packages instead of the
    > 32-bit ones?

    Yes, but your system would only have allowed this to happen if it was a
    64-bit one. Otherwise, you should have seen an error message at install
    time.

    > WARNING: The following packages cannot be authenticated!
    > campcaster-studio
    > Install these packages without verification [y/N]? y

    This part means you have not installed the 64studio-apt package, which
    is a recommended security measure. See the section 'Install the package
    signing key' here:

    http://en.flossmanuals.net/Campcaster/InstallSynaptic

    > Are there separate repos for 32 and 64-bit packages?

    Not really, both types of package are in the same repo. APT detects the
    correct package filenames according to the Architecture: line in the
    Packages and Release files found in the amd64 and i386 subdirectories of
    the repo, which in this case are found here:

    http://apt.64studio.com/backports/dists/karmic-backports/mai n/

    Cheers!

    Daniel
  • Hi Daniel,

    I installed the updates first and then installed Campcaster. There were
    quite a few updates in there (more than 100), so it's hard to say which
    updated package broke things. There weren't, however, any other packages
    installed on that system other than the updates.


    doug




    On Thu, Sep 16, 2010 at 1:20 PM, Daniel James <
    campcaster-dev@lists.sourcefabric.org> wrote:

    > Hi Doug,
    >
    > > I just tried installing
    > > Campcaster from the 64Studio repo on a totally new Karmic install.
    >
    > Did you run the Update Manager after installation? If not, how many
    > updates does it say are pending?
    >
    > > The install went without errors, but when I try to start Campcaster
    > > Studio, I get the following error:
    > >
    > > sofa@sofa-desktop:~$ campcaster-studio\
    > >>
    > > Campcaster-Studio 1.4.0
    > > Copyright (c) 2004 Media Development Loan Fund under the GNU GPL
    > > using configuration file: /etc/campcaster-studio.xml
    > >
    > > (campcaster-studio:7215): libglade-WARNING **: Error loading image:
    > > Image file '/usr/share/campcaster/www/glade/.' contains no data
    > >
    > > (campcaster-studio:7215): libglade-WARNING **: could not convert
    > > string to type `GdkPixbuf' for property `icon'
    > >
    > > (campcaster-studio:7215): libglade-WARNING **: Error loading image:
    > > Image file '/usr/share/campcaster/www/glade/.' contains no data
    > >
    > > (campcaster-studio:7215): libglade-WARNING **: could not convert
    > > string to type `GdkPixbuf' for property `icon'
    >
    > This part of the output, above, is a known bug:
    >
    > http://dev.sourcefabric.org/browse/CC-1508
    >
    > However, it is non-fatal.
    >
    > > terminate called after throwing an instance of 'std::out_of_range'
    > > what(): basic_string::replace
    > > /usr/bin/campcaster-studio: line 62: 7215 Aborted
    > > $studio_exe -c $config_file
    >
    > This is the more serious bug; it is also seen on Lucid, so I'm guessing
    > that a backported package to Karmic which has been downloaded as an
    > update to your system has caused a regression.
    >
    > I'll upgrade a stock Karmic system package-by-package with the Ubuntu
    > updates, to see if I can trigger this.
    >
    > > Is it possible that I installed the 64-bit packages instead of the
    > > 32-bit ones?
    >
    > Yes, but your system would only have allowed this to happen if it was a
    > 64-bit one. Otherwise, you should have seen an error message at install
    > time.
    >
    > > WARNING: The following packages cannot be authenticated!
    > > campcaster-studio
    > > Install these packages without verification [y/N]? y
    >
    > This part means you have not installed the 64studio-apt package, which
    > is a recommended security measure. See the section 'Install the package
    > signing key' here:
    >
    > http://en.flossmanuals.net/Campcaster/InstallSynaptic
    >
    > > Are there separate repos for 32 and 64-bit packages?
    >
    > Not really, both types of package are in the same repo. APT detects the
    > correct package filenames according to the Architecture: line in the
    > Packages and Release files found in the amd64 and i386 subdirectories of
    > the repo, which in this case are found here:
    >
    > http://apt.64studio.com/backports/dists/karmic-backports/mai n/< http://apt.64studio.com/backports/dists/karmic-backports/mai n/>
    >
    > Cheers!
    >
    > Daniel
    >
    >



    --
    Douglas Arellanes
    Director of Clients and Services, Sourcefabric
    douglas.arellanes@sourcefabric.org

    Sourcefabric
    Salvátorská 10
    110 00 Prague 1, Czech Republic
    +420 724 073 364

    http://www.sourcefabric.org
    Skype: dougiegyro | Twitter: dougiegyro

    Douglas Arellanes
    Director of Innovation
    Sourcefabric, o.p.s.

    Find a way or make one.
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Doug,

    > I installed the updates first and then installed Campcaster. There were
    > quite a few updates in there (more than 100)

    I just installed the karmic-security and karmic-updates packages one by
    one, about 33 packages, and Campcaster Studio still runs here, on a
    32-bit netbook.

    If you click on the Settings button in Update Manager, then click on the
    Updates tab, do you have the boxes for karmic-proposed or
    karmic-backports checked?

    One quick way to check if you are running a 64-bit system is to open a
    terminal and type:

    uname -a

    If your kernel is 64-bit, the output will contain x86_64, like this
    example from a Lucid system:

    Linux office 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC
    2010 x86_64 GNU/Linux

    Cheers!

    Daniel
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Doug,

    We've narrowed this one down - it only affects Campcaster Studio on
    native 64-bit distros. Campcaster Web runs fine on the test 64-bit
    system. I'm running some backtraces and should have an answer for you
    tomorrow.

    Cheers!

    Daniel