GQ Electronics Technical Support Forum


GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 2.GQ Geiger Muller Counter
 GeigerLog 0.9.07 released with new features
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

ullix

Germany
213 Posts

Posted - 05/20/2018 :  04:13:26  Show Profile  Reply with Quote
The recent disclosures of GQ in this record-long topic http://www.gqelectronicsllc.com/forum/topic.asp?TOPIC_ID=4948 made it possible to fully implement not only the 300 and 320 versions, but also the 500 and 600 versions. So, thanks to GQ. Not everything is solved, but the remaining issues should not impact the successful use of GeigerLog with the counters.

Thanks also to user 'the_mike' for testing the release candidates, and his embarrassing ability to find bugs :-/ !

What’s New in GeigerLog 0.9.07 ?

#9679; GeigerLog now uses Python 3
#9679; Now supporting GMC-300, GMC-300E+, GMC-320+, GMC-320+V5, GMC-500(+), GMC-600(+)
#9679; Auto-detecting Geiger Counter model, and adjusting internal settings, calculations, calibration, as well as work-arounds for firmware-bugs automatically
#9679; Customization possible to accommodate older counters, and potentially even for new ones not yet on the market
#9679; Supports World Radiation Maps even for devices without WiFi
#9679; Customizable graphics (colors, line widths, line types, markers)
#9679; Count Rate Display area click sensitive to allow manually triggered count rate measurements

as always, available for download at https://sourceforge.net/projects/geigerlog/
Reply #1

the_mike

Switzerland
24 Posts

Posted - 05/22/2018 :  05:02:01  Show Profile  Reply with Quote
...hey if you find something you're good at, stay with it, right? ;-)

(ebarassing - for me or for you?)

thanks for the new version!
Go to Top of Page
Reply #2

ikerrg

United Kingdom
44 Posts

Posted - 07/13/2018 :  09:12:45  Show Profile  Reply with Quote
Hi ullix,

I am getting this warning (several times) when running geigerlog (not geigerlog_simple):
WARNING: bool __cdecl Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

The software seems to run fine and everything seems to work (data log, plots, etc). Do you know what the problem could be?

I am using Python 3.7 x64 and I have installed PyQt4 from the wheel file PyQt4-4.11.4-cp37-cp37m-win_amd64.whl in https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4

The starting message has this additional info for debugging:
2018-07-13 18:04:36 PROGRAM: pid:4580 ########### GeigerLog 0.9.07 -- mi no märpfupf underm füdli ! ##################################################
18:04:36 DEBUG : Version status:GeigerLog: 0.9.07, Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)], matplotlib: 2.2.2, numpy: 1.14.5, Qt version: 4.8.7, SIP version: 4.18.1, PyQt version: 4.11.4, pyserial: 3.4, scipy: 1.1.0,

Many thanks.

Edited by - ikerrg on 07/13/2018 09:19:15
Go to Top of Page
Reply #3

ullix

Germany
213 Posts

Posted - 07/13/2018 :  23:54:33  Show Profile  Reply with Quote
I am afraid this is a bug not under my control. The internet is full of such reports, and they point to something missing in the installation. The cause is probably a packaging oversight. Your use of the most modern Python may contribute to the issue. Have you ever had an older Python and did it work then?

You can try to just install any Python stuff that is related to media playing; for some users it helped. Phonon is used for acoustic feed back, i.e. to play the beep and bopp sounds. I guess you don't hear any sounds?

Unfortunately I can't test this hear, because on my system it is just working :-/. Is GeigerLog otherwise behaving properly or is something else impacted?
Go to Top of Page
Reply #4

ikerrg

United Kingdom
44 Posts

Posted - 07/14/2018 :  00:40:12  Show Profile  Reply with Quote
Everything else seems to be working fine. I haven't noticed the beeps though, but I didn't know they should be there! No worries, it is not a big deal.
Go to Top of Page
Reply #5

the_mike

Switzerland
24 Posts

Posted - 07/17/2018 :  16:25:39  Show Profile  Reply with Quote
jkerrg - try to find a "pyqt4.phonon"-package, i remember having to install it to avoid the issue on linux mint 18.3 (cinnamon edition)
Go to Top of Page
Reply #6

ikerrg

United Kingdom
44 Posts

Posted - 07/18/2018 :  13:08:10  Show Profile  Reply with Quote
Thanks, but I can't find anything like that for Windows. The phonon library seems to be correctly installed in my PyQt4 package. I think the problem will be solved if I install a lower version of Python, but I don't bother trying.
Go to Top of Page
Reply #7

ullix

Germany
213 Posts

Posted - 07/20/2018 :  01:02:36  Show Profile  Reply with Quote
The Phonon module seems to be installed, or the error message would have been different. It may have to do with an incorrect library path.

After starting geigerlog with the dv options, like:
geigerlog -dv

please, look into the geigerlog.proglog file again. Near the 15th line should be one or several lines, such as this on my Linux system, giving a library path :

2018-07-20 10:51:44.993 VERBOSE: QCoreApplication.libraryPaths(): /usr/lib/x86_64-linux-gnu/qt4/plugins

Could you copy and post them?
Go to Top of Page
Reply #8

ikerrg

United Kingdom
44 Posts

Posted - 07/20/2018 :  04:13:14  Show Profile  Reply with Quote
You're right. Line 14 says:
2018-07-20 13:01:57 VERBOSE: QCoreApplication.libraryPaths(): No Library Paths

How can I configure those paths?
Go to Top of Page
Reply #9

ullix

Germany
213 Posts

Posted - 07/20/2018 :  23:18:54  Show Profile  Reply with Quote
Good question.

On Linux, the library path /usr/lib/x86_64-linux-gnu/qt4/plugins has a dozen or so subfolders with various plugins.

Among them is as subfolder 'phonon_backend' with a sole file 'phonon_gstreamer.so'. This is the equivalent to a Windows *.dll file (dynamic link library).

I suggest: search for '*phonon*.*'. There hopefully will be one (or more) with the '.dll' extension. Copy all those into the folder where 'geigerlog' resides. (I believe that PyQt4 also searches in that folder for libraries; otherwise I don't know where they are supposed to be)

If that doesn't help, some googling may be needed. My guess is that there will be a few postings for this brand new 3.7 Python version :-/

P.S. Just came across this one:
'phonon_backend':
'C:\Python27\Lib\site-packages\PyQt4\plugins\phonon_backend\phonon_ds94.dll'

Although for an older Python, it may give the necessary hint of what needs to be where.

Edited by - ullix on 07/20/2018 23:29:44
Go to Top of Page
Reply #10

ikerrg

United Kingdom
44 Posts

Posted - 07/20/2018 :  23:55:27  Show Profile  Reply with Quote
Yes, the library is that one (phonon_ds94.dll), but it does not help copying into the geigerlog folder. I am starting to see a possibility here: PyQt4 is not designed for the newest Python versions, which by default install in 'C:\Program Files\Python37'. That is a folder with spaces in the name, and sometimes that creates problems in some bad programmed apps. When I find time I could try to reinstall my Python in 'C:\Python37' to see if that fixes the problem.
Thanks.
Go to Top of Page
Reply #11

ullix

Germany
213 Posts

Posted - 07/21/2018 :  04:13:15  Show Profile  Reply with Quote
Suggestion: First try to create:

'C:\Program Files\Python37\Lib\site-packages\PyQt4\plugins\phonon_backend\phonon_ds94.dll'

Go to Top of Page
Reply #12

ikerrg

United Kingdom
44 Posts

Posted - 07/21/2018 :  05:26:23  Show Profile  Reply with Quote
It already esxists. It is where I found the file phonon_ds94.dll
Go to Top of Page
Reply #13

ullix

Germany
213 Posts

Posted - 07/21/2018 :  09:22:45  Show Profile  Reply with Quote
Duh.

One guy was happy with this:

The backend needs to be in the subdirectory "/phonon_backend/" of the qt library paths so my solution was to put the backend-files from the "qt/plugins/phonon_backend/"-folder into the folder in which I executed the programm - but in the subdirectory "/phonon_backend/"

So, put the dll into geigerlog/phonon_backend/ ?
Go to Top of Page
Reply #14

ikerrg

United Kingdom
44 Posts

Posted - 07/21/2018 :  10:33:53  Show Profile  Reply with Quote
No luck. I even reinstalled python in c:\Python37 to avoid spaces in the path, but also no luck. It has to be something related to the latest versión and its incompatibility with the PyQt4 package I am using.

Adding the phonon_backend directory to the system path also does not work.
Go to Top of Page
Reply #15

ikerrg

United Kingdom
44 Posts

Posted - 07/21/2018 :  11:10:54  Show Profile  Reply with Quote
Everything I try fails. I have installed python 3.4 with your recommended PyQt4 distribution for Windows (PyQt4-4.11.4-gpl-Py3.4-Qt4.8.7-x64.exe) and same issue. Even after copying phonon_backend folder as indicated. Nothing works!
Go to Top of Page
Reply #16

the_mike

Switzerland
24 Posts

Posted - 07/21/2018 :  11:27:18  Show Profile  Reply with Quote
maybe this is a (very) stupid input...

but as i understood the issue, python isn't able to find the libs because in vers. 3.4, it runs from program files, instead of c: ...
have you tried setting the path "old style" to the libraries?
eg.
c:\>set PYTHONPATH=%PYTHONPATH%;C:\path_to_the_python_libs


?

otherwhise - try python 2.7 - at least that version runs fine so far on windows... :-/
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.09 sec. Snitz Forums 2000