Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: AttributeError: 'top_block_sptr' object has no attribute 'change_param_1'
Post: RE: AttributeError: 'top_block_sptr' object has no...

(Oct-01-2019, 05:30 PM)stullis Wrote: could be the indenting on lines 43 and 44 Thats how the problem started. I got many notifications about the indenting of these lines and tried different ways an...
Hadad General Coding Help 2 3,162 Oct-01-2019, 06:33 PM
    Thread: AttributeError: 'top_block_sptr' object has no attribute 'change_param_1'
Post: AttributeError: 'top_block_sptr' object has no att...

In this exercise, I am using a python webserver to change the parameters' values inside my configuration file (.ini file). To do that I have a few widgets (roundsliders) that I am using to change the ...
Hadad General Coding Help 2 3,162 Oct-01-2019, 05:00 PM
    Thread: RuntimeError: can't open file
Post: RE: RuntimeError: can't open file

(Aug-24-2019, 06:01 PM)ndc85430 Wrote: It would help if you provided the entire tracebackIts been a week since I posted this topic and I just noticed that I didn't provide the traceback! Sorry about...
Hadad General Coding Help 2 5,358 Aug-27-2019, 04:23 PM
    Thread: RuntimeError: can't open file
Post: RuntimeError: can't open file

In the below code I am trying to import a .dat file that has the IQ data to run in my Python Flask webserver. When I run the program, it crashes and gives me the "RuntimeError: can't open file" error....
Hadad General Coding Help 2 5,358 Aug-21-2019, 02:39 PM
    Thread: wbserver roundSlider widget doesn't start/update audio tone program
Post: RE: wbserver roundSlider widget doesn't start/upda...

(Aug-01-2019, 05:32 PM)snippsat Wrote: a project that's not so easyI just gave up now on accomplishing this task this way, too much for a dumb beginner like me! I will try a different route to accom...
Hadad Web Scraping & Web Development 8 5,373 Aug-01-2019, 05:46 PM
    Thread: wbserver roundSlider widget doesn't start/update audio tone program
Post: RE: wbserver roundSlider widget doesn't start/upda...

(Aug-01-2019, 04:02 PM)buran Wrote: I will merge both I am not a real coder and definitely won't argue with knowledgable geeks like you! You are the boss here Buran :) but I hope it will still show ...
Hadad Web Scraping & Web Development 8 5,373 Aug-01-2019, 04:08 PM
    Thread: wbserver roundSlider widget doesn't start/update audio tone program
Post: RE: wbserver roundSlider widget doesn't start/upda...

(Aug-01-2019, 03:50 PM)buran Wrote: how this thread is different from your other thread?It is different because in the other thread I start by saying: When I run my webserver program the audio outpu...
Hadad Web Scraping & Web Development 8 5,373 Aug-01-2019, 03:55 PM
    Thread: wbserver roundSlider widget doesn't start/update audio tone program
Post: wbserver roundSlider widget doesn't start/update a...

I have a "dial tone" python program that is imported into a Falsk webserver, and I have an html embedded roundSlider widget that I am trying to use to update the sample rate variable values inside dia...
Hadad Web Scraping & Web Development 8 5,373 Aug-01-2019, 03:06 PM
    Thread: TypeError: int() argument must be a string or a number, not 'NoneType'
Post: RE: TypeError: int() argument must be a string or ...

(Jul-30-2019, 06:55 PM)Yoriz Wrote: its not real code, its a picture of code Sorry about that Yoriz. I just updated my post.
Hadad General Coding Help 2 6,828 Jul-30-2019, 07:22 PM
    Thread: TypeError: int() argument must be a string or a number, not 'NoneType'
Post: TypeError: int() argument must be a string or a nu...

Hi, I'm getting this error when I run the following code. Any help to solve it would be highly appreciated. app.py code: from flask import Flask, render_template, jsonify,request,redirect,url_for f...
Hadad General Coding Help 2 6,828 Jul-30-2019, 05:58 PM
    Thread: wbserver roundSlider widget doesn't start/update audio tone program
Post: A problem while trying to control a variable insid...

When I run my webserver program the audio output is working (which is continuous Tone)and the Slider works too (I mean the Slider does update the values). But the problem is this Slider widget doesn't...
Hadad Web Scraping & Web Development 8 5,373 Jul-29-2019, 02:36 AM
    Thread: TypeError: 'top_block_22' object is not callable
Post: TypeError: 'top_block_22' object is not callable

This is AJAX to flask server project. For more info about this project I have a couple postings about it here, please see link-1 link-2 When I run the python code in the terminal I get the TypeErro...
Hadad General Coding Help 0 1,834 Jul-26-2019, 06:55 PM
    Thread: How to control frequency sampling rate my dial_tone through AJAX to flask server?
Post: RE: How to control frequency sampling rate my dial...

(Jul-25-2019, 09:27 PM)snippsat Wrote: Here some point that important,when shall use slide value in other code.Thank you so much for your help snippsat. I did what you told me and got a new error me...
Hadad General Coding Help 4 3,242 Jul-26-2019, 05:00 PM
    Thread: How to control frequency sampling rate my dial_tone through AJAX to flask server?
Post: RE: How to control frequency sampling rate my dial...

(Jul-24-2019, 08:41 PM)gontajones Wrote: console.log(args.value Hi gontajones, I tried it but nothing changed! The slider does work, as before, but no sound untill I hit ctrl + c then I start to he...
Hadad General Coding Help 4 3,242 Jul-24-2019, 09:15 PM
    Thread: How to control frequency sampling rate my dial_tone through AJAX to flask server?
Post: How to control frequency sampling rate my dial_ton...

I am trying to control the frequency sampling rate of my dial_tone python code through a AJAX for to flask server. The problem is I don't have a control over the sampling rate value. Meaning, when I ...
Hadad General Coding Help 4 3,242 Jul-24-2019, 07:53 PM
    Thread: Problem: Once I cancel the process my program will start working!
Post: Problem: Once I cancel the process my program will...

I am trying to control the frequency sampling rate of my dial_tone python code through a AJAX for to flask server. The problem is when I start running the program and start sliding/dragging the roun...
Hadad General Coding Help 0 1,653 Jul-24-2019, 04:09 PM
    Thread: [SOLVED ]ValueError: View function did not return a response
Post: [SOLVED ]ValueError: View function did not return ...

I am getting the below error when I run my code. The story is, I am trying to control the frequency sampling rate of my dial_tone python code through a AJAX for to flask server. Update Update Update...
Hadad General Coding Help 0 4,876 Jul-24-2019, 04:01 PM
    Thread: I am having a problem with my Slider
Post: RE: I am having a problem with my Slider

(Jul-23-2019, 06:45 PM)snippsat Wrote: HowHow can I increase the slider value, I want to increase it to more than 100? (Jul-24-2019, 01:25 PM)Hadad Wrote: How can I increase the slider value, I w...
Hadad Web Scraping & Web Development 5 4,938 Jul-24-2019, 01:36 PM
    Thread: I am having a problem with my Slider
Post: RE: I am having a problem with my Slider

(Jul-23-2019, 06:45 PM)snippsat Wrote: Now you see address http://127.0.0.1:5000/ copy to browser.OH YEAHHHHH ... Now I got self confidence back :D [Image: https://imagizer.imageshack.com/img922/16...
Hadad Web Scraping & Web Development 5 4,938 Jul-23-2019, 07:14 PM
    Thread: I am having a problem with my Slider
Post: RE: I am having a problem with my Slider

(Jul-23-2019, 02:29 PM)snippsat Wrote: So slide_val is what you need to integrate in GNU Radio code. You have pick a project that's not so easy if new to all of this UndecidedAnd thats my problem!! ...
Hadad Web Scraping & Web Development 5 4,938 Jul-23-2019, 06:21 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020