Giter Club home page Giter Club logo

Comments (24)

bengtmartensson avatar bengtmartensson commented on September 23, 2024

3 1/2: You must select the desired unit explicitly from the menu.

4 1/2: Should be no need to restart, just select the desired unit.

The "getdevices" is sent as the device is selected.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

I cannot select the desired unit explicitly from the menu because it is my only device. And it would be so much more comfortable if I didn't need to do that manually. IrScrutinizer has all the information to do it for me ;-)

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

You still have to select it, even if there is only one.

IrScrutinizer has all the information to do it for me

No, not true; there may be more devices, that has not shown up yet.

The error message could be better, though.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

You have a point there. Yet when just restarting IrScrutinizer it does the right thing without me having to select anything.

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

Yet when just restarting IrScrutinizer it does the right thing without me having to select anything.

Nope. You DID select it, but in the previous session :-).

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

Right, that's why I think "IrScrutinizer has all the information" :-)

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

When there is only one entry in the "IP name/Address" dropdown (e.g., populated by a Beacon), then it is not possible to select this entry (selecting it does nothing, especially it does not send a getdevices command)

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

Not for me. Must be a quirk in your LAF. Try another LAF or possibly another Java, or another system.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

Selecting different LAF does not change this. But I can live with it.

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

Please send me (possible privately) a screen shot stating your point.

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

@probonopd: I give you a few days more to prove that you have a point, otherwise I will close the issue.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

bildschirmfoto 2015-07-15 um 17 34 58

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

This looks bad. The primary problem (I think) is that you get an "-" in the modules list, which indicates that the response to the getdevices was not parsed correctly. The HardwareUnavailableException is then a secondary error.

I cannot reproduce, and what the console says seems sensible. Can you set a debugger breakpoint in GlobalCache.open and see what getdevicesResult = sendCommand("getdevices", -1) does, and what getIrModules() does?

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

Module 1 and Port 1 are correctly selected (but the text is cropped in the Mac LAF). When I select another LAF the module and port are displayed correctly but the behavior is still the same.

bildschirmfoto 2015-07-15 um 19 29 56

Below is the communication from the debug textarea. I have no clue about Java and how to set a debugger breakpoint, sorry.

Sending command getdevices to GlobalCache (192.168.0.15)
Connecting socket to 192.168.0.15:4998
<device,0,0 WIFI
<device,1,3 IR
<endlistdevices
Sending command getversion,0 to GlobalCache (192.168.0.15)
<1.0
1.0
Sending command getdevices to GlobalCache (192.168.0.15)
Connecting socket to 192.168.0.15:4998
<device,0,0 WIFI
<device,1,3 IR
<endlistdevices
Sending command getversion,0 to GlobalCache (192.168.0.15)
<1.0
1.0

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

If that is the case (the LAF eats the numbers -- I may have a look at that) then I have no idea really what the problem is. You can try to delete the properties (File -> Reset properties and restart), and describe in greatest detail , every single mouse click, what you are doing.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

OK, as I wrote everything is fine if the device is already running when I launch IRScrutinizer, so It's really a minor annoyance and I'm fine with closing this now as it is probably not worth your time.

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

Was finally able to reproduce, and fix. Please try it and confirm. Thanx for finding the bug!!

A workaround for the bug is to select another sending hardware subpane ("Audio port" never makes problems...), then selecting GlobalCache again.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

Thank you. In order to try I have to build from git using mvn, correct? Or do you plan to offer a dev build?

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

Yes, you have to build it with maven, see http://www.harctoolbox.org/IrScrutinizer.html#Appendix.+Building+from+sources

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

I tried to compile this in order to test. I ahve to admit that I am entirely new to Java. mvn install stops with could not be resolved: com.hifiremote:ExchangeIR:jar:0.0.8.2on the Mac. Unfortunately the docs just say one needs to install the dependencies, but I have no clue on how to do so on the Mac.

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

There are some scripts in harctoolboxbundle/tools, e.g. build-exchangeir.sh, that automates this.

However, sourceforge (where the sources reside) seems to be pining for the fjords right now...

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

The Sourceforge sources (DecodeIR and ExchangeIR) temporarily (more or less :-)) available on www.harctoolbox.org, see README.md.

from irscrutinizer.

probonopd avatar probonopd commented on September 23, 2024

I can confirm that IrScrutinizer from git starts to talk to the GC as soon as the GC is switched on, but the GC does not get selected in the dropdown automatically and sending a command results in the HardwareUnavailableException.

from irscrutinizer.

bengtmartensson avatar bengtmartensson commented on September 23, 2024

This is the desired behavior, as motivated previously. Not that the HardwareUnavailableException now says "No GlobalCache unit selected".

Closing.

from irscrutinizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.