The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter
To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.
Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Error
Hello Sarah, that's interesting. Apparently the os.getlogin method was dropped in Jython 2.7, which is the updated Jython version in QF-Test 4.1. Fortunately you don't really need this method as it only retrieves the name of the current user which Java and QF-Test also provide. Simply replace the line Username = os.getlogin() with Username = rc.lookup("system", "user.name") Best regards, Greg "Ismael, Sarah" <Sarah_Ismael@?.com> writes: > Hello, > > Hope this message finds you great! I’ve downloaded your latest version and I got this error: > > The script failed with the following message: > > Traceback (most recent call last): > > File "<string>", line 1, in <module> > > File "C:\Program Files (x86)\qfs\qftest\qftest-4.1.1\jython\Lib\qftest.py", line 91, in runscript > > qfcommon.runscript(ctxt, code, exContext, dir) > > File "C:\Program Files (x86)\qfs\qftest\qftest-4.1.1\jython\Lib\qfcommon.py", line 1028, in runscript > > exec cpl in GlobalsWithFallback(globalDict, localDict), localDict > > File "C:\Users\sismael.MGC\.qftest\_script4267154966540019891.py", line 14, in <module> > > Username = os.getlogin() > > AttributeError: 'module' object has no attribute 'getlogin' > > I don’t know the cause of it. Kindly advise > > Thanks, > > Sarah > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://archive.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833