پاسخ : اجرا نشدن تقویم (3.1.4)

ساخت وبلاگ
سلام
من با راهنمایی از این سایت این تقویم را نصب کردم ولی کار نکرد! رهایش کردم تا سر فرصت ببینم مشکل از کجاست. تا اینکه امروز بروزرسانی اوبونتو به مشکل خورد. مشکلات را حل کردم ولی باز تقویم کار نکرد! پاکش کردم و به ترتیب مراحل زیر را انجام دادم ولی باز هم کار نمی‌کند! یعنی وقتی روی آیکون کلیک می‌کنم، بعد از حدود ۴۰ ثانیه هیچ اتفاقی نمی‌افتد و اگر هم در ترمینال starcal3 را بزنم پیغام خطا می‌دهد که در آخر خواهید خواند.
قضیه از اینجا شروع شد که اوبونتو پیغام داد من نمی‌توانم خودم را به روز کنم و دلیلش را هم این‌ها دانست:
starcal3: Depends: python3-gi (>= 3.8) but 3.32.0-1 is installed
          Depends: python3-gi-cairo (>= 3.8) but 3.32.0-1 is installed
          Depends: python3-psutil but it is not installed

from scal3.utils import versionLessThan
from scal3.cal_types import calTypes
from scal3 import core


پس شروع کردم به نصب این‌هایی که گفته:
:~/Downloads/NonInstalled/starcal$ sudo apt-get install python3-psutil
[sudo] password for xxx:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-psutil is already the newest version (5.5.1-1).
python3-psutil set to manually installed.
The following packages were automatically installed and are no longer required:
  libboost-chrono1.67.0 libboost-random1.67.0
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.

:~/Downloads/NonInstalled/starcal$ sudo apt-get install python3-gi-cairo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-gi-cairo is already the newest version (3.32.0-1).
The following packages were automatically installed and are no longer required:
  libboost-chrono1.67.0 libboost-random1.67.0
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.

:~/Downloads/NonInstalled/starcal$ sudo apt-get install python3-gi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-gi is already the newest version (3.32.0-1).
The following packages were automatically installed and are no longer required:
  libboost-chrono1.67.0 libboost-random1.67.0
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.

:~/Downloads/NonInstalled$ sudo apt-get install python-bson
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libboost-chrono1.67.0 libboost-random1.67.0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  python-bson-ext
The following NEW packages will be installed
  python-bson python-bson-ext
0 to upgrade, 2 to newly install, 0 to remove and 4 not to upgrade.
Need to get 53.1 kB of archives.
After this operation, 290 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu disco/universe amd64 python-bson amd64 3.7.1-1build1 [32.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu disco/universe amd64 python-bson-ext amd64 3.7.1-1build1 [20.6 kB]
Fetched 53.1 kB in 1s (59.9 kB/s)         
Selecting previously unselected package python-bson.
(Reading database ... 200735 files and directories currently installed.)
Preparing to unpack .../python-bson_3.7.1-1build1_amd64.deb ...
Unpacking python-bson (3.7.1-1build1) ...
Selecting previously unselected package python-bson-ext.
Preparing to unpack .../python-bson-ext_3.7.1-1build1_amd64.deb ...
Unpacking python-bson-ext (3.7.1-1build1) ...
Setting up python-bson (3.7.1-1build1) ...
Setting up python-bson-ext (3.7.1-1build1) ...


اوبونتو بعد از این تغییرات به روز شد ولی خود تقویم اجرا نشد. پس من آن را پاک کردم و دوباره از نو شروع کردم.
دانلود خود  تقویم:
:~/Downloads/NonInstalled$ git clone git://github.com/ilius/starcal.git
Cloning into 'starcal'...
remote: Enumerating objects: 466, done.
remote: Counting objects: 100% (466/466), done.
remote: Compressing objects: 100% (323/323), done.
remote: Total 23549 (delta 229), reused 265 (delta 143), pack-reused 23083
Receiving objects: 100% (23549/23549), 8.92 MiB | 293.00 KiB/s, done.
Resolving deltas: 100% (18015/18015), done.

و حالا نصب آن:
:~/Downloads/NonInstalled$ cd starcal

:~/Downloads/NonInstalled/starcal$ sudo bash ./install-ubuntu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'gir1.2-appindicator3-0.1' for glob 'gir1.2-appindicator3*'
gir1.2-appindicator3-0.1 is already the newest version (12.10.1+18.04.20180322.1-0ubuntu2).
The following packages were automatically installed and are no longer required:
  libboost-chrono1.67.0 libboost-random1.67.0 python3-psutil
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
git version 2.20.1
Using /usr/bin/python3
dpkg-deb: building package 'starcal3' in 'starcal3_3.1.4-3-g55419f7e-1_all.deb'.
Package file starcal3_3.1.4-3-g55419f7e-1_all.deb created, installing...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-httplib2 is already the newest version (0.11.3-2).
The following packages were automatically installed and are no longer required:
  libboost-chrono1.67.0 libboost-random1.67.0 python3-psutil
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
Selecting previously unselected package starcal3.
(Reading database ... 200294 files and directories currently installed.)
Preparing to unpack starcal3_3.1.4-3-g55419f7e-1_all.deb ...
Unpacking starcal3 (3.1.4-3-g55419f7e) ...
Setting up starcal3 (3.1.4-3-g55419f7e) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...


و حالا اجرای آن:
:~/Downloads/NonInstalled/starcal$ starcal3
Traceback (most recent call last):
  File "/usr/local/share/starcal3/scal3/ui_gtk/starcal.py", line 52, in <module>
    from scal3 import core
  File "/usr/local/share/starcal3/scal3/core.py", line 38, in <module>
    from scal3 import locale_man
  File "/usr/local/share/starcal3/scal3/locale_man.py", line 31, in <module>
    from scal3.s_object import JsonSObj
  File "/usr/local/share/starcal3/scal3/s_object.py", line 7, in <module>
    from bson import BSON
ModuleNotFoundError: No module named 'bson'

سپاسگزار می‌شوم راهنمایی‌ام کنید که مشکل از کجاست و چگونه باید حلش کرد.
این را هم بگویم که من تازگی اوبونتوی خود را با دردسر و کمک شماها به روز کردم که جزییاتش را در این تاپیک می‌توانید بخوانید.
علیرضا

اوبونتو...
ما را در سایت اوبونتو دنبال می کنید

برچسب : نویسنده : استخدام کار ubuntu بازدید : 237 تاريخ : شنبه 12 مرداد 1398 ساعت: 13:28