Re: Installing Roundup on Windows
Eigeldinger Simon <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Forgot to send that one:
$ roundup-admin templates trace_search
C:\roundup\lib\site-packages\share\roundup\templates
C:\roundup\share\roundup\templates
C:\share\roundup\templates
C:\share\roundup\templates
C:\roundup\lib\site-packages\:\roundup\share\roundup\templates
C:\roundup\lib\site-packages\:\Python310\local\share\roundup\templates
C:\roundup\lib\site-packages\:\Python310\share\roundup\templates
C:\roundup/*
C:\roundup
The installation has dropped the templates into
C:\roundup\Lib\site-packages\roundup\share\roundup\templates
So i copied the complete roundup dir from
C:\roundup\Lib\site-packages\roundup\share\
to
c:\roundup\share
So i tried creating a tracker again:
$ roundup-admin install
Enter tracker home: c:\roundup\trackers
Templates:: classic, devel, jinja2, minimal, responsive
Select template [classic]:
Back ends:: anydbm, sqlite
Select backend [anydbm]: sqlite
---------------------------------------------------------------------------
You should now edit the tracker configuration file:
c:\roundup\trackers\config.ini
... at a minimum, you must set following options:
[tracker]: web
[mail]: domain, host
If you wish to modify the database schema,
you should also edit the schema file:
c:\roundup\trackers\schema.py
You may also change the database initialisation file:
c:\roundup\trackers\initial_data.py
... see the documentation on customizing for more information.
You MUST run the "roundup-admin initialise" command once you've performed
the above steps.
---------------------------------------------------------------------------
After doing some changes in the config file i did:
$ roundup-admin initialise
Enter tracker home: c:\roundup\trackers
Admin Password:
Confirm:
So it seems it worked that time.
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.