I'm trying to execute a script on my Raspberry Pi (Ubuntu MATE), which was working perfectly fine in my VM (Oracle VM Virtual Box/Ubuntu 15.10). On the Raspberry Pi, I've tried Raspbian and currently I'm running Ubuntu MATE (16.04) because I wanted to see if it works there.
Basically my script goes through a few lists and takes the first item of each one, after that run it changes and takes the second item of the last list etc. to search for information (flights) online. Basically it's a "try each combination of the items" The results are saved in different files.
I don't get an error, which is the strange thing. I've installed all the packages my script needs.
It just goes through one loop and gets "stuck". So, the terminal acts like it's still working but I don't get any more outputs. I end up getting one file, instead of 12...
I also have to close the console with Ctrl+Z.
Does anyone have an idea what could cause this issue?
Code: https://github.com/tuxeos/flightsearch/blob/master/flightfail.py
Output: https://raw.githubusercontent.com/tuxeos/flightsearch/master/output.md
I removed the website from the source code, because I don't want to get into any troubles. But the other code (except for the departure/arrival dates and the Airport codes) is the same.
The output from the execution in the VirtualBox is the same, it just continues after "Starting timer" and goes into the next loop.
Versions on Ubuntu (VM):
- qt: 4.8.6
- SIP: 4.16.9
- PyQt: 4.11.4
Versions on Ubuntu MATE (Raspberry Pi 3):
- qt: 4.8.7
- SIP: 4.17
- PyQt: 4.11.4