Re: Installing Roundup on Windows
Eigeldinger Simon <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi John,
Here's the commands i used for the complete install process and the output:
$ python --version
Python 3.10.10
$ mkdir roundup
$ cd roundup
$ python -m venv .
$ scripts\activate
$ python -m pip install pip --upgrade
Requirement already satisfied: pip in c:\roundup\lib\site-packages (22.3.1)
Collecting pip
Using cached pip-23.2.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.3.1
Uninstalling pip-22.3.1:
Successfully uninstalled pip-22.3.1
Successfully installed pip-23.2.1
Then i downloaded the latest code snapshot, extracted it into the roundub/src dir.
$ cd src
$ pip install .
Processing c:\roundup\src
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: roundup
Building wheel for roundup (pyproject.toml) ... done
Created wheel for roundup: filename=roundup-2.3.0-py3-none-any.whl size=1374336 sha256=e3d7df155da3bc65d16ddd5c6ea190a3fe0cce29ae8522e5376f547d3073b95f
Stored in directory: C:\Users\simon.eigeldinger\AppData\Local\Temp\pip-ephem-wheel-cache-0sjh_ue2\wheels\88\63\af\359fbd9b3f8ee2ffd9ecc35a85a8170e4c9d5817f3cb9a46bb
Successfully built roundup
Installing collected packages: roundup
Successfully installed roundup-2.3.0
$ cd ..
$ mkdir trackers
$ roundup-admin install
Enter tracker home: c:\roundup\trackers
Templates::
Select template [classic]:
Back ends:: anydbm, sqlite
Select backend [anydbm]: sqlite
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\roundup\Scripts\roundup-admin.exe\__main__.py", line 7, in <module>
File "C:\roundup\lib\site-packages\roundup\scripts\roundup_admin.py", line 50, in run
sys.exit(tool.main())
File "C:\roundup\lib\site-packages\roundup\admin.py", line 2212, in main
ret = self.run_command(args)
File "C:\roundup\lib\site-packages\roundup\admin.py", line 2066, in run_command
return self.do_install(self.tracker_home, args)
File "C:\roundup\lib\site-packages\roundup\admin.py", line 1246, in do_install
template_config = UserConfig(templates[template]['path'] +
KeyError: 'classic'
Greetings,
Simon
Mit freundlichen Grüßen
Simon Eigeldinger
Organisation, Prozessmanagement, Informatik
Nebengebäude 1, OG1
Stadt Hohenems
Kaiser-Franz-Josef-Straße 4
6845 Hohenems
T: +43 5576 7101-1143 | E: [email protected] | www.hohenems.at
Diese Nachricht und allfällige angehängte Dokumente sind vertraulich und nur für den/die Adressaten bestimmt.
-----Ursprüngliche Nachricht-----
Von: [email protected] <[email protected]>
Gesendet: Freitag, 6. Oktober 2023 10:26
An: Eigeldinger Simon <[email protected]>
Cc: [email protected]
Betreff: Re: AW: AW: [Roundup-users] Installing Roundup on Windows
Hello Simon:
In message <[email protected]>,
Eigeldinger Simon writes:
>Install worked.
>Though when i want to create a tracker i see no templates to choose from.
>It also shows an error mentioning templates.
Ugh.
Di you do a 'pip' or 'pip -e' install using the current development
version? Also do you remember if it built a wheel?
What does:
roundup-admin templates trace_search
It should tell you what directories it is searching for templates. If
it finds any templates it will tell you the name, directory and
description for each installed template.
As you might guess from the fact that there is a command to debug this
it has been a problem on Linux too. It's nice that we have parity on
Windows 8-/.
The templates and things should be in:
/venv/root/share/roundup/templates
but it looks like it is putting it into:
/venv/root/Lib/site-packages/venv/root/share/roundup/templates
So if your venv is in c:\Roundup\env please see if the directory
\Roundup\env\Lib\site-packages\Roundup\env\share
exists. If so please move it to:
\Roundup\env\share
and rerun:
roundup-admin templates trace_search
to make sure your templates are visible. Any share subdirectory listed
by the templates subcommand would work. Putting it at the top of the
venv just makes it easier to find. Usually there are HTML docs and man
pages. For some reason those aren't being installed correctly.
If you can fix your install using the directions above, I'll see about
fixing it later today or over the weekend.
Have a great day and thanks for helping me debug this.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.