csawyerYumaed / pyOwnCloud

ownCloud CLI client written in python, more info on owncloud: www.owncloud.org
Other
97 stars 17 forks source link

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

Open risacher opened 10 years ago

risacher commented 10 years ago

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 commented 10 years ago

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

risacher commented 10 years ago

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 commented 10 years ago

Ok, thanks. We're working on it.

MichelBartz commented 10 years ago

Any update on this? Having the same issue.

hefee commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

Any update on the Topic?

ghost commented 10 years ago

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 commented 10 years ago

Any news? Same issue here. Running Debian Wheezy 7

canonnervio commented 10 years ago

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?