[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


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to