Go to advanced search

by gintonik
Thu Jul 30, 2020 5:48 pm
Forum: Beginners
Topic: raspbian external HD name change on /media/pi
Replies: 1
Views: 116

Re: raspbian external HD name change on /media/pi

I think it´s better to mount your Volume to a native path, try to work with the UUID. sudo blkid https://maker-tutorials.com/wp-content/uploads/2015/02/Bildschirmfoto-2015-02-13-um-22.16.17.png sudo nano /etc/fstab # Ext4 UUID=13aa0627-fb13-4d2f-8d3f-53aea43b9439 /media/usbhdd ext4 defaults 0 0 #NTF...
by gintonik
Sat Jul 25, 2020 9:54 pm
Forum: General programming discussion
Topic: start python over php
Replies: 10
Views: 1020

Re: start python over php

So, after a few days and a lot of work i done it! I did an real stupid thing, i wrote data-WWW instead of data-www at the sudoers! This simple thing is the different between "working" and "do nothing". So i will repeat all thing you have to do, if you like to start a python from ...
by gintonik
Mon Jul 20, 2020 3:49 pm
Forum: General programming discussion
Topic: start python over php
Replies: 10
Views: 1020

Re: start python over php

OK, i tried to post you just the relevant parts from my project, i don´t like boring you but now i will try to descripe you the function: It´s a Photobooth with an GUI (html5 Website displayed on a 10" Tablet): On the startscreen you push "take a photo). Then coundown.html starts (showing ...
by gintonik
Mon Jul 20, 2020 3:32 pm
Forum: General programming discussion
Topic: start python over php
Replies: 10
Views: 1020

Re: start python over php

neilgl wrote:
Mon Jul 20, 2020 9:28 am
Looks like the shell script is run using backticks rather than shell exec etc. In $run=`$script`;
Also is WA_SCRIPT.js Web Animator?

Yes, it´s a part from webanimator
by gintonik
Sun Jul 19, 2020 6:08 pm
Forum: General programming discussion
Topic: start python over php
Replies: 10
Views: 1020

Re: start python over php

I´m sure that the Problem is starting the python. I modified my script.py for shutdown immediately. If it works, RPI shut down. So the Issue will just have one reason; why the php doesnt start the bash script?
by gintonik
Sun Jul 19, 2020 6:03 pm
Forum: General programming discussion
Topic: start python over php
Replies: 10
Views: 1020

Re: start python over php

Thank you for your comment, but that not fixing the problem. Every file is owned by "pi" and be executable by sudo chmod +x start.sh/start.py. These Files are hosted in: /var/www/html/scripts -rwxrwxrwx 1 pi pi 133 Jan 25 18:44 test1.sh -rwxrwxrwx 1 pi pi 133 Jan 25 18:44 test2.sh -rwxrwxr...
by gintonik
Sun Jul 19, 2020 4:08 pm
Forum: General programming discussion
Topic: start python over php
Replies: 10
Views: 1020

start python over php

Hi, i´m very frustated because i have an issue and no idea why it dosn´t works! Explain: I have an RPI with Apache Webserver (incl. PHP). There is a php-Site who starting an bash-script inside the /var/www/html/scripts-Folder. The script .sh starts a python-Script located /home/pi/Desktop/myscript.p...
by gintonik
Sun Jul 19, 2020 2:31 pm
Forum: Deutsch
Topic: Python-Script in Php-Datei ausführen
Replies: 5
Views: 1836

Re: Python-Script in Php-Datei ausführen

Wie ist die Geschichte denn jetzt ausgegangen?
by gintonik
Mon Jul 13, 2020 4:47 pm
Forum: Python
Topic: check if exist a file
Replies: 7
Views: 324

Re: check if exist a file

I found an other good solution: Every turn the picture is deleted from Desktop folder. Before the preview starting i copying a "thumb down.jpg" as preview.jpg. In the next step i copy the picture.jpg to the preview.jpg. If a new picture is their, the new picture is shown. If not the thumb ...
by gintonik
Mon Jul 13, 2020 4:04 pm
Forum: Python
Topic: check if exist a file
Replies: 7
Views: 324

Re: check if exist a file

I have definitly an big issue: I have two script: capture1 and capture2, the will be started once after the other. Capture1 just taking the picture and downloading to the RPI, Capture2 then transform the size, copying to different folders etc.. But between 1 & 2 the file have to be exist in the ...
by gintonik
Mon Jul 13, 2020 3:40 pm
Forum: Python
Topic: check if exist a file
Replies: 7
Views: 324

Re: check if exist a file

Now i tried this one: import os.path if os.path.isfile('/home/pi/Desktop/capt0000.jpg'): os.system("sshpass -p password ssh pi@192.168.178.6 'sudo python3 /home/pi/Desktop/fbithumb.py'") else: os.system("sshpass -p password ssh pi@192.168.178.6 'sudo python3 /home/pi/Desktop/fbithumb1...
by gintonik
Mon Jul 13, 2020 2:51 pm
Forum: Python
Topic: check if exist a file
Replies: 7
Views: 324

Re: check if exist a file

Hi,

i need it inside a python script, because all of my function written in python. I tried many ways but nothing of them are still working, so i don´t like to post all my bad tries.
by gintonik
Sun Jul 12, 2020 4:37 pm
Forum: Python
Topic: check if exist a file
Replies: 7
Views: 324

check if exist a file

Hi Everybody, i build an photobooth with same badass features ;-) I´m very proud of it, but some little issue makes my work hard. How to work: If the Camera becomes the order "take a picture" they will do it an save the pictures called "capt0000.jpg" in the working directory. The...
by gintonik
Tue Jan 14, 2020 11:24 am
Forum: Graphics, sound and multimedia
Topic: Dynamic Picture Gallery for Browser
Replies: 4
Views: 394

Re: Dynamic Picture Gallery for Browser

Automaticlly Reload is not needed, because if pictures is taken and the booth going back to main menu a button "Gallery" have be to click that the gallery starts. And at this moment no newer Image come to the Folder and the Gallery loaded all availible Images
by gintonik
Tue Jan 14, 2020 10:18 am
Forum: Graphics, sound and multimedia
Topic: Dynamic Picture Gallery for Browser
Replies: 4
Views: 394

Re: Dynamic Picture Gallery for Browser

Thank you very much. I will try it soon.

I finished creating a GUI and this is the last thing i need for getting a very nice function.
by gintonik
Mon Jan 13, 2020 6:36 pm
Forum: Graphics, sound and multimedia
Topic: I made (and open source) a simple browser app for photo/PPTX export slideshow, aimed for Raspbian
Replies: 2
Views: 356

Re: I made (and open source) a simple browser app for photo/PPTX export slideshow, aimed for Raspbian

Hi,

sometimes i´m wondering about things happens!!!

I search exactly the thing you´ll done, Maybe...


I build a photobooth and now i try to load all taken pictures inside a gallery. The special thing is, that every new picture have to be add.
Is this possible with your code?
by gintonik
Mon Jan 13, 2020 4:11 pm
Forum: Graphics, sound and multimedia
Topic: Dynamic Picture Gallery for Browser
Replies: 4
Views: 394

Dynamic Picture Gallery for Browser

Hi, year for year i updating my Photobooth. Now it´s time for the next step. I´d like to show all taken Pictures in a Gallery on a Website. The Content have been taken from the Folder, where the Pictures where stored. And if the Evening starts, more and more Pictures come by. So the Gallery have to ...
by gintonik
Sat Aug 03, 2019 10:31 pm
Forum: Other projects
Topic: Messenger for the RPI
Replies: 3
Views: 1546

Re: Messenger for the RPI

Maybe there is an option, if the mail-client on a android/ios device looks like an messanger... :shock:
Then listening for emails by pi gets the easiest job...
by gintonik
Sat Aug 03, 2019 10:29 pm
Forum: Other projects
Topic: Messenger for the RPI
Replies: 3
Views: 1546

Re: Messenger for the RPI

Hi,

unfortunally is not so easy send pictures by email then from a messenger. And an other advance is the compression of the pictures. And last but not least: Email is not more "State of the Art" for mobile communication...

I have to find a way whats easy to use for everybody.
by gintonik
Sat Aug 03, 2019 9:43 pm
Forum: Other projects
Topic: Messenger for the RPI
Replies: 3
Views: 1546

Messenger for the RPI

Hello Pi-Experts, i have a little problem: The Employees of a Friend are working outside the Company and loading Machines for the worldwide transportation. They´re taking photos of every step, so after the day there are many pictures taken. Until today my friend get all pictures by whatsapp, because...
by gintonik
Sun Jul 21, 2019 4:09 pm
Forum: General programming discussion
Topic: Compile Telegram to Raspian Buster
Replies: 6
Views: 6356

Re: Compile Telegram to Raspian Buster

There was an Issue again! I found an other Github-Package, where it works fine. The correct Instruction is: sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make git clone --recursive https://github.com/kenorb-contrib/tgl.git && cd tgl ./configu...
by gintonik
Sun Jul 21, 2019 10:12 am
Forum: General programming discussion
Topic: Compile Telegram to Raspian Buster
Replies: 6
Views: 6356

Re: Compile Telegram to Raspian Buster

Hi,

i think i found the file who needed edited!!!

In the /tg-Folder is a File named makefile, i edited this on an found a parameter "-werror", i deleted that. Now it should working. Thank you very much!!!!
by gintonik
Sun Jul 21, 2019 10:08 am
Forum: General programming discussion
Topic: Compile Telegram to Raspian Buster
Replies: 6
Views: 6356

Re: Compile Telegram to Raspian Buster

Hi epoch1970,

thank you for your Post.

Code: Select all

A User Name Paulchen written this:

cc1: all warnings being treated as errors

That comes from -Werror in Makefile.
So remove that.
but i don´t know where i can remove it. Can you help me again?
by gintonik
Sun Jul 21, 2019 9:49 am
Forum: General programming discussion
Topic: Compile Telegram to Raspian Buster
Replies: 6
Views: 6356

Compile Telegram to Raspian Buster

Hi, i need to install the TELEGRAM-Messanger to a RPI-B with Raspian Buster. System ist fully updated ans runs good. I use the Instruction for installing: sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make git clone --recursive https://github.com/vys...
by gintonik
Fri Jun 07, 2019 11:02 am
Forum: Other projects
Topic: Ideas for a Homemade Ware-House System
Replies: 3
Views: 592

Re: Ideas for a Homemade Ware-House System

Using sqlite looks like a way to realise it. I have to use a single Table, there´s no need do work with more then one, because i just only want sorting my parts und not selling it to customers. Is it possible to start a python script from the example query.php ? I have to make a Field with the Locat...

Go to advanced search