Ubuntu Multimedia :: Error - Object Reference Not Sent To An Instance Of An Object
Mar 6, 2010
I've been using the PPA version of banshee, and I got this error - just wondering if anyone else has it too! I'm able to play a song, but when the song finishes and the next one starts I get this error: Banshee Encountered a Fatal Error Object reference not sent to an instance of an object Error details:
Code:
An unhandled exception was thrown: Object reference not set to an instance of an object
at Hyena.Gui.Theming.GtkTheme.GetCairoTextMidColor (Gtk.Widget) <0x00017>
at Banshee.NotificationArea.NotificationAreaService.get_TextLightColor () <0x0002f>
at Banshee.NotificationArea.NotificationAreaService.MarkupFormat (string,string[]) <0x00043>
at Banshee.NotificationArea.NotificationAreaService.GetByFrom (string,string,string,string) <0x000d7>
I am creating two shared libs that i intend to be dynamically linkable in C and C++, cross platform Linux/Windows/Mac. As a basic sketch, true for both libs, the lib code is in several .c/.cpp and .h files. For now, I'll talk about the part that I am actively working on, a lib named Discover, i.e. libdiscover.so.1.0. First, everything is in a namespace, RemKon_Discover.
The main Discover.cpp defines the methods for the Discover class (declared in Discover.h) and has extern "C' routines that can return pointers to my main c++ object. The call to GetLibraryMainPointer() creates a Discover class object, theMainObject (ok, I win a prize for dumb names) and returns the (non-mangled) pointer to the caller over in my test program. The Discover class itself is declared extern "c" and the tester program #includes "Discover.h".
In the test program, dlopen() correctly opens the lib and dlsym() gets the pointer to theMainObject. However, when I use that pointer in the tester program to access a method (aDiscoverObject->hello(), e.g.) I get compile time errors saying that Discover::hello() in an undefined reference. My makefile is attached.
How can I pass by reference, a parameter, without assigning a new object? In my first example, var = "changed" creates a new local object. In the second, mylist.append will affect the reference target. How to i achieve the same effect with example 1?
Code: #!/bin/python var = "unchanged" def print_string( var ):
I have created a simple test class - Mortgage, with the class declaration in the .h file and the class's methods defined in the .cpp file. (mortgage.h && mortgage.cpp, respectively) Straight up C++ 101 as far as I can tell. I instantiate the class in the main() function, which is defined in practice.cpp. Using Geany on Ubuntu, both the practice.o and mortgage.o files are created, but then I get a linker error: undefined reference to class::functionName
I get it for each function. If the mortgage.cpp file is foremost in the editor when I click "build", then I get the undefined reference to main() error, if practice.cpp is foremost (where the main() function is) then I get undefined reference to Mortgage::Mortgage(), and all the rest of the functions defined for that class. How do I get the linker to know where my object files are so it will link them in? Or is the problem somewhere else entirely?
Only ones I can think of seem overly complex, and I'm sure there is a simple solution I am overlooking. I have a class, it has a member who is an object. This object needs to be able to represent an object of different types.
[code]...
Where "surface" could be several different types, which will be set during execution. Hope this is clear enough. I have tried using templates but am getting "data member cannot be a member template". Either I have incorrect syntax, or am not implementing it right. another solution would have one class containing definitions of all possible shapes, But this would take up extra memory. Other solutions I thought of seem too round-about, and seems there is a simpler solution that I have overlooked.
Kmix will not start any more. It might have something to do with an online update I installed last night. Here is the output from a console. I can't make any sense of it.
ion@linux-4cfs:~> kmix Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) <unknown program name>(6735)/: Communication problem with "kmix" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.UnknownObject" : " "No such object path '/MainApplication'" "
Salutations,I've been struggling with getting audacious working for the past hour. I'm using synaptic to install it. When trying to run it from the bash, I'm getting the following error:
Code: audacious: error while loading shared libraries: libmowgli.so.1: cannot open shared object file: No such file or directory.I tried to make /usr/lib/libmowgli.so->libmowgli.so.1 link, but it didn't help. Tried reinstalling audacious/libmowgli and a few others packages, but in vain, too.
I installed Nautilus-actions, in order to set up some right-click scripts. However, when I click on "nautilus actions configurations" from within the system preferences menu, I receive the following error... "Duplicate object id 'label1' on line 1000 (previously on line 940)".
Traceback (most recent call last): File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1830, in _runYumTransaction rpmDisplay=rpmDisplay) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3813, in processTransaction pkgs = self._downloadPackages(callback) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3837, in _downloadPackages probs = self.downloadPkgs(dlpkgs) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1372, in downloadPkgs self.plugins.run('predownload', pkglist=pkglist) File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/presto.py", line 577, in predownload_hook (problems, more) = downloadPkgs(conduit, pinfo, download_pkgs) File "/usr/lib/yum-plugins/presto.py", line 419, in downloadPkgs cb.start(text="<delta rebuild>", size=rebuild_size) File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 129, in start self._do_start(now) File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2551, in _do_start self.updateProgress(name, 0.0, "", "") File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2593, in updateProgress pkg = self._getPackage(name) File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2534, in _getPackage sections = name.rsplit('-', 2) AttributeError: 'NoneType' object has no attribute 'rsplit'
I cannot run Opera. I am running a fresh install of Fedora 13 (everything updated). When I try to run Opera, it fails with this error message:
Code:
[ore@spectrum ~]$ opera ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored. /usr/lib/opera/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory [ore@spectrum ~]$
I have installed it and setup an apache conf. Nagios http page loads but shows errors on every sub-page.
Code: Whoops! Error: Could not read object configuration data!Here are some things you should check in order to resolve this error:
1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at [URL]..Looking for some assistance, or better still PM me if you'd be willing to remote on and have a look for me.
In both CentOS 5.5 and FreeBSD 7.4 when I use Code: snmpget -v 1 -c public windows_host system.sysDescr.0 I get the remote windows machine system description just fine. But not in ubuntu. Searching snmp-net FAQ for the erroe message "Unknown Object Identifier", I got this to work around Code: snmpget -v 1 -c public 127.0.0.1 SNMPv2-MIB::system.sysDescr.0 But it not worked either.. Searching "MIB" using apt-file search, I installed "snmp-mibs-downloader", and now Code: snmpget -v 1 -c public 127.0.0.1 SNMPv2-MIB::system.sysDescr.0 works.. but Code: snmpget -v 1 -c public windows_host system.sysDescr.0 still breaks.. Why it works in CentOS and FreeBSD but not in Ubuntu?
I've got an error with compiling a program: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value collect2: ld a retourn 1 code dtat d'excution make[2]: *** [bindings/_yafqt.so] Erreur 1.
i'm installing a Linux system just simply following guide by fellow friends comunity. Currently, my box are having 2 HDD with 35GB each capacity. Displaying in GNome (36.2 GB Encrypted Data). During installation, I'd selected :
*Remove Linux partitions on selected drives and create default layout *The "Encrypt system" option
In Gnome desktop, when I right click and select mount volume, it will display : "Unable to mount location. Internal error: No mount object for mounted volume"
Currently I have a single openldap server version 2.3.32 preforming authentication on our databases as well as e-mail and other assorted programs. When we get a high volume of users, sometimes the users can not be authenticated for new e-mail sessions and what not. We have traced it back to being that our current single ldap server can not authenticate them all in a timely manner. We decided that we would put up a new ldap server and replicate the changes to it, then upgrade the older server version and replicate back to it so that both would have a current up to date copy of our configuration, and we would do a master/slave type setup.
Trying to replicate between the old server and the new server is not currently working. Here is the issue: when we try to import the schema's from the older server we get this error: slapadd: dn="cn=Domain Users,ou=Groups,dc=mydomain,dc=com" (line=247): (65) no structural object class provided I can not seem to find any information on google that shows this exact error? if this isn't detailed enough let me know what else I should post.
I am trying to create a package for Moblin using the Moblin Package creator application in Ubuntu. The RPM package gets created successfully, but when I execute that package in Moblin OS in the terminal I get the following error message: Error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file: No such file or directory.
I understand that the above libraries are missing on my system and I need to add them. My question here is do I have to add them manually after the installation of the package or can the package itself include these libraries and copy them to proper locations when the package is installed. In case the libraries can be included in the package I want to know how that can be done.
Code: #include <stdio.h> struct test { int i; int j;
[Code]....
why i am getting this error. I know the error is occuring because i have assigned values to obj.i and obj.j outside main(). But i want to know why do that result in an error. From my part i have created an object 'obj' of stucture 'test' and assigned values to its variables.
I'm trying to install the demo version of Guitar Pro to see how it stacks up against TuxGuitar. I installed the .deb and also getlibs.At first try it complained that libportaudio2 wasn't installed so I installed it too. But when I try to run it I get: libportaudio.so.2: cannot open shared object file When I try getlibs ont he binary it says: No match for libportaudio.so.2
My problem is when trying to connect to: "hxxp://www.m-y-d-o-m-a-i-n.com/phpMyAdmin" I reported Error 404: PHP Code: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404
It stretches the parts of the 3d object to the sides of the viewing area. This makes Google Earth almost impossible to use. I have a video of Google Earth's problem here: [URL] Here's a screenshot of it in GLChess: screenshot_001.jpg I am running Ubuntu 10.06 Lucid Lynx on an old HP dv5000 laptop. It has ATI Radeon graphics.
When I start evolution from the terminal I get this: (evolution:3265): GLib-GObject-CRITICAL **: Object class EMFolderTree doesn't implement property 'paste-target-list' from interface 'ESelectable' The program still starts though. I am fairly new to Ubuntu.
just installed Ubuntu 10.04 and installed the flightgear package and the fgfs-base package. I ran fgfs from a terminal and got this error:
Code: $ fgfs fgfs: error while loading shared libraries: libOpenThreads.so.12: cannot open shared object file: No such file or directory $ So then I did: Code: sudo apt-get install libopenthreads12 and it gave me these errors:
I'm trying to run Kega Fusion on my laptop, which can now FINALLY run Linux (ATI drivers finally work on it), and I can't get the emulator to work..
Code: brandon@brandon-laptop:~/Desktop/Fusion$ ./Fusion ./Fusion: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory brandon@brandon-laptop:~/Desktop/Fusion$ uname -a Linux brandon-laptop 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/Linux brandon@brandon-laptop:~/Desktop/Fusion$ Help? I have the ATI proprietary drivers installed. I tried without them and it still wouldn't work. (And OpenGL is seemingly working as Compiz Fusion is running. I also tried with Compiz disabled but the same error pops up).
I'm running lucid 32-bit. I get this error when I try to run the installer for Unreal Tournament GOTY:
Code: Verifying archive integrity... All good. Uncompressing Unreal Tournament 436-multilanguage.goty Installer. /home/computer/.setup1548: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory computer@computer-desktop:~/UnrealInstall$ I tried installing libgtk1.2 (as told by some people in other threads), but couldn't do that:
Code: E: Couldn't find package libgtk1.2 However, I checked that I do have libgtk2.0 So what should I do?
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory make[2]: *** [libmpn.la] Error 127 make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
I have an application consisting of different processes and all these processes are linked to shared libraries. I start the application (spawn all the different processes) as say user1. Now with the application up, if I run a process p1, the process gets activated and works. However, if I start the same process p1 as a different user, say user2, which is completely different from user1 the process complains of
"error while loading shared libraries:...."
I set LD_RUN_PATH both in compile and runtime environment. LD_LIBRARY_PATH is set correctly in both places.
All the above works if I set the absolute path of the required shared libraries in /etc/ld.so.conf file and rebuild the /etc/ld.so.cache