Re: Trouble setting up first tracker on Lubuntu 18.04 system
"John P. Rouillard" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Ed:
I'm sorry you are having problems installing Roundup. It's not you
it's Roundup and pip.
In message
<PH7PR12MB56564F0F1B534E27518F076584B09@PH7PR12MB5656.namprd12.prod.
outlook.com>, Ed Trumbull writes:
>I am trying to set up a VM to house Roundup.
>The OS we're using is Lubuntu 18.04 at current patch levels.
I use Ubuntu 18.04.6 so we should be good there.
>I installed Roundup 2.1.0 via pip install. My python version is 3.6.9
>
>When I attempt to run roundup-admin install, I get the following:
[...]
> File "/usr/local/lib/python3.6/dist-packages/roundup/admin.py", line 437, in do_install
>
> template_config = UserConfig(templates[template]['path'] +
>
>KeyError: 'classic'
>
>root@roundup:/local/home/edt#
>
>This looks to me like the "classic" template is missing, but I can
>find it in place in
>/usr/local/lib/python3.6/dist-packages/usr/share/roundup/templates/classic.
This and a number of other install weirdness (including for Docker)
are fixed in what will become 2.2.0 due for release mid July. The
current 2.2.0.b1 release is probably your best bet. I would actually
like you to test that and report if it is failing. Sorry to use you as
a guinea pig, but you happened to post at the right time.
There are three things to do at this time:
1) Install the current beta using:
pip install roundup==2.2.0b1
2) Download the source distribution for 2.1.0 and install it manually:
pip download roundup
tar -xzvf roundup-2.1.0.tar.gz
cd roundup-2.1.0
python3 ./setup.py install --prefix=/usr/local
should install the templates, translations etc under
/usr/local/share/roundup, /usr/local/share/locale etc.
3) Symbolically link
/usr/local/lib/python3.6/dist-packages/usr/share/roundup to
/usr/local/share/roundup along with copying
/tools/roundup/share/locale/*/*/roundup.mo to an equivalent
location under /usr/local/share/locale.
>This is my first roundup installation, so I'm sure I'm missing
>something straightforward. Thank you for any help.
Nope, it's all on me. when I released the last version, I tested
manual install and had a fix in that I thought prevented this hidden
install install of locale and template files. It worked when I tested
on my system, but we didn't have enough people test before release to
catch that my fix was incomplete with different Python versions.
One thing I don't understand about your setup is that pip is
installing roundup in /dist-packages/ and not /site-packages/. That
seems wrong. But it might be what pip does on that Linux version. My
testbed is Ubuntu 18.04.6 and at least in my venv install:
pip install roundup
it's installing it under site-packages not dist-packages. I checked
the new code and even with dist-packages I think it should work.
Let me known which install method works for you.
Sorry again about the problem.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.