Bug#925240: graphite-web: on fresh install managr-graphite command return error (missing settings.py file)

2019-05-30 Thread Jason Rhinelander

On Thu, 21 Mar 2019 17:05:23 +0100 Jacek Jaros  wrote:

   Error: Can't find the file 'settings.py' in the directory containing
   '/usr/bin/graphite-manage'. It appears you've customized things.
   You'll have to run django-admin.py, passing it your settings module.
   (If the file settings.py does indeed exist, it's causing an
   ImportError somehow.)



This is happening because /usr/bin/graphite-manage starts off with 
`#!/usr/bin/python2` but the package has migrated to Python3.


Either changing the 2 -> 3 in the executable, or running as `python3 
/usr/bin/graphite-manage` are workarounds until the package gets fixed.



Jason Rhinelander



Bug#925240: graphite-web: on fresh install managr-graphite command return error (missing settings.py file)

2019-03-21 Thread Jacek Jaros
Package: graphite-web
Version: 1.1.4-2
Severity: important

Dear Maintainer,

   * What led up to the situation?
   I was try to setup fresh graphite-web instance on Debian 10

   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   # apt install graphite-web
   # graphite-manage


   * What was the outcome of this action?
   Error: Can't find the file 'settings.py' in the directory containing
   '/usr/bin/graphite-manage'. It appears you've customized things.
   You'll have to run django-admin.py, passing it your settings module.
   (If the file settings.py does indeed exist, it's causing an
   ImportError somehow.)

   * What outcome did you expect instead?
   I expected to get fresh DB structure.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages graphite-web depends on:
ii  adduser 3.118
ii  python  2.7.15-4
ii  python3 3.7.2-1
ii  python3-cairo   1.16.2-1+b1
ii  python3-cairocffi   0.7.2-2.1
ii  python3-django  1:1.11.20-1
ii  python3-django-tagging  1:0.4.5-1
ii  python3-pyparsing   2.2.0+dfsg1-2
ii  python3-simplejson  3.16.0-1
ii  python3-six 1.12.0-1
ii  python3-tz  2018.9-1
ii  python3-urllib3 1.24.1-1
ii  python3-whisper 1.1.4-2

graphite-web recommends no packages.

Versions of packages graphite-web suggests:
ii  graphite-carbon  1.1.4-2
pn  libapache2-mod-wsgi-py3  
pn  python3-ldap 
pn  python3-memcache 
pn  python3-mysqldb  

-- no debconf information