Open tedtramonte opened 8 years ago
this code runs on you pi? and your pi is running X right? Because I think it can't find a display for X.
You can use xvfb if your pi is running headless. Sent from my BlackBerry 10 smartphone. From: RobertSent: maandag 28 december 2015 3:17 PMTo: SavinaRoja/PyUserInputReply To: SavinaRoja/PyUserInputSubject: Re: [PyUserInput] Xlib.error.DisplayNameError: Bad display name "" (#79)this code runs on you pi? and your pi is running X right?
Because I think it can't find a display for X.
—Reply to this email directly or view it on GitHub.
@Duality4Y Without the PyUserInput code, the script runs fine. I have it print out an idle message as well as the input values of every input from touchOSC and every value gets printed as expected.
@pepijndevos It was connected to a monitor using HDMI at the time, but I was running commands using Putty so I didn't have to switch sources constantly. Just now tried running the script directly on the Pi and got the exact same error.
Hi, I'm trying to use PyUserInput to translate pyOSC inputs into keyboard events for the purpose of controlling Emulationstation on a Raspberry Pi from an iPhone using the touchOSC app. The pyOSC code I have written works, but when adding PyUserInput code to my script, I get the following error:
Here's an excerpt of my script. Creating the object is literally the only PyUserInput code I have in it so far.
Can anyone shed some light on this? I'm extremely new to Linux, Python, and GitHub, so this might not even be a PyUserInput issue.