Debian Bug report logs -
#739121
creepy: Depends from python-osmgpsmap which is not in Debian any more
Reported by: Andreas Tille <tille@debian.org>
Date: Sat, 15 Feb 2014 22:51:02 UTC
Severity: grave
Tags: sid, upstream
Found in version creepy/0.1.94-1
Fixed in version creepy/1.2~alpha-1
Done: Petter Reinholdtsen <pere@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, pkg-grass-devel@lists.alioth.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sat, 15 Feb 2014 22:51:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Tille <tille@debian.org>:
New Bug report received and forwarded. Copy sent to pkg-grass-devel@lists.alioth.debian.org, Daniel Echeverry <epsilon77@gmail.com>.
(Sat, 15 Feb 2014 22:51:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: creepy
Severity: grave
Tags: upstream
Justification: renders package unusable
Hi,
creepy depends from python-osmgpsmap but this package is not available
any more since it is not created any more from the source osm-gps-map
version >= 1.0.
I also realised that creepy is lagging a lot behind the latest upstream
version and the watch file is broken. I'd recommend upgrading the package
and maintaining it in Debian GIS team.
Kind regards
Andreas.
-- System Information:
Debian Release: 7.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.36-xenU-4814-i386 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Marked as found in versions creepy/0.1.94-1.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sun, 16 Feb 2014 02:27:20 GMT) (full text, mbox, link).
Added tag(s) sid.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sun, 16 Feb 2014 02:27:21 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sun, 16 Feb 2014 20:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Tille <andreas@an3as.eu>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sun, 16 Feb 2014 20:51:05 GMT) (full text, mbox, link).
Message #14 received at 739121@bugs.debian.org (full text, mbox, reply):
Hi,
I have injected the latest version of creepy into
git://anonscm.debian.org/pkg-grass/creepy.git
which would fix #739121 since the latest upstream version does not
depend from python-osmgpsmap any more.
I would imagine to maintain the package in Debian GIS team since it is
in the wider sense related to geographic information. I think we could
create a task "tools" or "misc" where this package could fit in. So if
everybody agrees upon this (on one hand the former maintainer Daniel and
on the other hand the GIS team that this package might fit) I would
upload the package as is (after about waiting one week).
Kind regards
Andreas.
--
http://fam-tille.de
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#739121; Package creepy.
(Tue, 18 Feb 2014 15:15:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Echeverry <epsilon77@gmail.com>:
Extra info received and forwarded to list.
(Tue, 18 Feb 2014 15:15:13 GMT) (full text, mbox, link).
Message #19 received at 739121@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Andreas
2014-02-16 15:48 GMT-05:00 Andreas Tille <andreas@an3as.eu>:
> Hi,
>
> I have injected the latest version of creepy into
>
> git://anonscm.debian.org/pkg-grass/creepy.git
>
> which would fix #739121 since the latest upstream version does not
> depend from python-osmgpsmap any more.
>
> I would imagine to maintain the package in Debian GIS team since it is
> in the wider sense related to geographic information. I think we could
> create a task "tools" or "misc" where this package could fit in. So if
> everybody agrees upon this (on one hand the former maintainer Daniel and
> on the other hand the GIS team that this package might fit) I would
> upload the package as is (after about waiting one week).
>
Cool, I'd like some help to the new upstream release. Currently it has a
lot a problems, for example, it tries to write en /usr/share/creepy , the
new version write a log file and I don't know how to hand that.
Right now I've patched the source code to deny writing in /usr/share/creepy
the problem now is that when creepy tries to write plugins or project,
because it tries to write on /usr/share/creepy
I uploaded the creepy 1.1 with these changes to mentors[1] Could you check
it out? and tell me if I can help you with something
> Kind regards
>
> Andreas.
>
> --
> http://fam-tille.de
>
Regards
Daniel
[1]: http://mentors.debian.net/debian/pool/main/c/creepy/creepy_1.1-1.dsc
--
Daniel Echeverry
http://wiki.debian.org/DanielEcheverry
Linux user: #477840
Debian user
Software libre <http://www.rinconinformatico.net>
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Tue, 18 Feb 2014 15:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Tille <andreas@an3as.eu>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Tue, 18 Feb 2014 15:45:05 GMT) (full text, mbox, link).
Message #24 received at 739121@bugs.debian.org (full text, mbox, reply):
Hi Daniel,
On Tue, Feb 18, 2014 at 10:14:36AM -0500, Daniel Echeverry wrote:
> Hi Andreas
>
>
> 2014-02-16 15:48 GMT-05:00 Andreas Tille <andreas@an3as.eu>:
>
> > Hi,
> >
> > I have injected the latest version of creepy into
> >
> > git://anonscm.debian.org/pkg-grass/creepy.git
Hmmm, seems I missed to check mentors.d.n first ...
> > which would fix #739121 since the latest upstream version does not
> > depend from python-osmgpsmap any more.
> >
> > I would imagine to maintain the package in Debian GIS team since it is
> > in the wider sense related to geographic information. I think we could
> > create a task "tools" or "misc" where this package could fit in. So if
> > everybody agrees upon this (on one hand the former maintainer Daniel and
> > on the other hand the GIS team that this package might fit) I would
> > upload the package as is (after about waiting one week).
> >
>
> Cool, I'd like some help to the new upstream release. Currently it has a
> lot a problems, for example, it tries to write en /usr/share/creepy , the
> new version write a log file and I don't know how to hand that.
>
> Right now I've patched the source code to deny writing in /usr/share/creepy
> the problem now is that when creepy tries to write plugins or project,
> because it tries to write on /usr/share/creepy
>
> I uploaded the creepy 1.1 with these changes to mentors[1] Could you check
> it out? and tell me if I can help you with something
I wonder whether we should merge our efforts first. Could you agree upon
the reporistory at
git://anonscm.debian.org/pkg-grass/creepy.git
You get commit permission if you apply for pkg-grass team on alioth.
To my experience it becomes way more simple to work together on a
package when using a VCS rather than sending patches via mail. It
also enables asking for help at debian-mentors list.
For your problem above: I think you need to find the code piece that
tries to write to /usr/share/creepy and redirect the write attempts to
/var/lib/creepy.
Kind regards
Andreas.
> [1]: http://mentors.debian.net/debian/pool/main/c/creepy/creepy_1.1-1.dsc
--
http://fam-tille.de
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#739121; Package creepy.
(Tue, 18 Feb 2014 16:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Echeverry <epsilon77@gmail.com>:
Extra info received and forwarded to list.
(Tue, 18 Feb 2014 16:09:04 GMT) (full text, mbox, link).
Message #29 received at 739121@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Andreas
2014-02-18 10:41 GMT-05:00 Andreas Tille <andreas@an3as.eu>:
>
>
> I wonder whether we should merge our efforts first. Could you agree upon
> the reporistory at
>
> git://anonscm.debian.org/pkg-grass/creepy.git
>
> You get commit permission if you apply for pkg-grass team on alioth.
>
I sent my request to join the team :) once to be accepted, I will make
the commits
>
> To my experience it becomes way more simple to work together on a
> package when using a VCS rather than sending patches via mail. It
> also enables asking for help at debian-mentors list.
>
> For your problem above: I think you need to find the code piece that
> tries to write to /usr/share/creepy and redirect the write attempts to
> /var/lib/creepy.
>
Yes you are right, however, the path where plugins, and other projects are
written, must be in the same part where creepy be installed, for this
reason, do not think just patch the code to write in /var/lib solve the
problem.
In fact I have discussed this issue with upstream, which says:
*"Regarding 2, its obvious that the user who runs the program has no
permissions to write under /usr/share/creepy , should it be this way ?
Isn't that chowned to the user account in Debian ? If not, then we need to
find a different approach because the program needs to save projects and
plugin configurations, if it does not have the permission to write to that
directory , how could it be done ? "*
Coul you give me a hand? :)
> Kind regards
>
> Andreas.
>
>
> > [1]:
> http://mentors.debian.net/debian/pool/main/c/creepy/creepy_1.1-1.dsc
>
> --
> http://fam-tille.de
>
Really, thank you very much for your help.
Regards
Daniel
--
Daniel Echeverry
http://wiki.debian.org/DanielEcheverry
Linux user: #477840
Debian user
Software libre <http://www.rinconinformatico.net>
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Tue, 18 Feb 2014 16:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Tille <andreas@an3as.eu>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Tue, 18 Feb 2014 16:24:04 GMT) (full text, mbox, link).
Message #34 received at 739121@bugs.debian.org (full text, mbox, reply):
Hi Daniel,
On Tue, Feb 18, 2014 at 11:03:53AM -0500, Daniel Echeverry wrote:
> > git://anonscm.debian.org/pkg-grass/creepy.git
> >
> > You get commit permission if you apply for pkg-grass team on alioth.
> >
>
> I sent my request to join the team :) once to be accepted, I will make
> the commits
Somebody else just adde you to the project. :-)
> > To my experience it becomes way more simple to work together on a
> > package when using a VCS rather than sending patches via mail. It
> > also enables asking for help at debian-mentors list.
> >
> > For your problem above: I think you need to find the code piece that
> > tries to write to /usr/share/creepy and redirect the write attempts to
> > /var/lib/creepy.
> >
>
> Yes you are right, however, the path where plugins, and other projects are
> written, must be in the same part where creepy be installed, for this
> reason, do not think just patch the code to write in /var/lib solve the
> problem.
>
> In fact I have discussed this issue with upstream, which says:
>
> *"Regarding 2, its obvious that the user who runs the program has no
> permissions to write under /usr/share/creepy , should it be this way ?
> Isn't that chowned to the user account in Debian ? If not, then we need to
> find a different approach because the program needs to save projects and
> plugin configurations, if it does not have the permission to write to that
> directory , how could it be done ? "*
>
> Coul you give me a hand? :)
I admit I did never dealt with things like this. I's suggest you finish
the commits and than ask on debian-mentors@lists.debian.org. This list
is invented for questions like this. I'm reading it and will comment as
well if I have any clue.
Thanks for your work on this
Andreas.
--
http://fam-tille.de
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Fri, 16 May 2014 17:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Ross Gammon <ross@the-gammons.net>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Fri, 16 May 2014 17:45:04 GMT) (full text, mbox, link).
Message #39 received at 739121@bugs.debian.org (full text, mbox, reply):
Hi Daniel,
Is there any movement on your packaging of Creepy?
I can see that your version 1.1 upload to mentors has not been updated,
and the version 1.1 that Andreas imported to the pkg-grass git
repository on Alioth has also not been updated.
Regarding user data and the plugins/addons that a user might
install/enable after installation, I know other packages that would use
a ".creepy" hidden directory in the user's home directory for this type
of thing. As long as the location is in the correct search path,
everything should work.
Do you know if the upstream project are working on this issue?
Regards,
Ross
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sat, 15 Nov 2014 21:42:19 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sat, 15 Nov 2014 21:42:19 GMT) (full text, mbox, link).
Message #44 received at 739121@bugs.debian.org (full text, mbox, reply):
What is the latest development regarding the creepy package in Debian?
I just noticed it did not make it into testing thanks to this RC bug,
and find that really sad.
What is needed to get the version in
git://anonscm.debian.org/pkg-grass/creepy.git uploaded into unstable, at
least?
--
Happy hacking
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sat, 15 Nov 2014 22:39:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Ross Gammon <ross@the-gammons.net>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sat, 15 Nov 2014 22:39:05 GMT) (full text, mbox, link).
Message #49 received at 739121@bugs.debian.org (full text, mbox, reply):
On 11/15/2014 10:38 PM, Petter Reinholdtsen wrote:
>
> What is the latest development regarding the creepy package in
> Debian? I just noticed it did not make it into testing thanks to
> this RC bug, and find that really sad.
>
> What is needed to get the version in
> git://anonscm.debian.org/pkg-grass/creepy.git uploaded into
> unstable, at least?
>
Hi Petter,
Unfortunately, when you install this version of creepy it does not work.
If you install it, and then run the python script you get:
ross@debian-sid-install:/usr/share/creepy$ python CreepyMain.py
Traceback (most recent call last):
File "CreepyMain.py", line 38, in <module>
fh = logging.FileHandler(os.path.join(os.getcwd(),'creepy_main.log'))
File "/usr/lib/python2.7/logging/__init__.py", line 911, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python2.7/logging/__init__.py", line 936, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/usr/share/creepy/creepy_main.log'
The program runs fine from within the source directory. I have not
tried to patch creepy to write the log to a better place to see if it
is the only problem, but I did contact upstream to tell him of the
problem. He seemed to be willing to make try and use a build system
and tweak the code so that creepy is more flexible about the installed
location. I suggested distutils which would make for a simple d/rules
file.
Checking upstream again, there does not seem to be many recent
commits. There is a constant battle to keep up to date with all the
API changes from the services that are used as plugins (instagram
etc.). A 1.2 alpha version was uploaded, but the promised final
release has not yet appeared.
We could try patching CreepyMain.py?
Regards,
Ross
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sat, 15 Nov 2014 22:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sat, 15 Nov 2014 22:51:05 GMT) (full text, mbox, link).
Message #54 received at 739121@bugs.debian.org (full text, mbox, reply):
[Ross Gammon]
> Hi Petter,
Hi. Glad to get such quick response. :)
> Unfortunately, when you install this version of creepy it does not work.
>
> If you install it, and then run the python script you get:
> ross@debian-sid-install:/usr/share/creepy$ python CreepyMain.py
> Traceback (most recent call last):
> File "CreepyMain.py", line 38, in <module>
> fh = logging.FileHandler(os.path.join(os.getcwd(),'creepy_main.log'))
> File "/usr/lib/python2.7/logging/__init__.py", line 911, in __init__
> StreamHandler.__init__(self, self._open())
> File "/usr/lib/python2.7/logging/__init__.py", line 936, in _open
> stream = open(self.baseFilename, self.mode)
> IOError: [Errno 13] Permission denied: '/usr/share/creepy/creepy_main.log'
That is nasty. If it want to write a log, it should write it into
$HOME/.creepy/main.log or something like that when running as a
non-privileged user, and into /var/log/creepy/main.log (or even
better, use syslog) if running as a provileged user (which I guess do
not apply here).
> The program runs fine from within the source directory. I have not
> tried to patch creepy to write the log to a better place to see if
> it is the only problem, but I did contact upstream to tell him of
> the problem. He seemed to be willing to make try and use a build
> system and tweak the code so that creepy is more flexible about the
> installed location. I suggested distutils which would make for a
> simple d/rules file.
Aha.
> Checking upstream again, there does not seem to be many recent
> commits. There is a constant battle to keep up to date with all the
> API changes from the services that are used as plugins (instagram
> etc.). A 1.2 alpha version was uploaded, but the promised final
> release has not yet appeared.
>
> We could try patching CreepyMain.py?
Probably a good idea. Does this untested patch work for you?
--- a/creepy/CreepyMain.py
+++ b/creepy/CreepyMain.py
@@ -35,7 +35,12 @@ from utilities import GeneralUtilities
# set up logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
-fh = logging.FileHandler(os.path.join(os.getcwd(),'creepy_main.log'))
+userdir = os.path.expanduser('~/.creepy')
+try: os.makedirs(userdir)
+except OSError as e:
+ if e.errno == errno.EEXIST and os.path.isdir(userdir): pass
+ else: raise
+fh = logging.FileHandler(os.path.join(userdir,'main.log'))
fh.setLevel(logging.DEBUG)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
fh.setFormatter(formatter)
--
Happy hacking
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sun, 16 Nov 2014 14:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Ross Gammon <ross@the-gammons.net>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sun, 16 Nov 2014 14:27:04 GMT) (full text, mbox, link).
Message #59 received at 739121@bugs.debian.org (full text, mbox, reply):
On 11/15/2014 11:48 PM, Petter Reinholdtsen wrote:
[snip]
[dropping Andreas (vacation) & Daniel (previously stated was happy for
someone me to try and move it forward)]
>
> Probably a good idea. Does this untested patch work for you?
>
> --- a/creepy/CreepyMain.py
> +++ b/creepy/CreepyMain.py
> @@ -35,7 +35,12 @@ from utilities import GeneralUtilities
> # set up logging
> logger = logging.getLogger(__name__)
> logger.setLevel(logging.DEBUG)
> -fh = logging.FileHandler(os.path.join(os.getcwd(),'creepy_main.log'))
> +userdir = os.path.expanduser('~/.creepy')
> +try: os.makedirs(userdir)
> +except OSError as e:
> + if e.errno == errno.EEXIST and os.path.isdir(userdir): pass
> + else: raise
> +fh = logging.FileHandler(os.path.join(userdir,'main.log'))
> fh.setLevel(logging.DEBUG)
> formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
> fh.setFormatter(formatter)
>
I took me a while to get my sid installing machine working again - sorry.
Applying your patch to v1.1 results in this:
ross@debian-sid:~$ creepy
Traceback (most recent call last):
File "/usr/bin/creepy", line 13, in <module>
from PyQt4.QtCore import QString, QThread, SIGNAL, QUrl, QDateTime,
QDate, QRect, Qt
ImportError: No module named PyQt4.QtCore
So we don't make it to the patched bit :-)
I can see the latest commits upstream are about QT4, so I will git
rebase on your import of the latest alpha release and try again.
Cheers,
Ross
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sun, 16 Nov 2014 15:09:18 GMT) (full text, mbox, link).
Acknowledgement sent
to Ross Gammon <ross@the-gammons.net>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sun, 16 Nov 2014 15:09:18 GMT) (full text, mbox, link).
Message #64 received at 739121@bugs.debian.org (full text, mbox, reply):
On Sun, 16 Nov 2014 15:25:10 +0100 Ross Gammon <ross@the-gammons.net> wrote:
[snip]
>
> Applying your patch to v1.1 results in this:
> ross@debian-sid:~$ creepy
> Traceback (most recent call last):
> File "/usr/bin/creepy", line 13, in <module>
> from PyQt4.QtCore import QString, QThread, SIGNAL, QUrl, QDateTime,
> QDate, QRect, Qt
> ImportError: No module named PyQt4.QtCore
>
> So we don't make it to the patched bit :-)
>
> I can see the latest commits upstream are about QT4, so I will git
> rebase on your import of the latest alpha release and try again.
>
Unfortunately the same error with version 1.2~alpha
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sun, 16 Nov 2014 17:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sun, 16 Nov 2014 17:51:04 GMT) (full text, mbox, link).
Message #69 received at 739121@bugs.debian.org (full text, mbox, reply):
[Ross Gammon]
> I took me a while to get my sid installing machine working again - sorry.
>
> Applying your patch to v1.1 results in this:
> ross@debian-sid:~$ creepy
> Traceback (most recent call last):
> File "/usr/bin/creepy", line 13, in <module>
> from PyQt4.QtCore import QString, QThread, SIGNAL, QUrl, QDateTime,
> QDate, QRect, Qt
> ImportError: No module named PyQt4.QtCore
>
> So we don't make it to the patched bit :-)
Hm, I do not get this. On my machine it is able to start, but I have
python-qt4 installed. Missing dependency, I guess. I had to adjust
the patch slightly, thought:
diff --git a/creepy/CreepyMain.py b/creepy/CreepyMain.py
index 63121e7..dd475d4 100644
--- a/creepy/CreepyMain.py
+++ b/creepy/CreepyMain.py
@@ -3,6 +3,7 @@
import sys
import datetime
import os
+import errno
import logging
import shelve
import functools
@@ -35,7 +36,12 @@ from utilities import GeneralUtilities
# set up logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
-fh = logging.FileHandler(os.path.join(os.getcwd(),'creepy_main.log'))
+userdir = os.path.expanduser('~/.creepy')
+try: os.makedirs(userdir)
+except OSError as e:
+ if e.errno == errno.EEXIST and os.path.isdir(userdir): pass
+ else: raise
+fh = logging.FileHandler(os.path.join(userdir,'main.log'))
fh.setLevel(logging.DEBUG)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
fh.setFormatter(formatter)
But there are several places in the code opening creepy_main.log, so
it is not sufficient to avoid files in ~/. I suspect it is best to
try to get upstream involved in rewriting the log code.
> I can see the latest commits upstream are about QT4, so I will git
> rebase on your import of the latest alpha release and try again.
As far as I can see, the difference between 1.1 and 1.2 alpha is
changes to the README file. I imported it into git (bug forgot
--pristine-tar, sorry about that), and the difference was
neglectable...
--
Happy Hacking
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Daniel Echeverry <epsilon77@gmail.com>:
Bug#739121; Package creepy.
(Sun, 16 Nov 2014 20:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Daniel Echeverry <epsilon77@gmail.com>.
(Sun, 16 Nov 2014 20:09:04 GMT) (full text, mbox, link).
Message #74 received at 739121@bugs.debian.org (full text, mbox, reply):
[Petter Reinholdtsen]
> Hm, I do not get this. On my machine it is able to start, but I
> have python-qt4 installed. Missing dependency, I guess. I had to
> adjust the patch slightly, thought:
The code need to change many more places, as the creepy_main.log file
is opened several places in the code. I've pushed a patch for this to
the git repository and send it upstream to see if he like the
approach.
If someone can confirm that the package also work for them now, I
believe we are ready to upload to unstable to get more eyes on the new
code.
--
Happy Hacking
Petter Reinholdtsen
Reply sent
to Petter Reinholdtsen <pere@debian.org>:
You have taken responsibility.
(Thu, 20 Nov 2014 09:21:15 GMT) (full text, mbox, link).
Notification sent
to Andreas Tille <tille@debian.org>:
Bug acknowledged by developer.
(Thu, 20 Nov 2014 09:21:15 GMT) (full text, mbox, link).
Message #79 received at 739121-close@bugs.debian.org (full text, mbox, reply):
Source: creepy
Source-Version: 1.2~alpha-1
We believe that the bug you reported is fixed in the latest version of
creepy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 739121@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated creepy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 20 Nov 2014 09:52:27 +0100
Source: creepy
Binary: creepy
Architecture: source all
Version: 1.2~alpha-1
Distribution: unstable
Urgency: low
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description:
creepy - geolocation information aggregator and visualizer
Closes: 739121 769752 769756
Changes:
creepy (1.2~alpha-1) unstable; urgency=low
.
[ Andreas Tille ]
* New upstream version.
- No longer uses obsolete API in flickr plugin (Closes: #769752).
* Fixed watch file
* Debhelper 9
* Moved to Debian GIS
* Drop python-osmgpsmap dependency (Closes: #739121)
.
[ Petter Reinholdtsen ]
* Updated watch file from
http://anonscm.debian.org/viewvc/sepwatch/trunk/watchfiles/creepy_0.
1.94-1.watch
* Update to upstream version 1.2~alpha.
* Add new dependency python-qt4 to get GUI working.
* Add patch 01-log-to-homedir.patch to rewrite log code to log to
~/.creepy/, not ~/ or /usr/share/creepy/.
* Add 02-plugin-directory.patch to make sure plugins in
/usr/share/creepy/plugins/ are found.
* Add 03-include-dir.patch to use correct include path in package.
* Update package description to mention that this tool also visualizes
the collected information (Closes: #769756).
* Add myself as uploader.
* Add simple autopkgtest script to run the program, at the moment without
DISPLAY set to see that the script actually start.
Checksums-Sha1:
9072193f04a5b033aa590e75bd493b04576c08a2 1450 creepy_1.2~alpha-1.dsc
63b4ef0f5f207e6fa9e22a7732e4bc6b93fbfdfb 1041400 creepy_1.2~alpha.orig.tar.gz
eac3bbd546d6617822efd6f42ee4cc6be6e281b4 9476 creepy_1.2~alpha-1.debian.tar.xz
07379bc15b28b1143036e6858b98c11aaff0e780 901214 creepy_1.2~alpha-1_all.deb
Checksums-Sha256:
4a3475d418f44700fb1bab6fef403ac301503fced82538b6b91103da47413d16 1450 creepy_1.2~alpha-1.dsc
33b76602b84f91fe0c4978c53a82cceabf7bbf1b580e5c330a2697880f27bdcc 1041400 creepy_1.2~alpha.orig.tar.gz
cbf5073ae14982408ba49d98ca64201a9e8ef4d2508fa05fc682a23d45bb7ce0 9476 creepy_1.2~alpha-1.debian.tar.xz
7d94bb222c5fe7a787329e922067122c13c003584bbe03ac0e6026d8d8a1988b 901214 creepy_1.2~alpha-1_all.deb
Files:
b94f41289386ea6e523b42efe9443882 1450 python optional creepy_1.2~alpha-1.dsc
d3bdd32cac52955587e2e8ae090e4619 1041400 python optional creepy_1.2~alpha.orig.tar.gz
83197e87bf21c9fff6caafbbd1cf95d0 9476 python optional creepy_1.2~alpha-1.debian.tar.xz
2ac6422a79467532907e9c859db1aa9a 901214 python optional creepy_1.2~alpha-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFUbaww20zMSyow1ykRAjoPAKCcl+CrAnwTfMEVpJ2qeIIasJC9fwCeNq+k
gBBuEtFG3PweH8MNGPMb84o=
=V0d0
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 19 Dec 2014 07:27:27 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 15:25:25 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.