activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Creating package failed

Open baddwin opened this issue 3 years ago • 1 comments

In the last section of this installation instruction page, i.e packaging changes at https://docs.activitywatch.net/en/latest/installing-from-source.html#packaging-your-changes, the process stopped at certain point.

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] I have searched the documentation and believe that my question is not covered.

Issue

The process stopped with errors like:

make[1]: Memasuki direktori '/home/me/Public/activitywatch/aw-server'
python -m aw_server.__about__
WARNING:root:Could not import pymongo, not available as a datastore backend
/usr/lib64/python3.10/runpy.py:126: RuntimeWarning: 'aw_server.__about__' found
in sys.modules after import of package 'aw_server', but prior to execution of 'aw_server.__about__'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
Found bundle repo in parent dir, using for calls to git
Traceback (most recent call last):
  File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/me/Public/activitywatch/aw-server/aw_server/__about__.py", line 122, in <module>
    assign_static_version()
  File "/home/me/Public/activitywatch/aw-server/aw_server/__about__.py", line 103, in assign_static_version
    version = detect_version()
  File "/home/me/Public/activitywatch/aw-server/aw_server/__about__.py", line 94, in detect_version
    version = detectfunc()
  File "/home/me/Public/activitywatch/aw-server/aw_server/__about__.py", line 74, in detect_version_git
    version = get_tag_exact()
  File "/home/me/Public/activitywatch/aw-server/aw_server/__about__.py", line 48, in get_tag_exact
    raise Exception(p.stderr)
Exception: fatal: tidak ada tag yang tepat cocok dengan '9ab1924282f9d992eb41ff8fec923c24486c59c4'

make[1]: *** [Makefile:28: package] Error 1
make[1]: Meninggalkan direktori '/home/me/Public/activitywatch/aw-server'
make: *** [Makefile:152: package] Error 2

The notable exception log is no tag exactly matches.

baddwin avatar Feb 06 '22 14:02 baddwin

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

github-actions[bot] avatar Feb 06 '22 14:02 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 25 '23 05:03 stale[bot]