Code Monkey home page Code Monkey logo

pyowncloud's People

Contributors

csawyeryumaed avatar diederikdehaas avatar hefee avatar lluis avatar weuxel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyowncloud's Issues

wrong errormessage, when not defining url in arguments and configfile

If oclient is run from a user, that has no configfile and don't have any arguments in command line he should get a propper error message.

oclient --debug
Found libocsync @ libocsync.so.0
Turning debug on
['/home/kdetest/.local/bin/oclient', '--debug']
From args:
{'config': None,
'debug': True,
'dry_run': False,
'dst': 'clientsync',
'pass': None,
'src': '/home/kdetest/ownCloud',
'sslfingerprint': None,
'url': None,
'use_keyring': False,
'user': None}
getConfigPath: /home/kdetest/.local/share/data/ownCloud
Finished config file:
{'config': None,
'davPath': 'remote.php/webdav/',
'debug': True,
'dry_run': False,
'dst': 'clientsync',
'pass': '********',
'src': '/home/kdetest/ownCloud',
'sslfingerprint': None,
'url': None,
'use_keyring': False,
'user': 'kdetest'}
libocsync version: 0.70.6
Traceback (most recent call last):
File "/home/kdetest/.local/bin/oclient", line 9, in
load_entry_point('pyOwnCloud==0.3', 'console_scripts', 'oclient')()
File "/home/kdetest/.local/lib/python2.7/site-packages/pyOwnCloud-0.3-py2.7.egg/csync/csync.py", line 350, in main
startSync(parser)
File "/home/kdetest/.local/lib/python2.7/site-packages/pyOwnCloud-0.3-py2.7.egg/csync/csync.py", line 276, in startSync [225/912]
ownCloudSync(cfg)
File "/home/kdetest/.local/lib/python2.7/site-packages/pyOwnCloud-0.3-py2.7.egg/csync/csync.py", line 103, in init
self.buildURL()
File "/home/kdetest/.local/lib/python2.7/site-packages/pyOwnCloud-0.3-py2.7.egg/csync/csync.py", line 119, in buildURL
url = url.replace('https','ownclouds')
AttributeError: 'NoneType' object has no attribute 'replace'

Using PEP8

The most projects written in python use PEP8 for syntax style. The mose visiable change is not to use tabs for indent, instead use four spaces.

errors when execute "import theano"

I am using theano through Canopy in win7, installed following documents on theano website, and with Dev-C++ installed to import gcc in path.
I just updated and addes some packages of canopy.
Then when I run codes, canopy report error and need to send a bug report to canopy.
So, can anyone have ideas about this?
thx for your help!

the bug info:
***************** USER INPUTS ***************
Subject: Unexpected error AttributeError:'NoneType' object has no attribute 'repl - v1.1.1 (win-64bit)
Description:
Attached files:
User email: [email protected]
Support email: [email protected]
Cc:

*************** CANOPY LOG ***************
===C:\Users\russell\AppData\Roaming\Enthought\Canopy\log\main.log===

INFO|2013-10-17 10:06:07|Application launch, start time: 10:06:07:047000
INFO|2013-10-17 10:06:07|Platform: Windows 2.7.3 | 64-bit | (default, Aug 8 2013, 05:30:12) [MSC v.1500 64 bit (AMD64)]
DEBUG|2013-10-17 10:06:07|Updating user migration scripts
DEBUG|2013-10-17 10:06:07|User scripts in: C:\Users\russell\AppData\Roaming\Enthought\Canopy\migrations
INFO|2013-10-17 10:06:07|Migration not needed.
DEBUG|2013-10-17 10:06:07|Application profile is
INFO|2013-10-17 10:06:08|Looking for addons in ['D:\canopy\System\addons']
DEBUG|2013-10-17 10:06:09|egg basket plugin manager found plugins <[<canopy.branding.plugin.BrandingPlugin object at 0x0000000008239E08>, <canopy.editor.traits_editor_plugin.TraitsEditorPlugin object at 0x0000000008239F10>, <canopy.bookmarks.plugin.BookmarksPlugin object at 0x0000000008251620>, <canopy.code_tools.plugin.CodeHelperPlugin object at 0x0000000008251CA8>, <envisage.ui.tasks.tasks_plugin.TasksPlugin object at 0x0000000008251D58>, <canopy.notebook.plugin.NotebookPlugin object at 0x0000000008366150>, <envisage.core_plugin.CorePlugin object at 0x0000000008251728>, <canopy.scripting.plugin.ScriptingPlugin object at 0x00000000083663B8>, <canopy.editor.web_viewer.plugin.WebEditorPlugin object at 0x0000000008366570>, <canopy.plugin.web_access_plugins.WebAccessPlugin object at 0x0000000008494F68>, <canopy.accounts.plugin.AccountsPlugin object at 0x00000000085110F8>, <envisage.plugins.event_manager.plugin.EventManagerPlugin object at 0x00000000085111A8>, <canopy.keybindings.plugin.KeybindingsPlugin object at 0x0000000008511620>, <canopy.scripting_ui.plugin.ScriptingUIPlugin object at 0x0000000008511BA0>, <canopy.editor.plugin.CoreEditorPlugin object at 0x0000000008511B48>, <canopy.documentation_browser.canopy_documentation_browser_plugin.CanopyDocumentationBrowserPlugin object at 0x000000000869E728>, <canopy.python_frontend.plugin.PythonFrontendPlugin object at 0x000000000869EBA0>, <canopy.documentation_browser.documentation_browser_plugin.DocumentationBrowserPlugin object at 0x000000000869EE60>, <canopy.file_handling.plugin.FileHandlingPlugin object at 0x00000000086F51A8>, <canopy.plugin.plugin.CanopyPlugin object at 0x00000000086F5780>, <canopy.code_editor.file_browser_plugin.FileBrowserPlugin object at 0x000000000869E6D0>, <canopy.editor.image_editor_plugin.ImageEditorPlugin object at 0x00000000086F5A98>, <canopy_training.lecture_player.canopy_plugin.TrainingCanopyPlugin object at 0x000000000877DE08>]>
DEBUG|2013-10-17 10:06:09|package plugin manager found plugins <[]>
DEBUG|2013-10-17 10:06:09|loading preferences from <C:\Users\russell\AppData\Roaming\Enthought\Canopy\preferences.ini>
DEBUG|2013-10-17 10:06:09|proxy server from preferences.ini=''
DEBUG|2013-10-17 10:06:09|Directing stdout to C:\Users\russell\AppData\Roaming\Enthought\Canopy\log\stdout.log and stderr to C:\Users\russell\AppData\Roaming\Enthought\Canopy\log\stderr.log
INFO|2013-10-17 10:06:09|
Python sys.stdout redirected at Thu Oct 17 10:06:09 2013.

INFO|2013-10-17 10:06:09|
Python sys.stderr redirected at Thu Oct 17 10:06:09 2013.

DEBUG|2013-10-17 10:06:09|service <1> registered canopy.logging.i_logging_service.ILoggingService
DEBUG|2013-10-17 10:06:09|QtWarningMsg: QColor::setHsvF: HSV parameters out of range
DEBUG|2013-10-17 10:06:09|---------- application starting ----------
DEBUG|2013-10-17 10:06:09|plugin canopy.update_svc starting
DEBUG|2013-10-17 10:06:09|plugin canopy.update_svc started
DEBUG|2013-10-17 10:06:09|plugin canopy.single_process starting
DEBUG|2013-10-17 10:06:09|plugin canopy.single_process started
DEBUG|2013-10-17 10:06:09|plugin canopy.branding starting
DEBUG|2013-10-17 10:06:09|plugin canopy.branding started
DEBUG|2013-10-17 10:06:09|plugin canopy.code_editor.traits_editor starting
DEBUG|2013-10-17 10:06:09|plugin canopy.code_editor.traits_editor started
DEBUG|2013-10-17 10:06:09|plugin canopy.bookmarks starting
DEBUG|2013-10-17 10:06:09|plugin canopy.bookmarks started
DEBUG|2013-10-17 10:06:09|plugin canopy.code_helper starting
DEBUG|2013-10-17 10:06:09|plugin canopy.code_helper started
DEBUG|2013-10-17 10:06:09|plugin envisage.ui.tasks starting
DEBUG|2013-10-17 10:06:09|plugin envisage.ui.tasks started
DEBUG|2013-10-17 10:06:09|plugin canopy.notebook starting
DEBUG|2013-10-17 10:06:09|plugin canopy.notebook started
DEBUG|2013-10-17 10:06:09|plugin envisage.core starting
DEBUG|2013-10-17 10:06:09|extensions to <envisage.preferences> <[[], [], [], [], [], [], [], [], [], [], [], [], ['pkgfile://canopy.accounts/preferences.ini'], [], [], [], ['pkgfile://canopy.code_editor/preferences.ini'], [], ['pkgfile://canopy.python_frontend/preferences.ini'], [], [], ['pkgfile://canopy/plugin/preferences.ini'], [], [], ['pkgfile://canopy_training.lecture_player/preferences.ini']]>
DEBUG|2013-10-17 10:06:09|loading preferences from <<open file 'D:\canopy\System\lib\site-packages\canopy\accounts\preferences.ini', mode 'rb' at 0x000000000887B1E0>>
DEBUG|2013-10-17 10:06:09|loading preferences from <<open file 'D:\canopy\System\lib\site-packages\canopy\code_editor\preferences.ini', mode 'rb' at 0x000000000887B270>>
DEBUG|2013-10-17 10:06:09|loading preferences from <<open file 'D:\canopy\System\lib\site-packages\canopy\python_frontend\preferences.ini', mode 'rb' at 0x000000000887B300>>
DEBUG|2013-10-17 10:06:09|loading preferences from <<open file 'D:\canopy\System\lib\site-packages\canopy\plugin\preferences.ini', mode 'rb' at 0x000000000887B390>>
DEBUG|2013-10-17 10:06:09|loading preferences from <<open file 'D:\canopy\System\lib\site-packages\canopy_training\lecture_player\preferences.ini', mode 'rb' at 0x000000000887B420>>
DEBUG|2013-10-17 10:06:09|extensions to <envisage.class_load_hooks> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]>
DEBUG|2013-10-17 10:06:09|extensions to <envisage.categories> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]>
DEBUG|2013-10-17 10:06:09|extensions to <envisage.service_offers> <[[<envisage.service_offer.ServiceOffer object at 0x0000000008881D00>], [], [<envisage.service_offer.ServiceOffer object at 0x0000000008881D58>], [], [<envisage.service_offer.ServiceOffer object at 0x0000000008881DB0>], [<envisage.service_offer.ServiceOffer object at 0x0000000008881E08>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F90F8>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F91A8>], [], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9200>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9258>, <envisage.service_offer.ServiceOffer object at 0x00000000088F92B0>], [], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9308>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9360>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F93B8>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9410>, <envisage.service_offer.ServiceOffer object at 0x00000000088F9468>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F94C0>], [], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9518>], [], [<envisage.service_offer.ServiceOffer object at 0x00000000088F9570>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F95C8>, <envisage.service_offer.ServiceOffer object at 0x00000000088F9620>, <envisage.service_offer.ServiceOffer object at 0x00000000088F9678>], [<envisage.service_offer.ServiceOffer object at 0x00000000088F96D0>], [], []]>
DEBUG|2013-10-17 10:06:09|service <2> registered canopy.update_svc.abstract_update_service.AbstractUpdateService
DEBUG|2013-10-17 10:06:09|service <3> registered canopy.branding.branding_service.BrandingService
DEBUG|2013-10-17 10:06:09|service <4> registered canopy.bookmarks.i_bookmarks_service.IBookmarksService
DEBUG|2013-10-17 10:06:09|service <5> registered canopy.code_tools.code_helper_service.CodeHelperService
DEBUG|2013-10-17 10:06:09|service <6> registered envisage.ui.tasks.preferences_dialog.PreferencesDialog
DEBUG|2013-10-17 10:06:09|service <7> registered canopy.notebook.i_notebook_service.INotebookService
DEBUG|2013-10-17 10:06:09|service <8> registered canopy.scripting.i_script_engine.IScriptEngine
DEBUG|2013-10-17 10:06:09|service <9> registered canopy.editor.web_viewer.web_editor_factory.WebEditorFactory
DEBUG|2013-10-17 10:06:09|service <10> registered canopy.ui.html_editor.web_access.WebAccessManager
DEBUG|2013-10-17 10:06:09|service <11> registered canopy.accounts.account_service.AccountService
DEBUG|2013-10-17 10:06:09|service <12> registered encore.events.abstract_event_manager.BaseEventManager
DEBUG|2013-10-17 10:06:09|service <13> registered canopy.keybindings.i_keybindings_service.IKeybindingsService
DEBUG|2013-10-17 10:06:09|service <14> registered canopy.scripting_ui.i_script_manager.IScriptManager
DEBUG|2013-10-17 10:06:09|service <15> registered canopy.scripting_ui.i_script_action_manager.IScriptActionManager
DEBUG|2013-10-17 10:06:09|service <16> registered canopy.code_editor.widget.file_system_watcher.FileSystemWatcher
DEBUG|2013-10-17 10:06:09|service <17> registered canopy.python_frontend.widget.i_python_frontend_manager.PythonFrontendManagerInterface
DEBUG|2013-10-17 10:06:09|service <18> registered canopy.file_handling.i_file_handling_service.IFileHandlingService
DEBUG|2013-10-17 10:06:09|service <19> registered canopy.app.subcommand_manager.SubcommandManager
DEBUG|2013-10-17 10:06:09|service <20> registered canopy.app.runtime_info_service.RuntimeInfoService
DEBUG|2013-10-17 10:06:09|service <21> registered canopy.package_manager.package_manager_service.PackageManagerService
DEBUG|2013-10-17 10:06:09|service <22> registered canopy.code_editor.file_browser_service.FileBrowserService
DEBUG|2013-10-17 10:06:09|plugin envisage.core started
DEBUG|2013-10-17 10:06:09|plugin canopy.scripting starting
DEBUG|2013-10-17 10:06:09|plugin canopy.scripting started
DEBUG|2013-10-17 10:06:09|plugin canopy.editor.webview_plugin starting
DEBUG|2013-10-17 10:06:09|plugin canopy.editor.webview_plugin started
DEBUG|2013-10-17 10:06:09|plugin canopy.web_access_handlers starting
DEBUG|2013-10-17 10:06:09|plugin canopy.web_access_handlers started
DEBUG|2013-10-17 10:06:09|plugin canopy.accounts starting
DEBUG|2013-10-17 10:06:09|plugin canopy.accounts started
DEBUG|2013-10-17 10:06:09|plugin envisage.event_manager starting
DEBUG|2013-10-17 10:06:09|plugin envisage.event_manager started
DEBUG|2013-10-17 10:06:09|plugin canopy.keybindings starting
DEBUG|2013-10-17 10:06:09|plugin canopy.keybindings started
DEBUG|2013-10-17 10:06:09|plugin canopy.scripting_ui starting
DEBUG|2013-10-17 10:06:09|plugin canopy.scripting_ui started
DEBUG|2013-10-17 10:06:09|plugin canopy.code_editor starting
DEBUG|2013-10-17 10:06:09|plugin canopy.code_editor started
DEBUG|2013-10-17 10:06:09|plugin canopy.canopy_documentation_browser starting
DEBUG|2013-10-17 10:06:09|plugin canopy.canopy_documentation_browser started
DEBUG|2013-10-17 10:06:09|plugin canopy.python_frontend starting
DEBUG|2013-10-17 10:06:09|plugin canopy.python_frontend started
DEBUG|2013-10-17 10:06:09|plugin canopy.documentation_browser starting
DEBUG|2013-10-17 10:06:09|plugin canopy.documentation_browser started
DEBUG|2013-10-17 10:06:09|plugin canopy.file_handling starting
DEBUG|2013-10-17 10:06:09|plugin canopy.file_handling started
DEBUG|2013-10-17 10:06:09|plugin canopy starting
DEBUG|2013-10-17 10:06:09|plugin canopy started
DEBUG|2013-10-17 10:06:09|plugin canopy.file_browser_plugin starting
DEBUG|2013-10-17 10:06:09|plugin canopy.file_browser_plugin started
DEBUG|2013-10-17 10:06:09|plugin canopy.code_editor.image_editor starting
DEBUG|2013-10-17 10:06:09|plugin canopy.code_editor.image_editor started
DEBUG|2013-10-17 10:06:09|plugin canopy_training.lecture_player starting
DEBUG|2013-10-17 10:06:09|plugin canopy_training.lecture_player started
DEBUG|2013-10-17 10:06:09|---------- application started ----------
DEBUG|2013-10-17 10:06:09|extensions to <canopy.app.subcommands> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<canopy.app.subcommand_manager.Subcommand object at 0x00000000094071A8>, <canopy.app.subcommand_manager.Subcommand object at 0x0000000009407200>, <canopy.app.subcommand_manager.Subcommand object at 0x0000000009407258>, <canopy.app.subcommand_manager.Subcommand object at 0x00000000094072B0>, <canopy.app.subcommand_manager.Subcommand object at 0x0000000009407308>], [], [], []]>
DEBUG|2013-10-17 10:06:09|----- application parsing command line args ------
DEBUG|2013-10-17 10:06:09| proxy_info = {}; no_proxy = <function no_proxy at 0x0000000008219E48>
INFO|2013-10-17 10:06:09|urllib2 using proxy = False
DEBUG|2013-10-17 10:06:09|no HTTP proxy set up for Qt
DEBUG|2013-10-17 10:06:09|extensions to <canopy.single_process.message_hooks> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<bound method CanopyApplication._handle_remote_message of <canopy.app.application.CanopyApplication object at 0x0000000004FC4BA0>>], [], [], []]>
DEBUG|2013-10-17 10:06:09|------- application ready to run -------
DEBUG|2013-10-17 10:06:09|Tasks state location is C:\Users\russell\AppData\Roaming\Enthought\Canopy\tasks\qt4
INFO|2013-10-17 10:06:09|Application started: Canopy version 1.1.1-1452 (win32).
DEBUG|2013-10-17 10:06:09|extensions to <envisage.ui.tasks.tasks> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094DCCA8>], [<envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094EF1A8>], [], [<envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094EF200>], [<envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094EF258>], [], [<envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094EF2B0>, <envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094EF308>, <envisage.ui.tasks.task_factory.TaskFactory object at 0x00000000094EF360>], [], [], []]>
DEBUG|2013-10-17 10:06:09|extensions to <envisage.ui.tasks.task_extensions> <[[], [], [], [], [], [], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EF728>], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EFA98>, <envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EFB48>], [], [], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EFBF8>], [], [], [], [], [], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EFCA8>], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EFD00>], [], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x00000000094EFF10>], [], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x000000000955D2B0>, <envisage.ui.tasks.task_extension.TaskExtension object at 0x000000000955D3B8>, <envisage.ui.tasks.task_extension.TaskExtension object at 0x000000000955D468>, <envisage.ui.tasks.task_extension.TaskExtension object at 0x000000000955D518>, <envisage.ui.tasks.task_extension.TaskExtension object at 0x000000000955D6D0>], [<envisage.ui.tasks.task_extension.TaskExtension object at 0x000000000955D728>], [], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy_documentation_browser.addon_user_guides> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy.web_editor.access_handlers> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<canopy.ui.html_editor.web_access.WebAccessHandler object at 0x000000000A0B9888>, <canopy.ui.html_editor.web_access.WebAccessHandler object at 0x000000000A143728>, <canopy.ui.html_editor.web_access.WebAccessHandler object at 0x000000000A1439E8>, <canopy.ui.html_editor.web_access.WebAccessHandler object at 0x000000000A143BA0>, <canopy.ui.html_editor.web_access.WebAccessHandler object at 0x000000000A130938>], [], [], [], [], [], [], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy.web_viewer.extensions> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<canopy.ui.html_editor.web_extension.WebExtensionContribution object at 0x000000000A156410>], [], [], [], [], [], [], [<canopy.ui.html_editor.web_extension.WebExtensionContribution object at 0x000000000A156FC0>, <canopy.ui.html_editor.web_extension.WebExtensionContribution object at 0x000000000A212048>, <canopy.ui.html_editor.web_extension.WebExtensionContribution object at 0x000000000A212150>]]>
DEBUG|2013-10-17 10:06:10|attempting to authenticate '[email protected]'
DEBUG|2013-10-17 10:06:10|extensions to <canopy.code_editor.languages> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<canopy.code_editor.languages.python_helper.PythonHelper object at 0x000000000A2127D8>, <canopy.code_editor.languages.python_helper.Python3Helper object at 0x000000000A212830>, <canopy.code_editor.languages.python_helper.EnamlHelper object at 0x000000000A212888>, <canopy.code_editor.languages.python_helper.DjangoHelper object at 0x000000000A2128E0>, <canopy.code_editor.languages.python_helper.NumPyHelper object at 0x000000000A212938>, <canopy.code_editor.languages.c_helper.CHelper object at 0x000000000A212990>, <canopy.code_editor.languages.c_helper.CppHelper object at 0x000000000A2129E8>, <canopy.code_editor.languages.c_helper.CythonHelper object at 0x000000000A212A40>, <canopy.code_editor.languages.c_helper.JavaHelper object at 0x000000000A212A98>, <canopy.code_editor.languages.c_helper.JavascriptHelper object at 0x000000000A212AF0>, <canopy.code_editor.languages.c_helper.PhpHelper object at 0x000000000A212B48>, <canopy.code_editor.languages.generic_helpers.MatlabHelper object at 0x000000000A212BA0>, <canopy.code_editor.languages.generic_helpers.ObjectiveCHelper object at 0x000000000A212BF8>, <canopy.code_editor.languages.generic_helpers.PlainTextHelper object at 0x000000000A212C50>, <canopy.code_editor.languages.generic_helpers.LLVMHelper object at 0x000000000A212CA8>, <canopy.code_editor.languages.generic_helpers.CSSHelper object at 0x000000000A212D00>, <canopy.code_editor.languages.generic_helpers.FortranHelper object at 0x000000000A212D58>, <canopy.code_editor.languages.generic_helpers.PythonTracebackHelper object at 0x000000000A212DB0>, <canopy.code_editor.languages.generic_helpers.PropertiesHelper object at 0x000000000A212E08>, <canopy.code_editor.languages.generic_helpers.Python3TracebackHelper object at 0x000000000A212E60>, <canopy.code_editor.languages.generic_helpers.CMakeHelper object at 0x000000000A212EB8>, <canopy.code_editor.languages.generic_helpers.XMLHelper object at 0x000000000A212F10>, <canopy.code_editor.languages.generic_helpers.INIHelper object at 0x000000000A212F68>, <canopy.code_editor.languages.generic_helpers.PythonConsoleSessionHelper object at 0x000000000A212FC0>, <canopy.code_editor.languages.generic_helpers.RubyHelper object at 0x000000000A21F048>, <canopy.code_editor.languages.generic_helpers.CoffeeScriptHelper object at 0x000000000A21F0A0>, <canopy.code_editor.languages.generic_helpers.BashHelper object at 0x000000000A21F0F8>, <canopy.code_editor.languages.generic_helpers.HTMLHelper object at 0x000000000A21F150>, <canopy.code_editor.languages.generic_helpers.RConsoleHelper object at 0x000000000A21F1A8>, <canopy.code_editor.languages.generic_helpers.PerlHelper object at 0x000000000A21F200>, <canopy.code_editor.languages.generic_helpers.MakefileHelper object at 0x000000000A21F258>, <canopy.code_editor.languages.generic_helpers.DiffHelper object at 0x000000000A21F2B0>, <canopy.code_editor.languages.generic_helpers.reStructuredTextHelper object at 0x000000000A21F308>, <canopy.code_editor.languages.generic_helpers.YAMLHelper object at 0x000000000A21F360>, <canopy.code_editor.languages.generic_helpers.TeXHelper object at 0x000000000A21F3B8>], [], [], [], [], [], [], [], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy.code_editor.editor_factories> <[[], [], [], [<canopy.editor.traits_editor.TraitsEditorFactory object at 0x000000000A143360>], [], [], [], [<canopy.notebook.notebook_editor_factory.NotebookEditorFactory object at 0x000000000A212258>], [], [], [<canopy.editor.web_viewer.web_editor_factory.WebEditorFactory object at 0x000000000A212570>], [], [], [], [], [], [<canopy.editor.code_editor_factory.CodeEditorFactory object at 0x000000000A224048>], [], [], [], [], [], [], [<canopy.editor.image_editor.ImageEditorFactory object at 0x000000000A224468>], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy.task_apis> <[[], [], [], [], [], [], [], [('canopy.integrated_code_editor', <class 'canopy.notebook.script_api.NotebookScriptAPI'>)], [], [], [], [], [], [], [], [], [], [], [], [], [], [('canopy.code_editor', <class 'canopy.plugin.code_editor_api.CanopyCodeEditorAPI'>)], [], [], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy.file_handling.task_file_types> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<canopy.file_handling.file_type.TaskFileTypes object at 0x000000000A224FC0>], [], [], [], [], [<canopy.file_handling.file_type.TaskFileTypes object at 0x000000000A22D150>], [], [], []]>
DEBUG|2013-10-17 10:06:10|extensions to <canopy.python_frontend.commands> <[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]>
INFO|2013-10-17 10:06:10|Searching for IPython config files in ['C:\Users\russell\AppData\Roaming\Enthought\Canopy', u'C:\Users\russell.ipython\profile_default']
INFO|2013-10-17 10:06:10|Failed to find config file: ipython_config.py
INFO|2013-10-17 10:06:10|Failed to find config file: ipython_qtconsole_config.py
DEBUG|2013-10-17 10:06:12|QtDebugMsg: loaded the Generic plugin
DEBUG|2013-10-17 10:06:12|Using the supplement library.
DEBUG|2013-10-17 10:06:12|Using pyflakes library
DEBUG|2013-10-17 10:06:12|Activated 'canopy.integrated_code_editor' task
DEBUG|2013-10-17 10:06:12|---------- starting GUI event loop ----------
INFO|2013-10-17 10:06:12|GUI event loop start time: 10:06:12:692000
INFO|2013-10-17 10:06:12|Collecting garbage regularly.
DEBUG|2013-10-17 10:06:12|JS: http://help.canopy/toplevel-docs.html:0(undefined) ReferenceError: Can't find variable: Documentation
DEBUG|2013-10-17 10:06:12|JS: http://help.canopy/toplevel-docs.html:0(undefined) ReferenceError: Can't find variable: com
DEBUG|2013-10-17 10:06:12|JS: http://help.canopy/toplevel-docs.html:0(undefined) ReferenceError: Can't find variable: com
DEBUG|2013-10-17 10:06:12|JS: http://help.canopy/toplevel-docs.html:0(undefined) ReferenceError: Can't find variable: com
DEBUG|2013-10-17 10:06:13|user '[email protected]'authenticated with name (u'Russell', u'rus')
INFO|2013-10-17 10:06:15|Kernel is responsive again
DEBUG|2013-10-17 10:06:22|flush failed on the following file:
ERROR|2013-10-17 10:06:22|Uncaught exception captured
Traceback (most recent call last):
File "D:\canopy\System\lib\site-packages\IPython\qt\base_frontend_mixin.py", line 138, in _dispatch
handler(msg)
File "D:\canopy\System\lib\site-packages\IPython\qt\console\ipython_widget.py", line 179, in _handle_execute_reply
super(IPythonWidget, self)._handle_execute_reply(msg)
File "D:\canopy\System\lib\site-packages\IPython\qt\console\frontend_widget.py", line 416, in _handle_execute_reply
self._process_execute_error(msg)
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 133, in _process_execute_error
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 156, in _format_traceback_html
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 173, in _get_html_from_ansi_escape
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 17, in escape_to_html
File "C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\cgi.py", line 1035, in escape
s = s.replace("&", "&") # Must be done first!
AttributeError: 'NoneType' object has no attribute 'replace'
DEBUG|2013-10-17 10:06:22|QtWarningMsg: QImage::scaled: Image is a null image
INFO|2013-10-17 10:07:29|RestartKernelAction.perform()
DEBUG|2013-10-17 10:07:39|flush failed on the following file:
ERROR|2013-10-17 10:07:39|Uncaught exception captured
Traceback (most recent call last):
File "D:\canopy\System\lib\site-packages\IPython\qt\base_frontend_mixin.py", line 138, in _dispatch
handler(msg)
File "D:\canopy\System\lib\site-packages\IPython\qt\console\ipython_widget.py", line 179, in _handle_execute_reply
super(IPythonWidget, self)._handle_execute_reply(msg)
File "D:\canopy\System\lib\site-packages\IPython\qt\console\frontend_widget.py", line 416, in _handle_execute_reply
self._process_execute_error(msg)
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 133, in _process_execute_error
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 156, in _format_traceback_html
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 173, in _get_html_from_ansi_escape
File "build\bdist.win32\egg\canopy\python_frontend\widget\ipython_frontend_widget.py", line 17, in escape_to_html
File "C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\cgi.py", line 1035, in escape
s = s.replace("&", "&") # Must be done first!
AttributeError: 'NoneType' object has no attribute 'replace'
DEBUG|2013-10-17 10:07:39|QtWarningMsg: QImage::scaled: Image is a null image

*************** SYSTEM INFORMATION ***************
==Canopy Version Info==
Build: win32-src-1452-rev_b57f5d988272890d7aae78873b5e0b539bb410ba-dev
Version: 1.1.1

==Platform==
Windows-7-6.1.7601-SP1

==Python Version==
2.7.3 | 64-bit | (default, Aug 8 2013, 05:30:12) [MSC v.1500 64 bit (AMD64)]

==Python Executable==
'D:\canopy\System\Scripts\pythonw.exe'

==Pythonpath==
['',
'D:\canopy\System\Scripts\python27.zip',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\DLLs',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\plat-win',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\lib-tk',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64',
'D:\canopy\System',
'D:\canopy\System\lib\site-packages',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata',
'C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\site-packages',
'D:\canopy\System\addons',
'D:\canopy\System\lib\site-packages\IPython\extensions']

==Environment==
[('TMP', 'C:\Users\russell\AppData\Local\Temp'),
('COMPUTERNAME', 'russell-PC'),
('USERDOMAIN', 'russell-PC'),
('NO_PROXY', ''),
('PSMODULEPATH', 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules'),
('QT_API', 'pyside'),
('COMMONPROGRAMFILES', 'C:\Program Files\Common Files'),
('PROCESSOR_IDENTIFIER',
'Intel64 Family 6 Model 23 Stepping 10, GenuineIntel'),
('PROGRAMFILES', 'C:\Program Files'),
('PROCESSOR_REVISION', '170a'),
('SYSTEMROOT', 'C:\Windows'),
('PATH',
'D:\canopy\System\Scripts;C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\Scripts;C:\Users\russell\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\QuickTime\QTSystem;D:\Dev-Cpp\MinGW64\bin;D:/canopy\User\Scripts;'),
('PROGRAMFILES(X86)', 'C:\Program Files (x86)'),
('WINDOWS_TRACING_FLAGS', '3'),
('TEMP', 'C:\Users\russell\AppData\Local\Temp'),
('COMMONPROGRAMFILES(X86)', 'C:\Program Files (x86)\Common Files'),
('PROCESSOR_ARCHITECTURE', 'AMD64'),
('ALLUSERSPROFILE', 'C:\ProgramData'),
('USERPROFILE', 'C:\Users\russell'),
('LOCALAPPDATA', 'C:\Users\russell\AppData\Local'),
('HOMEPATH', '\Users\russell'),
('PROGRAMW6432', 'C:\Program Files'),
('USERNAME', 'russell'),
('LOGONSERVER', '\russell-PC'),
('SESSIONNAME', 'Console'),
('PROGRAMDATA', 'C:\ProgramData'),
('CLASSPATH', '.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip'),
('PATHEXT', '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'),
('ASL.LOG', 'Destination=file'),
('FP_NO_HOST_CHECK', 'NO'),
('WINDIR', 'C:\Windows'),
('WINDOWS_TRACING_LOGFILE',
'C:\BVTBin\Tests\installpackage\csilogfile.log'),
('HOMEDRIVE', 'C:'),
('SYSTEMDRIVE', 'C:'),
('COMSPEC', 'C:\Windows\system32\cmd.exe'),
('NUMBER_OF_PROCESSORS', '2'),
('APPDATA', 'C:\Users\russell\AppData\Roaming'),
('PROCESSOR_LEVEL', '6'),
('COMMONPROGRAMW6432', 'C:\Program Files\Common Files'),
('OS', 'Windows_NT'),
('PUBLIC', 'C:\Users\Public'),
('QTJAVA', 'C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip')]

==Modules Check==

  • numpy found at D:\canopy\System\lib\site-packages\numpy__init__.pyc
  • scipy not found
  • traits found at D:\canopy\System\lib\site-packages\traits__init__.pyc
  • chaco not found
  • mayavi not found

==Enpkg Check==
esky-0.9.2.dev473-49.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\esky', u'name': u'esky', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, u'system': True, 'installed': True, u'hook': False, u'version': u'0.9.2.dev473', u'build': 49, u'key': u'esky-0.9.2.dev473-49.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:22:56 2013'}
traitsui-4.2.1.dev2751-431.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\traitsui', u'name': u'traitsui', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'4.2.1.dev2751', u'build': 431, u'key': u'traitsui-4.2.1.dev2751-431.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:23:27 2013'}
boto-2.6.0-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\boto', u'name': u'boto', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'2.6.0', u'build': 1, u'key': u'boto-2.6.0-1.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 01:22:53 2013'}
traits-4.3.0-20.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\traits', u'name': u'traits', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'4.3.0', u'build': 20, u'key': u'traits-4.3.0-20.egg', u'packages': [], u'arch': u'amd64', u'ctime': u'Sat Oct 12 02:23:22 2013'}
CanopyTraining-0.9.dev1299-686.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\canopytraining', u'name': u'canopytraining', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'0.9.dev1299', u'build': 686, u'key': u'CanopyTraining-0.9.dev1299-686.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:23:29 2013'}
numpy-1.7.1-3.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\numpy', u'name': u'numpy', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'1.7.1', u'build': 3, u'key': u'numpy-1.7.1-3.egg', u'packages': [u'MKL 10.3-1'], u'arch': u'amd64', u'ctime': u'Sat Oct 12 02:23:17 2013'}
CanopyTraining_addon-0.9.686-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\canopytraining_addon', u'ctime': u'Sat Oct 12 02:23:29 2013', u'platform': u'macosx-x86_64', u'python': u'2.7', u'type': u'egg', u'osdist': None, u'name': u'canopytraining_addon', u'hook': False, u'version': u'0.9.686', u'build': u'1', u'key': u'CanopyTraining_addon-0.9.686-1.egg', 'installed': True, u'packages': [u'CanopyTraining 0.9.dev1299'], u'arch': u'amd64', u'addon': True}
enstaller-4.6.3.dev1-127.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\enstaller', u'name': u'enstaller', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'4.6.3.dev1', u'build': 127, u'key': u'enstaller-4.6.3.dev1-127.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:22:52 2013'}
psutil-1.0.1-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\psutil', u'name': u'psutil', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'1.0.1', u'build': 1, u'key': u'psutil-1.0.1-1.egg', u'packages': [], u'arch': u'amd64', u'ctime': u'Sat Oct 12 02:23:17 2013'}
pyzmq-2.2.0-4.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\pyzmq', u'name': u'pyzmq', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'2.2.0', u'build': 4, u'key': u'pyzmq-2.2.0-4.egg', u'packages': [], u'arch': u'amd64', u'ctime': u'Sat Oct 12 02:23:18 2013'}
tornado-3.1.1-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\tornado', u'name': u'tornado', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'3.1.1', u'build': 1, u'key': u'tornado-3.1.1-1.egg', u'packages': [], u'arch': u'amd64', u'ctime': u'Sat Oct 12 02:23:19 2013'}
envisage-4.3.0-69.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\envisage', u'name': u'envisage', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'4.3.0', u'build': 69, u'key': u'envisage-4.3.0-69.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:22:56 2013'}
ipython-1.1.0.dev11795-707.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\ipython', u'name': u'ipython', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'1.1.0.dev11795', u'build': 707, u'key': u'ipython-1.1.0.dev11795-707.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:23:10 2013'}
requests-1.2.3-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\requests', u'name': u'requests', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'1.2.3', u'build': 1, u'key': u'requests-1.2.3-1.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 01:22:55 2013'}
Canopy-1.1.1.dev5783-1452.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\canopy', u'name': u'canopy', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, u'system': True, 'installed': True, u'hook': False, u'version': u'1.1.1.dev5783', u'build': 1452, u'key': u'Canopy-1.1.1.dev5783-1452.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:22:51 2013'}
nose-1.3.0-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\nose', u'name': u'nose', u'platform': u'win32', u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'1.3.0', u'build': 1, u'key': u'nose-1.3.0-1.egg', u'packages': [], u'arch': u'amd64', u'ctime': u'Sat Oct 12 02:23:11 2013'}
CanopyApp_addon-1.1.1.1452-1.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\canopyapp_addon', u'ctime': u'Sat Oct 12 02:23:27 2013', u'platform': u'win-x86_64', u'python': u'2.7', u'type': u'egg', u'osdist': None, u'name': u'canopyapp_addon', u'hook': False, u'version': u'1.1.1.1452', u'build': u'1', u'key': u'CanopyApp_addon-1.1.1.1452-1.egg', 'installed': True, u'packages': [u'appinst 2.1.3', u'configobj 4.7.2', u'docutils 0.8.1', u'distribute 0.6.26', u'nose 1.3.0', u'coverage 3.5.2', u'Pygments 1.6.0', u'numpy 1.7.1', u'MKL 10.3', u'jsonpickle 0.4.0', u'Jinja2 2.6', u'keyring 0.9.2', u'casuarius 1.1', u'ply 3.4', u'feedparser 5.1.1', u'mock 1.0.1', u'supplement 0.5dev.dev202', u'pyflakes 0.4.5.dev80', u'psutil 1.0.1', u'faulthandler 2.0', u'requests 1.2.3', u'pyzmq 2.2.0', u'tornado 3.1.1', u'ipython 1.1.0.dev11795', u'PySide 1.1.2', u'traits 4.3.0', u'pyface 4.3.0', u'traitsui 4.2.1.dev2751', u'apptools 4.2.0.dev1609', u'envisage 4.3.0', u'enstaller 4.6.3.dev1', u'enaml 0.2.1', u'encore 0.4.0', u'esky 0.9.2.dev473', u'Canopy 1.1.1.dev5783', u'pyreadline 1.7.1'], u'arch': u'amd64', u'addon': True}
apptools-4.2.0.dev1609-32.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\apptools', u'name': u'apptools', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'4.2.0.dev1609', u'build': 32, u'key': u'apptools-4.2.0.dev1609-32.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 02:22:47 2013'}
CanopyTrainingCreator-0.5.dev1190-591.egg : {'meta_dir': 'D:\canopy\System\EGG-INFO\canopytrainingcreator', u'name': u'canopytrainingcreator', u'platform': None, u'python': u'2.7', u'type': u'egg', u'osdist': None, 'installed': True, u'hook': False, u'version': u'0.5.dev1190', u'build': 591, u'key': u'CanopyTrainingCreator-0.5.dev1190-591.egg', u'packages': [], u'arch': None, u'ctime': u'Sat Oct 12 01:22:48 2013'}

Show progress status

Is it possible to add a progress output on screen which file is synced in which way with speed indicator?
Just like rsync --progress

The --debug option assumes you are in your local working directory

Which was okay before we did the install part.

don@harperdo02:~> csync -s ~/Dropbox/remind -d remind --debug
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Turning debug on
From args: 
{'config': None,
 'debug': True,
 'dry_run': False,
 'dst': 'remind',
 'not_use_keyring': False,
 'pass': None,
 'src': '/home/don/Dropbox/remind',
 'sslfingerprint': None,
 'url': None,
 'user': None}
getConfigPath: /home/don/.local/share/data/ownCloud
conifguration info received from /home/don/.local/share/data/ownCloud/owncloud.cfg:
Traceback (most recent call last):
  File "/bin/csync", line 9, in <module>
    load_entry_point('pyOwnCloud==0.0', 'console_scripts', 'csync')()
  File "/usr/lib/python2.7/site-packages/pyOwnCloud-0.0-py2.7.egg/csync/csync.py", line 347, in main
    startSync(args)
  File "/usr/lib/python2.7/site-packages/pyOwnCloud-0.0-py2.7.egg/csync/csync.py", line 276, in startSync
    cfg = getConfig(args)
  File "/usr/lib/python2.7/site-packages/pyOwnCloud-0.0-py2.7.egg/csync/csync.py", line 249, in getConfig
    if pcfg['pass']:
KeyError: 'pass'

error starting oclient on debian

hi iv just installed occlient

installed libocsync0 and python-argparse and pulled the git and python setup.py install
but when i now execute oclient i get:

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 24, in
import csynclib
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/init.py", line 1, in
from . import pre
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/pre.py", line 18, in
csynclib = getCSync()
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/pre.py", line 15, in getCSync
raise('Could not find shared library libocsync')
TypeError: exceptions must be old-style classes or derived from BaseException, not str

can anybody help me ?

Typo in csync/csync.py

Line #365

print 'conifguration info received from %s:' % cfgFile

should read

print 'configuration info received from %s:' % cfgFile

Django Integration

It's good if we can integrate pyOwnCloud with django backend too.

Thanks.

Possible Upload-Limit?

Dear Development-Team,

I'm using pyOwnCloud and I'm very happy, but the client seems to have an upload limit. At my Owncloud-Instance I can upload files bigger than 10MB via Web-Interface or WebDav (cadaver). But when i sync an folder with pyOwnCloud the upload tries two times and fails after that.
Interessting is that when i upload files via cadaver to file will be place immeditatly in the right folder with an suffix .part. When i upload via oclient it would be placed in the cache-folder.

Im using oclient version 0.3 with libocsync version 0.80.0 and owncloud 5.0.9. The oclient is running under Debian 6.0 (x86).

Could you reproduce this behavior?
Kind regards
Sebastian

Problem syncing with server.

don@thor:/src/console/pyOwnCloud> ./csync.py -d remind -s /home/don/Dropbox/remind -u don
syncing /home/don/Dropbox/remind to /remote.php/webdav/remind logging in as user: don
Segmentation fault (core dumped)
don@thor:
/src/console/pyOwnCloud> python -V
Python 2.7.3
don@thor:~/src/console/pyOwnCloud> ./csync.py -v
csync.py 0.1 - repo: 77cb782

Won't start after recent ubuntu 13.10 update

Maybe it is due to the new version libocsync0 (0.91.4 after update, and 0.80.0-1 before update)


Found libocsync @ libocsync.so.0
Traceback (most recent call last):
File "/usr/local/bin/oclient", line 9, in
load_entry_point('pyOwnCloud==0.3', 'console_scripts', 'oclient')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_en
try_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2309, in load_e
ntry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2015, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.3-py2.7.egg/csync/cs
ync.py", line 18, in
import csynclib
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.3-py2.7.egg/csync/cs
ynclib.py", line 39, in
csync_propagate = _libraries['/usr/lib/libocsync.so.0'].csync_propagate
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: csyn
c_propagate
Found libocsync @ libocsync.so.0
Traceback (most recent call last):
File "/usr/local/bin/oclient", line 9, in
load_entry_point('pyOwnCloud==0.3', 'console_scripts', 'oclient')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_en
try_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2309, in load_e
ntry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2015, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.3-py2.7.egg/csync/cs
ync.py", line 18, in
import csynclib
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.3-py2.7.egg/csync/cs
ynclib.py", line 39, in
csync_propagate = _libraries['/usr/lib/libocsync.so.0'].csync_propagate
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: csyn
c_propagate

ERROR: csync_update exited -1, error 27: None

Hello,
after executing oclient, I get an error, although files are synced fine:

[root@wheezy ~]# /usr/local/bin/oclient --debug -u username -p **** -s /root/ownCloud/ --url http://my_server_url/ 
Turning debug on 
From args: 
{'config': None,
 'debug': True,
 'dry_run': False,
 'dst': 'clientsync',
 'pass': '********',
 'src': '/root/ownCloud/',
 'sslfingerprint': None,
 'url': 'http://my_server_url/',
 'user': 'username'}
getConfigPath: /root/.local/share/data/ownCloud
Finished config file:
{'config': None,
 'davPath': 'remote.php/webdav/',
 'debug': True,
 'dry_run': False,
 'dst': 'clientsync',
 'pass': '********',
 'src': '/root/ownCloud/',
 'sslfingerprint': None,
 'url': 'http://my_server_url/',
 'use_keyring': False,
 'user': 'username'}
libocsync version:  0.80.0
This version of libocsync 0.80.0 is not tested against ownCloud server 4.7.5.
buildURL:  owncloud://my_server_url/remote.php/webdav/clientsync
Syncing /root/ownCloud/ to owncloud://my_server_url/remote.php/webdav/clientsync logging in as user: username
authCallback setup
Initialization done.
authCallback: Enter your username:  140734346606784 255 1 0 None
returning: username 
authCallback: Enter your password:  140734346606784 255 0 0 None
returning: ******** 
ERROR: csync_update exited -1, error 27: None

can I safely ignore this error?

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (700, 'stable'), (100, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-owncloud depends on:
ii  libocsync-plugin-owncloud  0.80.0-1
ii  python                     2.7.3-4
ii  python-pkg-resources       0.6.24-1

Keeping .csync_journal.db on tmpfs?

Hi

I'm using this on a raspberry pi, and am afraid lots of writes to .csync_journal.db-files will kill the SD card. Is this file updated even if there are no changes?

Is it possible to keep this file on a tmpfs instead of in the folder that will be synced?

libocsync.so.0: undefined symbol: csync_get_progress_callback

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.                                   

problem with oclient -h

i've just installed pyOwncloud anc i've got this when runing oclient -h

root-DEBUG: ProgressBar not available
csync.csynclib.pre-DEBUG: Found ocsync at /usr/lib/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/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, 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 1, in
from . import pre
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/pre.py", line 25, in
csynclib = getCSync()
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csynclib/pre.py", line 12, in getCSync
return CDLL('/usr/lib/libocsync.so.0')
File "/usr/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/libocsync.so.0: wrong ELF class: ELFCLASS64

what's wrong with ? any help plz ?

ocsync 0.91.0

I checked the csync.h of 0.91.0 and sw, that pyowncloud will crash. Renaming of functions, different errors etc.

Config file

When using a config file, the dst and src in the config are replaced with the cmd line args defaults.

Example Config:
[ownCloud]
src=/home/username/Documents
dst=Docs
user=username
pass=password
url=https://owncloud.example.com
sslfingerprint=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

'dst' will be replaced with 'clientsync'
'src' will be replaced with '/home/username/ownCloud'

Do we really need defaults for this?

To get this to work for me I have set the defaults for 'src' and 'dst' to 'None'

The csync module owncloud could not be loaded

i have this message when runing oclient
what's the problem ?

root-DEBUG: ProgressBar not available
csync.csynclib.pre-DEBUG: Found ocsync at /usr/lib/libocsync.so.0
root-DEBUG: getConfigPath: /home/dhouha/.local/share/data/ownCloud
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/pyOwnCloud-0.4.pre-py2.7.egg/csync/csync.py", line 495, in main
startSync(parser)
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csync.py", line 408, in startSync
cfg = getConfig(parser)
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre-py2.7.egg/csync/csync.py", line 379, in getConfig
cfg = dict(c.items('ownCloud'))
File "/usr/lib/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'ownCloud'

LICENSE vs. copyright

We now have to diffrent license/copyright files that don't match together :)

I would recomment:

  • delete one file
  • switch to GPL-2+

LICENSE: GPL-2+; copyright (C) 2013 pyOwnCloud contributers
copyright: GPL-2; copyright: copyrighted by Craig Sawyer and others.

LICENSE:
Copyright (C) 2013 pyOwnCloud contributers

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

copyright:
pyOwnCloud is copyrighted by Craig Sawyer and others.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991.

ERROR: csync_update exited -1, error 27: None

oclient

Found libocsync @ libocsync.so.0
This version of libocsync 0.90.4 is not tested against ownCloud server 4.7.5.
Syncing /root/ownCloud to ownclouds://owncloud.example.org/remote.php/webdav/clientsync logging in as user: user1
ownCloud password:
ERROR: csync_update exited -1, error 27: None

User and password are not the Problem. I try with debian6 and debian7 with the same error. OwnCloud 5.0.12 (current)

Do you offer commercial support for pyOwnCloud?

Regards

Sync Multi folders

Hello,

is it possible to syncing multi folders with only one configuration file with one server.

Example :

[ownCloud]
user=********
pass=********
url=https://mycloudserver.com
sslfingerprint=xx:xx:xx:xx:xx..........
src=FOLDER_ROOT1
dst=FOLDER_DEST1

[ownCloud]
user=********
pass=********
url=https://mycloudserver.com
sslfingerprint=xx:xx:xx:xx:xx..........
src=FOLDER_ROOT2
dst=FOLDER_DEST2

Sorry for my bad English, i'm french ;)

Thanks

Sync "Shared" files

Hi

Files shared with the user is not synced. Is this intentional? I've tried setting dst=/Shared, but that caused the client to crash with:

libocsync version: 0.70.4
buildURL: ownclouds://servername/remote.php/webdav//Shared
Syncing /home/pi/ownCloud/ to ownclouds://servername/remote.php/webdav//Shared logging in as user: photospi01
authCallback setup
Initialization done.
authCallback: Enter your username: 3199013516 255 1 0 None
returning: photospi01
authCallback: Enter your password: 3199013516 255 0 0 None
returning: ********
ERROR: csync_update exited with -1, csync(0.70.4) error 26: None

right user and group

thank you first for this client debian that meets our project.
We have a worry in the sense python cloud to the client when the sync takes place, then the client changes the group in ROOT and not its original name owncloud either:
root: owncloud to root: root
As t is a way to prevent the client exchange rights to do so.?

thks

debian6 client
server owncloud 5.03

Support -p parameter like MySQL's CLI client

Thank you for creating this, even though I don't know when I'll use it :-)

I just read the documentation about the options, and there are various ways to provide the password, neither of which I regard as very secure.
When using MySQL's CLI client, you can specify the -p option, without actually providing the password directly, but it's asked when you press after your parameters. That way you can give/type the password without it being stored on disk somewhere.
Would be great if you can add that option to pyOwnCloud :-)

keyring should not be consulted if -p is supplied or if in config file

I hate the various window manager keyring solutions, and they should not work when using on a server. Can we make the change to ignore the keyrings when I am specifying the password?

don@harperdo02:~/src/console/pyOwnCloud> csync -s ~/Dropbox/remind -d remind -u don -p ******  --debug
Turning debug on
From args: 
{'config': None,
 'debug': True,
 'dry_run': False,
 'dst': 'remind',
 'not_use_keyring': False,
 'pass': '********',
 'src': '/home/don/Dropbox/remind',
 'sslfingerprint': None,
 'url': None,
 'user': 'don'}
getConfigPath: /home/don/.local/share/data/ownCloud
conifguration info received from /home/don/.local/share/data/ownCloud/owncloud.cfg:
Traceback (most recent call last):
  File "/bin/csync", line 9, in <module>
    load_entry_point('pyOwnCloud==0.0', 'console_scripts', 'csync')()
  File "/usr/lib/python2.7/site-packages/pyOwnCloud-0.0-py2.7.egg/csync/csync.py", line 347, in main
    startSync(args)
  File "/usr/lib/python2.7/site-packages/pyOwnCloud-0.0-py2.7.egg/csync/csync.py", line 276, in startSync
    cfg = getConfig(args)
  File "/usr/lib/python2.7/site-packages/pyOwnCloud-0.0-py2.7.egg/csync/csync.py", line 249, in getConfig
    if pcfg['pass']:
KeyError: 'pass'

Authentication callback prints real password in debug mode

I have installed the 'libocsync-plugin-owncloud' and 'libocsync0' binaries from the debian repo.
I checked out the use_limits branch and then ran the following command:
python csync/csync.py --config ../../pyOwncloud/logs.conf --dst=irclogs --debug --uploadlimit=100

pyOwncloud/logs.conf:

[ownCloud]
user=diederik
url=https://cknowsvr01/owncloud/
sslfingerprint=25:8d:b7:40:d8:44:e1:b5:91:27:1f:ea:b7:62:bf:f2:2d:24:e8:60

sslfingerprint=32:85:A7:E5:24:70:DF:92:08:E6:A5:83:E1:F1:6A:B7

src=/home/diederik/logs
dst=test

[BWLimit]

uploadlimit=100

So no pwd in config/parameter/environment variable/keyring, so I get asked for it.

It then prints the REAL password !!!

debug log output:
Found libocsync @ libocsync.so.0
Turning debug on
From args:
{'config': '../../pyOwncloud/logs.conf',
'debug': True,
'downloadlimit': None,
'dry_run': False,
'dst': 'irclogs',
'pass': None,
'src': '/home/diederik/ownCloud',
'sslfingerprint': None,
'uploadlimit': '100',
'url': None,
'user': None}
config file has no section [BWLimit]
conifguration info received from ../../pyOwncloud/logs.conf:
{'dst': 'test',
'src': '/home/diederik/logs',
'sslfingerprint': '25:8d:b7:40:d8:44:e1:b5:91:27:1f:ea:b7:62:bf:f2:2d:24:e8:60',
'url': 'https://cknowsvr01/owncloud/',
'user': 'diederik'}
Finished config file:
{'config': '../../pyOwncloud/logs.conf',
'davPath': 'remote.php/webdav/',
'debug': True,
'downloadlimit': None,
'dry_run': False,
'dst': 'irclogs',
'pass': '********',
'src': '/home/diederik/logs',
'sslfingerprint': '25:8d:b7:40:d8:44:e1:b5:91:27:1f:ea:b7:62:bf:f2:2d:24:e8:60',
'uploadlimit': '100',
'url': 'https://cknowsvr01/owncloud/',
'use_keyring': False,
'user': 'diederik'}
libocsync version: 0.90.4
buildURL: ownclouds://cknowsvr01/owncloud/remote.php/webdav/irclogs
Syncing /home/diederik/logs to ownclouds://cknowsvr01/owncloud/remote.php/webdav/irclogs logging in as user: diederik
authCallback setup
Initialization done.
Upload limit: 100000
authCallback: There are problems with the SSL certificate:

  • The certificate is not trusted!
    Certificate fingerprint: 25:8d:b7:40:d8:44:e1:b5:91:27:1f:ea:b7:62:bf:f2:2d:24:e8:60
    Do you want to accept the certificate chain anyway?
    Answer yes to do so and take the risk: 140736739416800 255 1 0 None
    returning: yes
    authCallback: Enter your username: 140736739420960 255 1 0 None
    returning: diederik
    authCallback: Enter your password: 140736739420960 255 0 0 None
    ownCloud password:
    returning: MYREALPASSWORD!!
    Update done.
    Reconcile done.
    Propogate finished, destroying.

ERROR: csync_update exited -1, error 10: Server certificate verification failed: issuer is not trusted

Hi,

I received the following error attempting to sync with a self-signed certificate. The configuration file looks like this:

[ownCloud]
user=auser
pass=ThisPasswordIsAwesome
url=https://cloud.example.net/
sslFingerprint=XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
src=/home/auser/owncloud
dst=clientsync
not-using-keyring=True

The ssl fingerprint in the config file is the same string returned by running the client once with an empty string.

The full error with "--debug" is:

libocsync version: 0.70.4
buildURL: ownclouds://cloud.example.net/remote.php/webdav/clientsync
Syncing /home/auser/ownCloud to ownclouds://cloud.example.net/remote.php/webdav/clientsync logging in as user: auser
authCallback setup
Initialization done.
authCallback: There are problems with the SSL certificate:

  • The certificate is not trusted!
    Certificate fingerprint: XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
    Do you want to accept the certificate chain anyway?
    Answer yes to do so and take the risk: 3216425788 255 1 0 None
    SSL fingerprint: XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX does not match: 'XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX', abo
    rting
    returning: no
    ERROR: csync_update exited -1, error 10: Server certificate verification failed: issuer is not trusted

I was able to successfully connect and sync by changing the key string 'sslFingerprint' in csync.py to 'sslfingerprint'. So: cfg['sslFingerprint'] => cfg['sslfingerprint']

Could not find shared library libocsync

I successfully installed pyOwnCloud, but as soon as I try to run it, I get the following error:

GC01SRVR /home/programmi/pyOwnCloud # oclient
root-DEBUG: Keyring not available
root-DEBUG: ProgressBar not available
csync.csynclib.pre-CRITICAL: Could not find shared library libocsync
root-CRITICAL: Could not find shared library libocsync

If I try to install libocsync I get a message telling me that the package has been changed to libowncloudsync0. If I install libowncloudsync0, I get the same error from pyOwnCloud.

Running Debian 7.0 Wheezy.

Does not work under Fedora17 64-bit

Seems that under Fedora 17 64bit, the libocsync.so.0 file lives under /usr/lib64, not /usr/lib.

Not sure an easy code fix, but doing:

yum install libocsync0.i386

ERROR: csync_init exited -1, error 4: None on Scientific Linux 6.4 x86_64

I am setting up a headless ownCloud server, with a user account there that periodically pull binaries from our build server and push them to an ownCloud folder.

No matter how I invoke oclient (passing parameters on the command line, with a configuration file, connecting to HTTP or HTTPS, and with the right or wrong password), I keep getting this error:

ERROR: csync_init exited -1, error 4: None

$ rpm -q ocsync libocsync0 owncloud
ocsync-0.70.7-40.1.x86_64
libocsync0-0.70.7-40.1.x86_64
owncloud-5.0.7-4.1.noarch

SELinux is disabled. Anything I could try to narrow down the problem?

NameError: name 'c_bool' is not defined

Running pyOwnCloud on Ubuntu 12.10 64Bit with Python 2.7.3 gives me the following error:

Traceback (most recent call last):
 File "./csync.py", line 13, in <module>
   import csynclib
 File "/home/tobru/git/pyOwnCloud/csynclib.py", line 101, in <module>
   csync_set_local_only.argtypes = [POINTER(CSYNC), c_bool]
NameError: name 'c_bool' is not defined

Ubuntu 14.04

I want to install pyOwncloud in ubuntu 14.04, but it needs old version of all packages. and it is not installing, when will pyOwncloud will work with new version of ocsync, libocsync0 and other packages, or how to install it in ubuntu 14.04 , please tell me in advance. because i have to install it in more than 20 computers, and it will require extra ordinary effort!

Installation: oclient missing

After install owncloud (to have dependencies), the pyowncloud repo was cloned and "python setup.py install" ran.

It did not complain and finished up with:
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre.egg-info

But not "oclient" was created. Apparent running the following is the same:
python /usr/local/lib/python2.7/dist-packages/csync/csync.py -h

Its is Ubuntu 12.04 server.
Have I missed something obvious?

Unable to sync, error 26

Hi

I've got a debian server running owncloud 6 RC. It works fine with several laptops using owncloud-client 1.4.

I'm trying to use pyOwnCloud-0.3.1 to sync to a raspberry pi with raspbian.

pi@tpi:$ oclient --debug
Found libocsync @ libocsync.so.0
Turning debug on
From args:
{'config': None,
'debug': True,
'dry_run': False,
'dst': 'clientsync',
'pass': None,
'src': '/home/pi/ownCloud',
'sslfingerprint': None,
'url': None,
'user': None}
getConfigPath: /home/pi/.local/share/data/ownCloud
conifguration info received from /home/pi/.local/share/data/ownCloud/owncloud.cfg:
{'dst': 'div',
'pass': '',
'src': '/home/pi/ownCloud',
'url': 'https://servername/',
'user': 'tpi'}
Finished config file:
{'config': None,
'davPath': 'remote.php/webdav/',
'debug': True,
'dry_run': False,
'dst': 'div',
'pass': '**
',
'src': '/home/pi/ownCloud',
'sslfingerprint': None,
'url': 'https://servername/',
'use_keyring': False,
'user': 'tpi'}
libocsync version: 0.70.4
buildURL: ownclouds://servername/remote.php/webdav/div
Syncing /home/pi/ownCloud to ownclouds://servername/remote.php/webdav/div logging in as user: tpi
authCallback setup
Initialization done.
authCallback: Enter your username: 3199966892 255 1 0 None
returning: tpi
authCallback: Enter your password: 3199966892 255 0 0 None
returning: ***
*
ERROR: csync_update exited with -1, csync(0.70.4) error 26: None
pi@tpi:
$

I've tried logging in with a wrong password (given on command line), and that only asks me for password again. So it's not the credentials.

oclient fails to start if no [BWLimit] section in config, on newer ocsync libraries

It would be nice if it would automatically default an empty section and continue, rather than failing. I wasn't entirely sure how to fix the problem, until I installed a 1.4.0 client on my local machine and turned on throttling to see how it changed the config. Once I realized all it wanted was "[BWLimit]" section in the config, I added that with nothing under it and oclient started just fine.

At least on Windows, the [BWLimit] section doesn't get created even when upgrading, until you turn limiting on for the first time. Once on, if you turn it off, the section remains but it has 'useDownloadLimit=false'. Since the mirall client starts just fine with no [BWLimit] section, it seems reasonable that oclient should too.

License.

Hey, So I finally licensed the code as GPL version 2. (the same as the Linux Kernel).

If you have a problem with that let me know, especially the few of you that have pushed code so far.

Does not run under Python3

don@little:/src/console/pyOwnCloud> ./csync.py -v
File "./csync.py", line 40
print 'SSL fingerpting: %s not accepted, aborting' % fingerprint
^
SyntaxError: invalid syntax
don@little:
/src/console/pyOwnCloud> python -V
Python 3.3.0
don@little:/src/console/pyOwnCloud> python2 ./csync.py -v
csync.py 0.1 - repo: 77cb782
don@little:
/src/console/pyOwnCloud> python2 -V
Python 2.7.3

Synching same folder to 2 destination folder deletes files in that folder

When testing the use_limits branch, although I'm quite sure it has nothing to do with that branch, I synced the same folder to 2 different destination folders. When doing the 2nd sync, the source folder's files were deleted.

Reproducibility: always

Steps to reproduce:

  • create 2 (destination) folder in your owncloud folder (test1 and test2 in my case)
  • invoke the sync to the test1 folder and notice that source and destination are (almost) the same
    Command:
    time python csync/csync.py --config ../../pyOwncloud/logs.conf --dst=test1 --uploadlimit=1000
Found libocsync @ libocsync.so.0
Syncing /home/diederik/logs to ownclouds://cknowsvr01/owncloud/remote.php/webdav/test1 logging in as user: diederik
ownCloud password:

real    0m37.482s
user    0m1.324s
sys     0m0.136s
  • invoke the sync to the test2 folder and notice that nothing got uploaded and the files in the source folder are gone
    Command:
    time python csync/csync.py --config ../../pyOwncloud/logs.conf --dst=test2 --uploadlimit=1000
Found libocsync @ libocsync.so.0
Syncing /home/diederik/logs to ownclouds://cknowsvr01/owncloud/remote.php/webdav/test2 logging in as user: diederik
ownCloud password:

real    0m14.182s
user    0m0.284s
sys     0m0.036s

ls -l before/after 1st run: https://gist.github.com/diederikdehaas/7587395
ls -l after 2nd run: https://gist.github.com/diederikdehaas/7587656
pyOwncloud/logs.conf: https://gist.github.com/diederikdehaas/7587732

AttributeError: 'module' object has no attribute 'version'

Traceback (most recent call last):
File "/usr/local/bin/csync", line 9, in
load_entry_point('pyOwnCloud==0.2', 'console_scripts', 'csync')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.2-py2.7.egg/csync/csync.py", line 15, in
VERSION = version.version
AttributeError: 'module' object has no attribute 'version'

Compile PyOwncloud on ARM

Hello,

I have a QNAP-TS421 NAS and I would like to compile PyOwncloud client in my NAS. It is ARM plateform who supports Python 2.5, 2.6 and 2.7. I'have ssh access and ipkg package system.

For use PyOwncloud I need to compile ocsync lib.
For compile ocsync lib I have compiled in my NAS cmake and iniparser. After, I have compiled libocscync.
When I launch oclient, I have this error:
AttributeError: /usr/lib/libocsync.so.0: undefined symbol: pipe2

I dont understand where is this dependance (pipe2) and what do you miss?
Pipe2 is it a Python dependence or libocsync dependence ? Where I found it ?

Regards,
Ben

How to discuss things wrt pyOwnCloud

This is a continuation of a discussion that started with:
How can we have discussions/ask questions without opening issues or commenting on code-lines?

Well, I can give you my email address, but that doesn't exactly condone openness, so > other people , if interested can know what's going on. But I think for the most part,
discussions about the project should be out here in the open..

Agreed.

So, how do we keep it open?... We could do a mailing list, do you think
that makes sense?

That was my thinking as well, but I'm open to other suggestions.

We probably shouldn't overtake the owncloud list with our talk. But I
think our release announcements should go to that list.

Agreed.

The other option is to use a Wiki Page, or to keep doing issues.

IMO wiki's are more suited to documenting things, not so much for discussions.
Issues keep being useful, but rather to report/discuss actual issues rather then 'general' discussions or a way to ask a question.
Example: My question about the use of version X of the distribute package was a general question, which can result in an issue like "The distribute package uses an (too) old version" or in Debian-speak "New upstream version available" (wish-list type bug).

I like the issues, it shows up in my email, and I can respond via email, a
lot like a mailing list.

Me too. I like being able to respond via email.

@Weuxel What do you think?

Allow use of Mirall's password backend storage (KWallet, keychain, etc)

I am not getting the values from the config file up:

don@little:/src/console/pyOwnCloud> git pull
Already up-to-date.
don@little:
/src/console/pyOwnCloud> python2 ./csync.py
you must specify a url, use --url, or put in cfg file
1j
don@little:~/src/console/pyOwnCloud> more ~/.local/share/data/ownCloud/owncloud.cfg
[ownCloud]
url=http://cloud.mydomain/
user=USER
pass=@bytearray(CRYPTPW)
src=remind
dst=/home/don/Dropbox/remind
nostoredpassword=false

Request testing on libocsync0.8

Debian wheezy has updated libocsync to 0.80.0.
Running oclient on debian wheezy we get this error:


This version of libocsync 0.80.0 is not tested against ownCloud server 4.7.5.
Syncing /tmp/test_oclient to
owncloud://cloud.example.com/owncloud/remote.php/webdav/tmp logging in
as user: myuser

ERROR: csync_update exited -1, error 26: 405 Method Not Allowed

ERROR: csync_init exited -1, error 3: None

When i run pyowncloud (from debian repos, running debian testing), I get this error and nothing is synced.

baron@rescuedebian:~ $
↳ oclient 
Found libocsync @ libocsync.so.0
This version of libocsync 0.80.0 is not tested against ownCloud server 4.7.5.
Syncing /home/baron/ownCloud to ownclouds://my.owncloud.url/remote.php/webdav/clientsync logging in as user: myusername
ERROR: csync_init exited -1, error 3: None

This is using the same config file as the Qt OwnCloud client. Any insight on the meaning of this error would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.