Go to advanced search

by pfletch101
Mon Dec 16, 2019 8:51 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 607

Re: RealVNC has suddenly become flaky

It gets worse! I uninstalled the viewer from my Windows system, removed all traces of it that I could find in the Registry, rebooted, and reinstalled the latest version. I could (and did) connect to my running Pi without problems. I just checked again, and the viewer is back to the same misbehavior.
by pfletch101
Mon Dec 16, 2019 7:55 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 4756

Re: Please help! /// Seeking programming experience advice!

You wrote, in a message to me: Mainly you will get the advice that the used library is obsolete, having been written for Python2. The useful thing is the pointer to a working one... Or you -once again- have been fooled by python choosing a variable type that you did not intend to use that way... Th...
by pfletch101
Mon Dec 16, 2019 6:39 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 4756

Re: Please help! /// Seeking programming experience advice!

I don't think that I have said anything that could reasonably lead you to assume that I am an idiot! Did I ever say something suitable to let you think that? You wrote, in a message to me: Mainly you will get the advice that the used library is obsolete, having been written for Python2. The useful ...
by pfletch101
Mon Dec 16, 2019 4:19 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 4756

Re: Please help! /// Seeking programming experience advice!

Yes, but! :) Mainly you will get the advice that the used library is obsolete, having been written for Python2. The useful thing is the pointer to a working one... Or you -once again- have been fooled by python choosing a variable type that you did not intend to use that way... I don't think that I...
by pfletch101
Mon Dec 16, 2019 3:09 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 607

Re: RealVNC has suddenly become flaky

One thing I've noticed over the years is that using VNC to connect to my Pi from my Windows machine is that using names can be a problem but ip addresses always work It might be just windows going thru one of its phases with LAN names Thanks for the comment! As you imply, Windows networking is a PI...
by pfletch101
Mon Dec 16, 2019 3:06 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 4756

Re: Please help! /// Seeking programming experience advice!

If you start learning about error messages early on there is no reason for it to take years to get the required experience. While google is useful, some of us have been writing code (*) for long enough to remember how to debug code without googling for the answer. If you are "frequently lost" witho...
by pfletch101
Mon Dec 16, 2019 2:21 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 607

RealVNC has suddenly become flaky

I have a number of Pis which I run headless, using RealVNC, running on a Windows 10 desktop, and have done things this way without significant problems since starting to work with Pis, almost a year ago. Yesterday, when I fired up the RealVNC viewer to connect to my 'workhorse' Pi, I was unable to d...
by pfletch101
Mon Dec 16, 2019 2:01 am
Forum: Beginners
Topic: Rocker button. Where are On-Off?
Replies: 8
Views: 603

Re: Rocker button. Where are On-Off?

I bought a Raspberry Pi 3 with a rocker button on the power supply cable. I did not understand how it works because on the switch there is nothing indicated where is the On and Off; since there is no video connected and in the absence of lights and fans it is not clear when Raspberry is working. As...
by pfletch101
Sun Dec 15, 2019 10:11 pm
Forum: General discussion
Topic: Doesn't the Raspberry case disturb the wifi signal?
Replies: 3
Views: 1051

Re: Doesn't the Raspberry case disturb the wifi signal?

Hey guys I am thinking of buying an aluminum cover. Wouldn't that disturb the Raspberry (4b) wifi and Bluetooth signal? I am using a Flirc case for my 4B, and I run it headless over WiFi without any problems. However, it is just the other side of an interior wall from the fairly high-end WiFi acces...
by pfletch101
Sun Dec 15, 2019 9:56 pm
Forum: General discussion
Topic: SD card or Micro SD card?
Replies: 17
Views: 1028

Re: SD card or Micro SD card?

Okay, it can be read correctly, but it is ambiguous. (What is the scope of "original"?) Two possible alternatives: The original Raspberry Pi Model A and original Raspberry Pi Model B require full-size SD cards. All newer models of Raspberry Pi require micro SD cards. The original Raspberry Pi Model...
by pfletch101
Thu Dec 12, 2019 6:18 pm
Forum: Raspberry Pi OS
Topic: STICKY: Buster bug report thread
Replies: 392
Views: 99468

Re: Buster bug report thread

emma1997 wrote:
Thu Dec 12, 2019 6:15 pm
Space character %20 is hex (aka $20, 0x20, 20H, 32dec 0b0010000 etc). IIRC octal would be 040.
You're right, of course. Put it down to old age creeping on apace. Original corrected.
by pfletch101
Thu Dec 12, 2019 6:10 pm
Forum: Raspberry Pi OS
Topic: STICKY: Buster bug report thread
Replies: 392
Views: 99468

Re: Buster bug report thread

@DougieLawson: i hope that is a joke. what kind of feature should it be? usually the computer has to submit to the human. for what else do we have computers ;) All sorts of potential and actual problems are introduced by file names containing spaces. Even Windows (which is their main perpetrator) h...
by pfletch101
Wed Dec 04, 2019 3:00 pm
Forum: Automation, sensing and robotics
Topic: Detecting an appliance is in use
Replies: 30
Views: 1933

Re: Detecting an appliance is in use

Current should only flow in the gnd cable under fault conditions (and then usually only very transiently, until the breaker or fuse blows!). There is thus no reason to include the gnd cable in a current sensor if you choose to monitor the return current. Where I am located only true for RCD/GFI ins...
by pfletch101
Tue Dec 03, 2019 4:11 pm
Forum: Automation, sensing and robotics
Topic: Detecting an appliance is in use
Replies: 30
Views: 1933

Re: Detecting an appliance is in use

Note it's quite easy to split a typical 2 wire lamp cord to clamp one of the wires. Even with 3 wire cables it's not hard to separate out the individuals. In that case you do have to make sure to use the live wire as trejan mentions or make sure to pair the other two (neutral & gnd) and treat as on...
by pfletch101
Tue Dec 03, 2019 3:33 pm
Forum: General discussion
Topic: Skype on Raspberry Pi 4
Replies: 6
Views: 12587

Re: Skype on Raspberry Pi 4

Botspot wrote:
Thu Nov 28, 2019 7:48 pm
Pidgin is a universal chat client. You can install it using apt. There is a third party plugin for Skype.
Does Pidgin support video chat/conferencing?
by pfletch101
Tue Nov 26, 2019 1:51 am
Forum: General discussion
Topic: Rebooting some old version!??!
Replies: 8
Views: 455

Re: Rebooting some old version!??!

There is no more (or less, or different) problem with using a (mains-side) power switch timer on 'sensitive electronics' than there is in turning them on or off by means of any other sort of power switch. I disagree. Inrush current causing cumulative stress in components is a known problem. It will...
by pfletch101
Mon Nov 25, 2019 11:18 pm
Forum: General discussion
Topic: Rebooting some old version!??!
Replies: 8
Views: 455

Re: Rebooting some old version!??!

When the cost of running 24/365 is less than five quid, there's no point in powering things off unless your power company cuts the supply (as they did to me for 12,466 seconds last night). My 'workhorse' Pi does run 24/7/365, but it is doing things on the same continuous basis. It is on a mains UPS...
by pfletch101
Mon Nov 25, 2019 10:32 pm
Forum: General discussion
Topic: Rebooting some old version!??!
Replies: 8
Views: 455

Re: Rebooting some old version!??!

You shouldn't use a power switch timer on any sensitive electronics. The continual on/off cycling is very rough on components due to the initial inrush. You risk damaging the power supply and the Pi. The abrupt power loss can cause corruption to your SD card because it wasn't shutdown cleanly. You ...
by pfletch101
Fri Nov 22, 2019 10:16 pm
Forum: Python
Topic: Flask seems to be running under Python 2 - ?Solved
Replies: 7
Views: 787

Re: Flask seems to be running under Python 2

It looks as if the problem was some sort of basic misconfiguration in the system - presumably resulting from something I had done with or to the Pi in the past. After bashing my head against the wall for a bit longer, I decided to start from scratch with a new Raspbian installation. After setting th...
by pfletch101
Thu Nov 21, 2019 2:00 pm
Forum: Python
Topic: Flask seems to be running under Python 2 - ?Solved
Replies: 7
Views: 787

Re: Flask seems to be running under Python 2

Another good thought, but none of my code files have shebangs (since they are not executed directly, but either imported by others or loaded by Flask), and, again, the entire flask application tree was copied from the Debian VM, on which it is running under Flask without problems. To be causing this...
by pfletch101
Thu Nov 21, 2019 4:11 am
Forum: Python
Topic: Flask seems to be running under Python 2 - ?Solved
Replies: 7
Views: 787

Re: Flask seems to be running under Python 2

not a Flask expert (unless it has whisky in it) but: what user does Flask run under? Your venv is likely only available to the Pi user, so if Flask is using sudo or going under another user, it'll pick up the system Python's definition of python2 or python3 A good thought, but this should apply equ...
by pfletch101
Wed Nov 20, 2019 10:55 pm
Forum: Networking and servers
Topic: Accessing an 'external' ad hoc network
Replies: 0
Views: 172

Accessing an 'external' ad hoc network

I have a fairly old IoT device that sets up an adhoc WiFi network when reset - you then access a couple of web pages on it to set it up. Windows is (unsurprisingly) hopeless for this, since it adamantly 'protects' you from such networks. I had hoped that I could use one of my Pis to connect to it, b...
by pfletch101
Wed Nov 20, 2019 10:47 pm
Forum: Python
Topic: Flask seems to be running under Python 2 - ?Solved
Replies: 7
Views: 787

Re: Flask seems to be running under Python 2

"python" still refers to Python 2 on Buster. You are right, of course, under normal circumstances - on both systems. However (and this is why I was confused) it appears that if you invoke python in a venv environment that was created by python3 , you get python3. On my Windows system VM, I am withi...
by pfletch101
Tue Nov 19, 2019 11:56 pm
Forum: Python
Topic: Flask seems to be running under Python 2 - ?Solved
Replies: 7
Views: 787

Flask seems to be running under Python 2 - ?Solved

I have developed a Flask Application in a Debian Buster 64 VM on my main (Windows) system, with the intention of running it in 'production' on my Pi 3B. It has been debugged and runs without problems on the Debian system (on which I note that the default Python version is 3.7.3 - as it apparently no...

Go to advanced search