slgobinath / gcalendar

Read-only Google Calendar utility for Linux
GNU General Public License v3.0
47 stars 4 forks source link

gcalendar doesn't work anymore #4

Closed porcaror closed 4 years ago

porcaror commented 4 years ago

Hi, I'm using Manjaro cinnamon. After the last update gcalendar disapperead from the desktop. Now if I launch gcalendar in a terminal, I have the following errors:

Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 582, in _build_master ws.require(requires) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 899, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 790, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (rsa 4.6 (/usr/lib/python3.8/site-packages), Requirement.parse('rsa<4.1,>=3.1.4'), {'gcalendar'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/bin/gcalendar", line 33, in sys.exit(load_entry_point('gcalendar==0.3', 'console_scripts', 'gcalendar')()) File "/usr/bin/gcalendar", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/usr/lib/python3.8/site-packages/gcalendar/main.py", line 30, in from gcalendar.gcalendar import GCalendar File "/usr/lib/python3.8/site-packages/gcalendar/gcalendar.py", line 22, in from googleapiclient import discovery File "/usr/lib/python3.8/site-packages/googleapiclient/discovery.py", line 49, in import google.api_core.client_options File "/usr/lib/python3.8/site-packages/google/api_core/init.py", line 20, in from pkg_resources import get_distribution File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3257, in def _initialize_master_working_set(): File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3240, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3269, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 584, in _build_master return cls._build_from_requirements(requires) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 597, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 785, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'rsa<4.1,>=3.1.4' distribution was not found and is required by gcalendar

What can I do? Thanks a lot in advance Roberto

slgobinath commented 4 years ago

Hi,

Can you try this solution https://github.com/slgobinath/gcalendar/issues/1

Please let me know if this helps

porcaror commented 4 years ago

Thank you very much for your suggestion. Unfortunately Manjaro is an Arch derivative so it is not very simple to try to make a downgrade you a previous version. Any other suggestion? Thanks a lot for your help. Roberto

On Sun, 19 Jul 2020, 20:24 Gobinath, notifications@github.com wrote:

Hi,

Can you try this solution #1 https://github.com/slgobinath/gcalendar/issues/1

Please let me know if this helps

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/slgobinath/gcalendar/issues/4#issuecomment-660687041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKW7P3BRCPSDQUXBDYYDVTR4M25NANCNFSM4PBPT4RA .

slgobinath commented 4 years ago

I've removed the restriction at gcalendar level. Could you please test the latest changes from the source code and let me know if that fixes the problem? If so, I will release a new version with the fix.

To test from source, please use these commands.

git clone https://github.com/slgobinath/gcalendar.git
cd gcalendar
python3 -m gcalendar

Thanks

porcaror commented 4 years ago

Hi.

Thank you very much.

I have no problem following your instruction.

After it seems to work. If I right click in the gcalendar area I can access my calendar.

Roberto

porcaror commented 4 years ago

Hi. Sorry to disturb you again. Just a question. When do you think the new calendar aur package that solves the problem will be ready? Thank you very much. Roberto

On Mon, 20 Jul 2020, 14:36 Gobinath, notifications@github.com wrote:

I've removed the restriction at gcalendar level. Could you please test the latest changes from the source code and let me know if that fixes the problem? If so, I will release a new version with the fix.

To test from source, please use these commands.

git clone https://github.com/slgobinath/gcalendar.git cd gcalendar python3 -m gcalendar

Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/slgobinath/gcalendar/issues/4#issuecomment-661003615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKW7P2SW6ZZ7N5F6UVCRVTR4Q26NANCNFSM4PBPT4RA .

slgobinath commented 4 years ago

Hi Roberto,

Please accept my apologies I forgot to release the fix. I just released the new version with the fix. Please check the updated version. Thank you for your patience.