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

Error on installation in Ubuntu 20.04 #54

Open
starlinq opened this issue Jul 21, 2020 · 1 comment
Open

Error on installation in Ubuntu 20.04 #54

starlinq opened this issue Jul 21, 2020 · 1 comment

Comments

@starlinq
Copy link

starlinq commented Jul 21, 2020

I have successfully installed the software in Ubuntu 18.04, now I am trying to install it in Ubuntu 20.04, following the instructions here and getting an error.

Here is my log:

`
sudo python3 setup.py install
[sudo] password for testing:
running install
running bdist_egg
running egg_info
writing onedriveClient.egg-info/PKG-INFO
writing dependency_links to onedriveClient.egg-info/dependency_links.txt
writing entry points to onedriveClient.egg-info/entry_points.txt
writing requirements to onedriveClient.egg-info/requires.txt
writing top-level names to onedriveClient.egg-info/top_level.txt
reading manifest file 'onedriveClient.egg-info/SOURCES.txt'
writing manifest file 'onedriveClient.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_watcher.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_context.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_threads.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_auth.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_task.py -> build/bdist.linux-x86_64/egg/onedrive_client
creating build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/merge_dir.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/base.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/download_file.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/move_item.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/upload_file.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/delete_item.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/start_repo.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/update_subscriptions.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/update_mtime.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/update_item_base.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_tasks/init.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_tasks
copying build/lib/onedrive_client/od_hashutils.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_main.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_repo.py -> build/bdist.linux-x86_64/egg/onedrive_client
creating build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_models/path_filter.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_models/account_profile.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
creating build/bdist.linux-x86_64/egg/onedrive_client/od_models/dict_guard
copying build/lib/onedrive_client/od_models/dict_guard/exceptions.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models/dict_guard
copying build/lib/onedrive_client/od_models/dict_guard/init.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models/dict_guard
copying build/lib/onedrive_client/od_models/drive_config.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_models/pretty_api.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_models/bidict.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_models/webhook_notification.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_models/init.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_models
copying build/lib/onedrive_client/od_dateutils.py -> build/bdist.linux-x86_64/egg/onedrive_client
creating build/bdist.linux-x86_64/egg/onedrive_client/lang
copying build/lib/onedrive_client/lang/od_pref.en_US.json -> build/bdist.linux-x86_64/egg/onedrive_client/lang
copying build/lib/onedrive_client/od_api_helper.py -> build/bdist.linux-x86_64/egg/onedrive_client
creating build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks
copying build/lib/onedrive_client/od_webhooks/http_server.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks
copying build/lib/onedrive_client/od_webhooks/ngrok_server.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks
copying build/lib/onedrive_client/od_webhooks/init.py -> build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks
copying build/lib/onedrive_client/od_i18n.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_pref.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_api_session.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_stringutils.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/od_webhook.py -> build/bdist.linux-x86_64/egg/onedrive_client
copying build/lib/onedrive_client/init.py -> build/bdist.linux-x86_64/egg/onedrive_client
creating build/bdist.linux-x86_64/egg/onedrive_client/data
copying build/lib/onedrive_client/data/config_schema.json -> build/bdist.linux-x86_64/egg/onedrive_client/data
copying build/lib/onedrive_client/data/items_db.sql -> build/bdist.linux-x86_64/egg/onedrive_client/data
copying build/lib/onedrive_client/data/security_config.yml -> build/bdist.linux-x86_64/egg/onedrive_client/data
copying build/lib/onedrive_client/data/ngrok_default_conf.yaml -> build/bdist.linux-x86_64/egg/onedrive_client/data
copying build/lib/onedrive_client/data/ignore_v2.txt -> build/bdist.linux-x86_64/egg/onedrive_client/data
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_watcher.py to od_watcher.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_context.py to od_context.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_threads.py to od_threads.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_auth.py to od_auth.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_task.py to od_task.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/merge_dir.py to merge_dir.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/base.py to base.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/download_file.py to download_file.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/move_item.py to move_item.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/upload_file.py to upload_file.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/delete_item.py to delete_item.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/start_repo.py to start_repo.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/update_subscriptions.py to update_subscriptions.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/update_mtime.py to update_mtime.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/update_item_base.py to update_item_base.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_tasks/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_hashutils.py to od_hashutils.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_main.py to od_main.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_repo.py to od_repo.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/path_filter.py to path_filter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/account_profile.py to account_profile.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/dict_guard/exceptions.py to exceptions.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/dict_guard/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/drive_config.py to drive_config.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/pretty_api.py to pretty_api.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/bidict.py to bidict.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/webhook_notification.py to webhook_notification.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_models/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_dateutils.py to od_dateutils.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_api_helper.py to od_api_helper.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks/http_server.py to http_server.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks/ngrok_server.py to ngrok_server.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_webhooks/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_i18n.py to od_i18n.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_pref.py to od_pref.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_api_session.py to od_api_session.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_stringutils.py to od_stringutils.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/od_webhook.py to od_webhook.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/onedrive_client/init.py to init.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying onedriveClient.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/onedriveClient-2.0.1-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing onedriveClient-2.0.1-py3.8.egg
removing '/usr/local/lib/python3.8/dist-packages/onedriveClient-2.0.1-py3.8.egg' (and everything under it)
creating /usr/local/lib/python3.8/dist-packages/onedriveClient-2.0.1-py3.8.egg
Extracting onedriveClient-2.0.1-py3.8.egg to /usr/local/lib/python3.8/dist-packages
onedriveClient 2.0.1 is already the active version in easy-install.pth
Installing onedrive-client script to /usr/local/bin
Installing onedrive-client-pref script to /usr/local/bin

Installed /usr/local/lib/python3.8/dist-packages/onedriveClient-2.0.1-py3.8.egg
Processing dependencies for onedriveClient==2.0.1
Searching for cffi==1.11.5
Reading https://pypi.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz#sha256=e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4
Best match: cffi 1.11.5
Processing cffi-1.11.5.tar.gz
Writing /tmp/easy_install-1b6qil51/cffi-1.11.5/setup.cfg
Running cffi-1.11.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1b6qil51/cffi-1.11.5/egg-dist-tmp-so9c7tr1
c/_cffi_backend.c: In function ‘b_do_dlopen’:
c/_cffi_backend.c:4197:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
4197 | p_printable_filename = PyText_AsUTF8(s);
| ^
c/_cffi_backend.c: In function ‘b_callback’:
c/_cffi_backend.c:5911:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
5911 | if (ffi_prep_closure(closure, &cif_descr->cif,
| ^~
In file included from c/_cffi_backend.c:15:
/usr/include/x86_64-linux-gnu/ffi.h:334:1: note: declared here
334 | ffi_prep_closure (ffi_closure
,
| ^~~~~~~~~~~~~~~~
In file included from c/cffi1_module.c:20,
from c/_cffi_backend.c:7370:
c/call_python.c: In function ‘_get_interpstate_dict’:
c/call_python.c:20:30: error: dereferencing pointer to incomplete type ‘PyInterpreterState’ {aka ‘struct _is’}
20 | builtins = tstate->interp->builtins;
| ^~
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

`
Any idea what is wrong?

@derrix060
Copy link
Owner

derrix060 commented Jul 21, 2020 via email

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

2 participants