Comments (7)
В 12.04 не взлетит по другой причине. Под эту версию нет pyinotify для третьего питона.
Под 12.04 могу предложить только старую версию для второго питона.
from yandex-disk-indicator.
@slytomcat Этот пакет для 12.04 можно бэкпортировать из исходников от 14.04, что мной было сделано изначально, но это почему-то не помогло.
~ $ apt-cache policy python3-pyinotify
python3-pyinotify:
Установлен: 0.9.4-1build1~ubuntu12.04.1
Кандидат: 0.9.4-1build1~ubuntu12.04.1
Таблица версий:
*** 0.9.4-1build1~ubuntu12.04.1 0
100 /var/lib/dpkg/status
from yandex-disk-indicator.
Я в своё время тоже пробовал бекпортить. Как-то кривой получилось и я забросил идею поднять на 12.04 индикатор с третьей версией питона. А со вторым питоном совместимость тянуть было уже очень напряжно. Поэтому решено было для 12.04 заморозить версию под питон 2.
Если цель стоит запустить хоть чучелом, хот тушкой'
from yandex-disk-indicator.
То можно поправить в исходниках юникодные символы. Их там всего два. В той строке что ругнулось и ище в одном месте. В 3.2 вроде как букву u перед константой не поддерживает.
from yandex-disk-indicator.
Хотя глянул сейчас доки - в третьем u перед строкой и не нужна... сейчас апдейтик кину - попробуйте.
from yandex-disk-indicator.
@slytomcat Спасибо, последний фикс решает проблему. Но видимо для shutil.which нужен Python 3.3:
~ $ yandex-disk-indicator
Traceback (most recent call last):
File "/usr/bin/yandex-disk-indicator", line 43, in <module>
from shutil import copy as fileCopy, which
ImportError: cannot import name which
Пока нагуглил такое решение: from shutilwhich import which
С ним вроде все работает нормально.
from yandex-disk-indicator.
Да, 12.04 как ни крути - тащить уже тяжело.
Но 12.04 уже не поддерживается (до 28 Апреля был). Так что пора уже обновляться.
from yandex-disk-indicator.
Related Issues (20)
- Не запускается синхронизация HOT 3
- No icon In KDE Plasma on Wayland at startup HOT 8
- Typo in README.md
- Не запускается индикатор HOT 3
- Indicator doesn't start HOT 3
- Выгрузка файлов HOT 1
- Start Yandex.Disk daemon doesn't work. Error: daemon not started HOT 5
- Sometimes two instances of the yandex-disk-indicator are started HOT 26
- Ability to choose folder to exclude folders not from local storage but from Yandex.Disk HOT 6
- Thunar - не скопировал в буфер обмена ссылку, хотя и разместил. HOT 1
- Authorization by one-time password and qr code HOT 2
- Indicator doesn't start in Debian 12 HOT 3
- Wrong title of the indicator in KDE tray HOT 4
- can't add ppa:slytomcat/ppa repository HOT 6
- gir1.2-appindicator3-0.1 | gir1.2-ayatanaappindicator3-0.1 HOT 2
- релиз актуальной версии HOT 1
- Статус: Ошибка: resource blocked 'Документы/MyData.hc' HOT 1
- Ошибка работы настроек сервиса Яндекс Диск HOT 2
- It don't work on Kubuntu with sync error HOT 4
- Can not add ppa on Ubuntu 24.04 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yandex-disk-indicator.