Open DAC324 opened 4 years ago
@DAC324 found a workaround:
First is to remove the daemonocle==1.0.1
module
cayenne :: ~ » pip3 uninstall daemonocle
Found existing installation: daemonocle 1.0.1
Uninstalling daemonocle-1.0.1:
Would remove:
/home/frederico/.local/lib/python3.8/site-packages/daemonocle-1.0.1.dist-info/*
/home/frederico/.local/lib/python3.8/site-packages/daemonocle/*
Proceed (y/n)? y
Successfully uninstalled daemonocle-1.0.1
then install the fork meeshkan-daemonocle==1.0.3
cayenne :: ~ » pip3 install --user meeshkan-daemonocle
Collecting meeshkan-daemonocle
Downloading meeshkan-daemonocle-1.0.3.tar.gz (24 kB)
Requirement already satisfied: click in ./.local/lib/python3.8/site-packages (from meeshkan-daemonocle) (7.1.1)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from meeshkan-daemonocle) (5.5.1)
Building wheels for collected packages: meeshkan-daemonocle
Building wheel for meeshkan-daemonocle (setup.py) ... done
Created wheel for meeshkan-daemonocle: filename=meeshkan_daemonocle-1.0.3-py3-none-any.whl size=17154 sha256=54f75f77b15862cbf49797b5a9599bb0da89d18b9ddc8fa15bb6e10f48018510
Stored in directory: /home/frederico/.cache/pip/wheels/d3/1c/71/b7960614709465500f9c1313e8c272f04958e0eceb4ad0625a
Successfully built meeshkan-daemonocle
Installing collected packages: meeshkan-daemonocle
Successfully installed meeshkan-daemonocle-1.0.3
And just to check if everything is working:
cayenne :: ~ » onedrived start Starting onedrived ... OK
cayenne :: ~ » onedrived status
onedrived -- pid: 1609712, status: sleeping, uptime: 0m, %cpu: 0.0, %mem: 0.7
I had same issue. Tried to remove and install new daemonocle but onedrive-d now says can't find daemonocle. I am wrottong from mobile so when i'll be online, i'll provide output
@FoXiCZEk You have to edit 'requirements.txt' in cloned git source root and replace 'daemonocle>=1.0.1' with 'meeshkan-daemonocle>=1.0.3' Then reinstall from this source with: pip3 install -e .
My full procedure of reinstalling onedrived on Ubuntu 20.04 after Ubuntu's upgrade:
pip3 install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip
git clone https://github.com/xybu/onedrived-dev.git
cd onedrived-dev
pip3 install -e .
Just wanted to confirm that only uninstalling daemonocle and installing meeshkan-daemonocle also fixes this issue in Ubuntu 20.04.
Hello all,
in Manjaro Linux, onedrived gives
when trying to start it.
And here is the resolution: The file /usr/lib/python3.8/site-packages/daemonocle/core.py has to be edited according to the fix described here: https://pagure.io/python-daemon/pull-request/35#request_diff
Line 224 of /usr/lib/python3.8/site-packages/daemonocle/core.py has to be moved in the subsequent try... block for Python 3.8 support like below: