pyOwnCloud icon indicating copy to clipboard operation
pyOwnCloud copied to clipboard

libocsync.so.0: undefined symbol: csync_get_progress_callback

Open risacher opened this issue 11 years ago • 10 comments
trafficstars

Won't start on Ubuntu 13.04 (raring ringtail). Is my libocsync0 too old?

~$ oclient -h                                                                                
root-DEBUG: Keyring not available                                                                                   
root-DEBUG: ProgressBar not available                                                                               
csync.csynclib.pre-DEBUG: Found ocsync at libocsync.so.0                                                            
Traceback (most recent call last):                                                                                 
  File "/usr/local/bin/oclient", line 9, in <module>                                                                
    load_entry_point('pyOwnCloud==0.4.pre', 'console_scripts', 'oclient')()                                         
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_entry_point                           
    return get_distribution(dist).load_entry_point(group, name)                                                     
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2307, in load_entry_point                          
    return ep.load()                                                                                                
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2013, in load                                      
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])                                         
  File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csync.py", line 29, in <module>   
    import csynclib                                                                                                 
  File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/__init__.py", line 32, in
 <module>                                                                                                           
    from . import post                                                                                              
  File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/post.py", line 119, in <m
odule>                                                                                                              
    csync_get_progress_callback = csynclib.csync_get_progress_callback                                              
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__                                            
    func = self.__getitem__(name)                                                                                   
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__                                            
    func = self._FuncPtr((name_or_ordinal, self))                                                                   
AttributeError: /usr/lib/x86_64-linux-gnu/libocsync.so.0: undefined symbol: csync_get_progress_callback    

~$ strings /usr/lib/x86_64-linux-gnu/libocsync.so.0 | grep progress_callback                 
csync_set_progress_callback                                                                                         
progress_callback                                                                                                   
csync_set_progress_callback: This function must be called before initialization.                                   

risacher avatar Dec 26 '13 20:12 risacher

What's the output of "aptitude versions ~iocsync" ?

diederikdehaas avatar Dec 27 '13 00:12 diederikdehaas

I upgraded to Ubuntu 13.10 (Saucy Salamander) but did not fix the problem.

$ aptitude versions ~iocsync                     
Package libocsync-dev:                                                   
i   0.80.0-1                                  saucy                  500 

Package libocsync-plugin-sftp:                                           
i A 0.80.0-1                                  saucy                  500 

Package libocsync-plugin-smb:                                            
i A 0.80.0-1                                  saucy                  500 

Package libocsync0:                                                      
i   0.80.0-1                                  saucy                  500 

risacher avatar Dec 27 '13 17:12 risacher

Ok, thanks. We're working on it.

diederikdehaas avatar Dec 27 '13 18:12 diederikdehaas

Any update on this? Having the same issue.

MichelBartz avatar Jan 06 '14 12:01 MichelBartz

The supported versions for pyOwnCloud are >= 0.80.1 and < 0.91.0 for now. Maybe the branch support-multiple-versions will work for you, within that branch we want to make sure we support 0.70.0 - 0.91.4. But I have had sure that it worked with 0.90.4. A bug report against this branch would help me to support the 0.80.0

hefee avatar Jan 06 '14 13:01 hefee

I get the same on raspbian. As you can see this also happens with the support-multiple-versions branch.

pi@photospi ~/Downloads/pyOwnCloud-support-multiple-versions $ oclient --debug root-DEBUG: Keyring not available root-DEBUG: ProgressBar not available csync.csynclib.pre-DEBUG: Found ocsync at libocsync.so.0 Traceback (most recent call last): File "/usr/local/bin/oclient", line 9, in load_entry_point('pyOwnCloud==0.4.pre', 'console_scripts', 'oclient')() File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 2281, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 1991, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csync.py", line 29, in import csynclib File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/init.py", line 32, in from . import post File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/post.py", line 119, in csync_get_progress_callback = csynclib.csync_get_progress_callback File "/usr/lib/python2.7/ctypes/init.py", line 378, in getattr func = self.getitem(name) File "/usr/lib/python2.7/ctypes/init.py", line 383, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/lib/arm-linux-gnueabihf/libocsync.so.0: undefined symbol: csync_get_progress_callback

pi@photospi ~$ aptitude versions ~iocsync Package libocsync-plugin-owncloud:
i A 0.70.4-0ubuntu1 stable 500

Package libocsync-plugin-sftp: i A 0.70.4-0ubuntu1 stable 500

Package libocsync-plugin-smb: i A 0.70.4-0ubuntu1 stable 500

Package libocsync0: i A 0.70.4-0ubuntu1 stable 500

ways avatar Mar 11 '14 14:03 ways

Any update on the Topic?

sivaa1 avatar Apr 16 '14 08:04 sivaa1

This is still an issue, and I know of no way to get the required library versions for the OS I'm running (Ubuntu LTS 12.04). The link on the front page only shows errors and links to 0.91.4.

ghost avatar Apr 25 '14 19:04 ghost

Any news? Same issue here. Running Debian Wheezy 7

giovi321 avatar Jun 22 '14 12:06 giovi321

I could reproduce the above errors on raspbian, with same versions as "ways" posted above:

$ oclient --debug root-DEBUG: Keyring not available root-DEBUG: ProgressBar not available csync.csynclib.pre-DEBUG: Found ocsync at libocsync.so.0 Traceback (most recent call last): File "/usr/local/bin/oclient", line 9, in load_entry_point('pyOwnCloud==0.4.pre', 'console_scripts', 'oclient')() File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 2281, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 1991, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csync.py", line 29, in import csynclib File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/init.py", line 32, in from . import post File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/post.py", line 119, in csync_get_progress_callback = csynclib.csync_get_progress_callback File "/usr/lib/python2.7/ctypes/init.py", line 378, in getattr func = self.getitem(name) File "/usr/lib/python2.7/ctypes/init.py", line 383, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/lib/arm-linux-gnueabihf/libocsync.so.0: undefined symbol: csync_get_progress_callback

and

aptitude versions ~iocsync Package libocsync-dev:
i 0.70.4-0ubuntu1 stable 500

Package libocsync-plugin-owncloud: i 0.70.4-0ubuntu1 stable 500

Package libocsync-plugin-sftp: i A 0.70.4-0ubuntu1 stable 500

Package libocsync-plugin-smb: i A 0.70.4-0ubuntu1 stable 500

Package libocsync0: i 0.70.4-0ubuntu1 stable 500

Can I update somehow to a version between >= 0.80.1 and < 0.91.0?

canonnervio avatar Aug 28 '14 11:08 canonnervio