Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libocsync.so.0: undefined symbol: csync_get_progress_callback #70

Open
risacher opened this issue Dec 26, 2013 · 10 comments
Open

libocsync.so.0: undefined symbol: csync_get_progress_callback #70

risacher opened this issue Dec 26, 2013 · 10 comments

Comments

@risacher
Copy link

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.                                   
@diederikdehaas
Copy link
Contributor

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

@risacher
Copy link
Author

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 

@diederikdehaas
Copy link
Contributor

Ok, thanks. We're working on it.

@MichelBartz
Copy link

Any update on this? Having the same issue.

@hefee
Copy link
Collaborator

hefee commented Jan 6, 2014

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

@ways
Copy link

ways commented Mar 11, 2014

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

@sivaa1
Copy link

sivaa1 commented Apr 16, 2014

Any update on the Topic?

@ghost
Copy link

ghost commented Apr 25, 2014

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.

@giovi321
Copy link

Any news? Same issue here. Running Debian Wheezy 7

@canonnervio
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants