Page 1 of 1

[SOLVED] Scribelogin package

Published: January 31, 2018 - 1:50 PM
by gaelds
Good morning,

My ScribeLogin package no longer works on Windows 10 (I haven't tested it on Windows 7 yet) since the server update to version 1.5.15. I get the following error:
ImportError: cannot import name _change_journal

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *
from winsys import fs
import difflib

uninstallkey = ["{8BCC5590-7E52-4387-87F5-8CE39789B583}_is1"]
uninstallstring = ['C:\Program Files\SCRIBELOGIN\unins000.exe /quiet']

if isrunning('Scribelogin'):
            killalltasks('Scribelogin.exe')
if isrunning('Nom'):
            killalltasks('Nom.exe')
if isrunning('Block'):
            killalltasks('Block.exe')
if isrunning('identd'):
            killalltasks('identd.exe')
if isrunning('Update'):
            killalltasks('Update.exe')

def install():
    print('Installation de dst-scribelogin')
    run(r'"setup_ScribeLogin.exe" /VERYSILENT')
    print("Mise à jour fichier ScribeLogin.ini ")
    filecopyto("ScribeLogin.ini",makepath(programfiles32,"Scribelogin"))
    create_shortcut(makepath(common_desktop(),'Scribelogin.lnk'),target=r'%s\SCRIBELOGIN\Scribelogin.exe' %programfiles32, wDir=r'%s\SCRIBELOGIN\\' %programfiles32,icon=r'%s\SCRIBELOGIN\Scribelogin.exe' %programfiles32)

Re: Scribelogin package

Published: February 1, 2018 - 9:38 AM
by agauvrit
Hello,

what is the purpose of fs/winsys in your code?

It could be related to this import.

Alexandre

Re: Scribelogin package

Published: February 8, 2018 - 4:12 PM
by gaelds
Yes, that was it, thank you. I don't know what it was originally used for...