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
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]