Re: Custom logging code(s) / numbers to the log level Error

2019-02-22 Thread Peter Otten
kibt...@gmail.com wrote: > I wanted to write/extend the logging library to have a custom Error number > for each exception (error) the code has. What's the best approach for > this? If possible can someone please provide a good starting code snippet. > Thanks You can pass arbit

Custom logging code(s) / numbers to the log level Error

2019-02-22 Thread kibtes2
I wanted to write/extend the logging library to have a custom Error number for each exception (error) the code has. What's the best approach for this? If possible can someone please provide a good starting code snippet. Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Fatal Python error

2019-01-27 Thread songbird
Abdallah Adham wrote: > Hey > I am having this problem for about 2 weeks, I can't do anything, so please > give me some instructions so I can solve it. > > Fatal Python error: initfsencoding: unable to load the file system code. > ModuleNotFoundError: No module named 'e

Fatal Python error

2019-01-27 Thread Abdallah Adham
Hey I am having this problem for about 2 weeks, I can't do anything, so please give me some instructions so I can solve it. Fatal Python error: initfsencoding: unable to load the file system code. ModuleNotFoundError: No module named 'encodings' :Current thread 0x3c7c (most re

Re: Error while using suds: suds.TypeNotFound: Type not found

2019-01-20 Thread dieter
x27;https://login.keyinvoice.com/API3_ws.php?wsdl' > client = Client(url) > > Error: > > suds.TypeNotFound: Type not found: '(Array, http://www.w3.org/2001/XMLSchema, > )' "TypeNotFound" typically indicates a WSDL error, more precisely an error in the XML

Re: Error while using suds: suds.TypeNotFound: Type not found

2019-01-20 Thread MRAB
https://login.keyinvoice.com/API3_ws.php?wsdl' client = Client(url) Error: suds.TypeNotFound: Type not found: '(Array, http://www.w3.org/2001/XMLSchema, )' What I tried 2 from suds.client import Client from suds.xsd.doctor import Import, ImportDoctor imp = Import('http://www.w3.org/2001/XMLSch

Re: Error while using suds: suds.TypeNotFound: Type not found

2019-01-20 Thread prakashsharmacs24
.client import Client > url = 'https://login.keyinvoice.com/API3_ws.php?wsdl' > client = Client(url) > > Error: > > suds.TypeNotFound: Type not found: '(Array, http://www.w3.org/2001/XMLSchema, > )' > > What I tried 2 > > from suds.cli

Error while using suds: suds.TypeNotFound: Type not found

2019-01-20 Thread prakashsharmacs24
I want to consume the web services described in the following: https://login.keyinvoice.com/API3_ws.php?wsdl I am using python 3.5.x and suds version 0.6. What I tried 1 from suds.client import Client url = 'https://login.keyinvoice.com/API3_ws.php?wsdl' client = Client(ur

Error while calling a subprocess and execute another script from one py file

2018-12-30 Thread sandeep . bayi6
Hi all, == Error code : -- Traceback (most recent call last): File "E:\ocius_tjb\run.py", line 163, in subprocess.check_call([&#

Re: Facing an Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

2018-12-30 Thread sandeep . bayi6
On Friday, December 28, 2018 at 5:41:52 PM UTC+5:30, Piet van Oostrum wrote: > sandeep.ba...@gmail.com writes: > > > ``` &g

Re: Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Michael Torrie
On 12/29/2018 01:15 AM, Rand .J wrote: > I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using > cmd on windows 10, I already installed python. when I type the command: tar > -xjvf data_examples.tar.bz2 > > I keep getting the error: tar: Error op

Re: Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Cameron Simpson
On 29Dec2018 11:15, Rand .J wrote: I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using cmd on windows 10, I already installed python. when I type the command: tar -xjvf data_examples.tar.bz2 I keep getting the error: tar: Error opening archive: Can't initial

Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Rand .J
Hello everyone I'm completely new to python and I'm facing this problem : I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using cmd on windows 10, I already installed python. when I type the command: tar -xjvf data_examples.tar.bz2 I keep getting the er

Re: Facing an Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

2018-12-28 Thread Piet van Oostrum
sandeep.ba...@gmail.com writes: > ``` > Error code: > -- > > > Traceback (most recent call last): > File > "C

Facing an Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

2018-12-27 Thread sandeep . bayi6
``` Error code: -- Traceback (most recent call last): File "C:\Users\sandeep\AppData\Local\Programs\Python\Python36-32\Lib\site.py"

Re: Getting Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

2018-12-27 Thread sandeep . bayi6
On Thursday, December 27, 2018 at 7:49:16 PM UTC+5:30, sandee...@gmail.com wrote: > ``` > Error code: > -- > > > Traceback (mos

Getting Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

2018-12-27 Thread sandeep . bayi6
``` Error code: -- Traceback (most recent call last): File "C:\Users\sandeep\AppData\Local\Programs\Python\Python36-32\Lib\site.py", li

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-24 Thread ant
sntshkm...@gmail.com wrote: >> $ pip install readme_renderer[md] > > Thanks a lot for this, I wasn't able to figure it out earlier. does it work ok now? got the upload to go to pypitest? ant -- https://mail.python.org/mailman/listinfo/python-list

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-24 Thread sntshkmr60
> $ pip install readme_renderer[md] Thanks a lot for this, I wasn't able to figure it out earlier. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread ant
sntshkm...@gmail.com wrote: >> did you check your dists via twine? >> >> $ twine check --verbose dist/* > > I checked with `twine check dist/*` (there's no --verbose option though). > I only get warning about markdown right, i see later in my history i used the twine check without the verbo

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread sntshkmr60
> did you check your dists via twine? > > $ twine check --verbose dist/* I checked with `twine check dist/*` (there's no --verbose option though). I only get warning about markdown > also make sure you are using up to date versions of > setuptools, wheel and twine > > > $ pip install -

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread ant
--repository testpypi dist/* > > Tried your suggestion for .pypirc file. Still the same error. > > Has something changed and is not reflected in the documentation? did you check your dists via twine? $ twine check --verbose dist/* also make sure you are using up to date ve

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread sntshkmr60
> .pypirc >= > [distutils] > index-servers= > testpypi > > [testpypi] > repository: https://test.pypi.org/legacy/ > username: UserName > password: Password > twine upload --repository testpypi dist/* Tried your suggestion for .pypirc file. Still the s

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread ant
y testpypi dist/* >= since i just went through this myself i thought i'd add a bit more. when you change over to post to the main pypi.org you need to do it to upload.pypi.org like: = [pypi] repository: https://upload.pypi.org/legacy/ = as i was getting 405 errors wh

Re: Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread ant
███| > 16.7k/16.7k [00:06<00:00, 2.50kB/s] > NOTE: Try --verbose to see response content. > HTTPError: 405 Client Error: Method Not Allowed for url: > https://test.pypi.org/ > ``` > > Here is the extra output from --verbose flag: >

Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

2018-12-23 Thread sntshkmr60
se to see response content. HTTPError: 405 Client Error: Method Not Allowed for url: https://test.pypi.org/ ``` Here is the extra output from --verbose flag: ``` Content received from server: 405 Method Not Allowed 405 Method Not Allowed The method POST is not allowed for this resour

error

2018-12-16 Thread Prasanna kumar
Sir/mam, Fatal error in launcher: Unable to create process using this is error which I am not getting clear with it . so, I request you to help me it. -- https://mail.python.org/mailman/listinfo/python-list

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread Cameron Simpson
On 30Nov2018 02:19, srinivasan wrote: Thanks a lot for your quick responses, again the below line seems to be throwing the same error, is that should I again decode the line where am facing the issue to str? or could you please let me if there is any alternative solution for the same or

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread srinivasan
Dear Mats, Thanks a lot for your quick responses, again the below line seems to be throwing the same error, is that should I again decode the line where am facing the issue to str? or could you please let me if there is any alternative solution for the same or workaround in python 3.6? Code

Bytes vs Strings (Was Re: [Tutor] Error Python version 3.6 does not support this syntax)

2018-11-29 Thread Rhodri James
On 29/11/2018 19:20, srinivasan wrote: With the below code snippet, I am seeing the below error, I am using python 3.6, could you please what could be the issue? [snip] Traceback (most recent call last): File "/home/srinivasan/Downloads/bt_tests/qa/test_library/bt_tests.py", li

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread Mats Wichmann
On 11/29/18 12:20 PM, srinivasan wrote: > Dear Python Experts, > > With the below code snippet, I am seeing the below error, I am using > python 3.6, could you please what could be the issue? > self.child = pexpect.spawn("bluetoothctl", echo = False) ... >

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread srinivasan
Dear Python Experts, With the below code snippet, I am seeing the below error, I am using python 3.6, could you please what could be the issue? Code Snippet: --- import time import pexpect import subprocess import sys class BluetoothctlError(Exception): """Th

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Mats Wichmann
editor on the bold highlighted code snippets I see the > error message "Python version 3.6 does not support this syntax.", once again you've posted in a way that inserts lots of extra crud, you avoided that last time. The syntax change is simple (and works on most older Pythons

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Terry Reedy
On 11/27/2018 8:24 AM, Frank Millman wrote: In the line 'return None',  it may be complaining that None is superfluous - a plain 'return' does the same thing. PEP 8 recommends explicit 'return None' if elsewhere in the function there is an explicit 'return something', as in if condition

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Terry Reedy
editor on the bold highlighted code snippets I see the error message "Python version 3.6 does not support this syntax.", No version of Python 3 supports the the old exception statement syntax. Python 2.7, released in 2010, supports both the old and the new syntax. I am not sure about 2.6

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Frank Millman
python3.6 version, In pycharm editor on the bold highlighted code snippets I see the error message "Python version 3.6 does not support this syntax.", Could you please how help me how the below highlighted lines of code can be can be ported to python3.6 version? *except

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Brian Oney via Python-list
On Tue, 2018-11-27 at 13:50 +0100, srinivasan wrote: > > *except BluetoothctlError, e:* > I don't have python3.6 available, but I believe the proper syntax is: except BluetoothctlError as e: print(e) See: https://docs.python.org/3/tutorial/errors.html?highlight=exception HTW -- h

Error Python version 3.6 does not support this syntax.

2018-11-27 Thread srinivasan
Dear Python Experts, As still I am newbie and learning python, I am trying to reuse the Bluetoothctl wrapper in Python from the link ( https://gist.github.com/egorf/66d88056a9d703928f93) I am using python3.6 version, In pycharm editor on the bold highlighted code snippets I see the error message

Re: Error in installing "conda-build"

2018-11-11 Thread tommy yama
sorry, this is solved. On Sun, Nov 11, 2018 at 12:49 PM tommy yama wrote: > Hi there, > > Anyone encountered the same problem? > > ommand "python setup.py egg_info" failed with error code 1 in > /private/tmp/pip-install-ReWrqJ/conda-build/ > > > Your advice

Error in installing "conda-build"

2018-11-10 Thread tommy yama
Hi there, Anyone encountered the same problem? ommand "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-ReWrqJ/conda-build/ Your advices would be appreciated. -- https://mail.python.org/mailman/listinfo/python-list

Re: Error in installing "pyperclip" module

2018-11-10 Thread boB Stepp
On Sat, Nov 10, 2018 at 11:45 AM Joel Goldstick wrote: > > On Sat, Nov 10, 2018 at 12:29 PM boB Stepp wrote: > > Unfortunately this is a text only mailing list, which disallows > > attachments. > > One maybe small quibble. I don't think it is unfortunate at all that > this mailing list is text

Re: Error in installing "pyperclip" module

2018-11-10 Thread Joel Goldstick
he latest version. > > Here’s the SS of command line showing error. > > Unfortunately this is a text only mailing list, which disallows > attachments. One maybe small quibble. I don't think it is unfortunate at all that this mailing list is text only. Coding is text. It is not

Re: Error in installing "pyperclip" module

2018-11-10 Thread boB Stepp
Greetings Hemant! On Sat, Nov 10, 2018 at 10:31 AM Hemant Chauhan wrote: > > Hi team, > I’m having trouble in installing pyperclip module through command line. > I just upgraded to the latest version. > Here’s the SS of command line showing error. Unfortunately this is a text on

Error in installing "pyperclip" module

2018-11-10 Thread Hemant Chauhan
Hi team, I’m having trouble in installing pyperclip module through command line. I just upgraded to the latest version. Here’s the SS of command line showing error. Peace. Regards, Hemant P.S. – I’m a beginner in Python , it’s the first programming language I started with. [cid:image002.png

Re: Number 7 syntax ERROR

2018-11-08 Thread Terry Reedy
On 11/7/2018 8:52 PM, NoHaxAllSwagg wrote: I have been experiencing difficulty while trying to run scripts on my IDLE software, considering that when I run my program, I get an error at the top of the page in the “Python 3.7.1” area, highlighting the seven telling me that there is a syntax

Re: Number 7 syntax ERROR

2018-11-08 Thread Vlastimil Brom
2018-11-08 2:52 GMT+01:00, NoHaxAllSwagg : > Hello, > I have been experiencing difficulty while trying to run scripts on my IDLE > software, considering that when I run my program, I get an error at the top > of the page in the “Python 3.7.1” area, highlighting the seven telling me >

Re: Number 7 syntax ERROR

2018-11-08 Thread Peter Otten
NoHaxAllSwagg wrote: > Hello, > I have been experiencing difficulty while trying to run scripts on my IDLE > software, considering that when I run my program, I get an error at the > top of the page in the “Python 3.7.1” area, highlighting the seven telling > me that there is a s

Re: Number 7 syntax ERROR

2018-11-08 Thread Jack Dangler
On 11/7/18 8:52 PM, NoHaxAllSwagg wrote: Hello, I have been experiencing difficulty while trying to run scripts on my IDLE software, considering that when I run my program, I get an error at the top of the page in the “Python 3.7.1” area, highlighting the seven telling me that there is a

Number 7 syntax ERROR

2018-11-08 Thread NoHaxAllSwagg
Hello, I have been experiencing difficulty while trying to run scripts on my IDLE software, considering that when I run my program, I get an error at the top of the page in the “Python 3.7.1” area, highlighting the seven telling me that there is a syntax error, in this case, I cant remove that

Re: FW: error code

2018-11-02 Thread MRAB
On 2018-11-02 17:53, Steve Gonzales wrote: [snip] Hello Python, I have installed c:\Python37 to my path and I still experience this issue "'python' is not recognized as an internal or external command, operable program or batch file.". I just installed the latest python version win 64bit usin

amusing error message

2018-11-02 Thread songbird
python/ https://salsa.debian.org/ant-guest/gfpoken-in-python/tree/next i'm using pyglet (most recent version) and gtk... the amusing bit: working on my git next branch... in my_sprite.py if i take the self out of on_animation_end parentheses i get this error message: TypeError: T

FW: error code

2018-11-02 Thread Steve Gonzales
I just subscribed. From: Steve Gonzales Sent: Friday, November 02, 2018 7:20 AM To: 'python-list@python.org' Subject: error code Hello Python, I have installed c:\Python37 to my path and I still experience this issue "'python' is not recognized as an internal or e

Re: My python code has suddenly started to give me error. Please see code below**

2018-10-08 Thread Gary Herron
So, tell us the error and we'll see what we can do.  Give us something to work with:   Cut and past the full error message, trace back, whatever you can. Also tell us what version of Python, what system you are running on, how you run this code, ... On 10/08/2018 10:17 PM, upadhyay.

My python code has suddenly started to give me error. Please see code below**

2018-10-08 Thread upadhyay . kamayani
## Calculating the Lower Limits(LLi) and Upper Limit(ULi) for each Band, where i is 1,2,.10 LL1=0 print(LL1) print(P2) print(D2) if(P2>25): UL1=D1 print(UL1) elif(UL1==D2): print(UL1) LL2=UL1 if(P3>25): UL2=D2 print(UL2) elif(UL2==D3): print(UL2) LL

Re: How to use Python's built-in Logging with Asyncio (Permission Error)

2018-10-08 Thread Ian Kelly
ang.python) > to ask questions about it. I already posted to stackoverflow but if anyone > could help out here or via stackoverflow I would greatly appreciate it. Here > is the link to my question: > > https://stackoverflow.com/questions/52708756/how-to-use-pythons-built-in-l

How to use Python's built-in Logging with Asyncio (Permission Error)

2018-10-08 Thread liamhanninen
overflow.com/questions/52708756/how-to-use-pythons-built-in-logging-with-asyncio-permission-error -- https://mail.python.org/mailman/listinfo/python-list

Error after installing python 2.7.5 on rhel6

2018-10-02 Thread Madushan Chathuranga
expat \ --with-system-ffi \ --enable-unicode=ucs4 && make afterwards, sudo make install && sudo chmod -v 755 /usr/lib/libpython2.7.so.1.0 everything executed successfully. but after the installation I'm getting an error when I type python or python --version in the t

Re: python3.7 error PYQT5 - NameError: name 'self' is not defined

2018-09-21 Thread Christopher Mullins
> > Hi when I disconnect the internet I get an error NameError: name 'self' is > not defined. I really dont get it.. thanks all. Is that a bug? or my fault? Exception in thread Thread-1: > Traceback (most recent call last): > File "C:\programming Alon\stock market

python3.7 error PYQT5 - NameError: name 'self' is not defined

2018-09-21 Thread alon . najman
Hi when I disconnect the internet I get an error NameError: name 'self' is not defined. I really dont get it.. thanks all. Is that a bug? or my fault? Exception in thread Thread-1: Traceback (most recent call last): File "C:\programming Alon\stock market app\PROJECT\AlonStockM

Re: Type error: not enough arguments for format string

2018-09-20 Thread Anssi Saari
Cameron Simpson writes: > On 19Sep2018 09:12, synch1...@gmail.com wrote: >>I'm just trying to follow along with the logging tutorial documentation and I >>am getting this error: >> >>import logging >> >>logging.basicConfig(format= '%(asctim

Re: Type error: not enough arguments for format string

2018-09-19 Thread Cameron Simpson
On 19Sep2018 09:12, synch1...@gmail.com wrote: I'm just trying to follow along with the logging tutorial documentation and I am getting this error: import logging logging.basicConfig(format= '%(asctime)s % (message)s', datefmt='%m%d%Y %I:%M:%S

RE: [SPAM] Type error: not enough arguments for format string

2018-09-19 Thread David Raymond
, September 19, 2018 12:12 PM To: python-list@python.org Subject: [SPAM] Type error: not enough arguments for format string Importance: Low I'm just trying to follow along with the logging tutorial documentation and I am getting this error: import logging logging.basicConfig(format= '%

Type error: not enough arguments for format string

2018-09-19 Thread synch1216
I'm just trying to follow along with the logging tutorial documentation and I am getting this error: import logging logging.basicConfig(format= '%(asctime)s % (message)s', datefmt='%m%d%Y %I:%M:%S %p') logging.warning('is when this event was logged') Err

Re: giving error during installation (ez_setup.py given error could not create ssl/tls secure channel)

2018-09-17 Thread dieter
Syed Shujaat writes: > can you please help regarding this problem. ez_setup.py given error could not > create ssl/tls secure channel Apparently, "ez_setup.py" tries to upgrade a transport communication channel with SSL (= "Secure Socket Layer") or TLS (= "Trans

giving error during installation (ez_setup.py given error could not create ssl/tls secure channel)

2018-09-17 Thread Syed Shujaat
Hello, can you please help regarding this problem. ez_setup.py given error could not create ssl/tls secure channel Regards Syed Shujaat -- https://mail.python.org/mailman/listinfo/python-list

Re: import inspect error

2018-09-17 Thread Gary Herron
You appear to have a local file named keyword.py which is hiding a python installation file of the same name. Gary Herron On 09/17/2018 01:06 AM, jupiter@gmail.com wrote: I have following errors running on Ubuntu 18, any insight how to fix it? Thank you. Python 2.7.15rc1 (default, A

Re: import inspect error

2018-09-17 Thread Chris Angelico
On Mon, Sep 17, 2018 at 6:06 PM, nobody wrote: > I have following errors running on Ubuntu 18, any insight how to fix it? > Thank you. > > Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) > [GCC 7.3.0] on linux2 > Type "help", "copyright", "credits" or "license" for more information. import

import inspect error

2018-09-17 Thread nobody
I have following errors running on Ubuntu 18, any insight how to fix it? Thank you. Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import inspect Traceback (most recent call last): File "", line

Re: dll file missing error

2018-09-16 Thread MRAB
On 2018-09-15 22:22, benjamin bulley wrote: I encounter a dll error message while trying to run python. I uninstalled the program just to reinstall to find the same problem. Please help as I am quite new to this. You haven't given any details. Which version of Windows? Which DLL?

dll file missing error

2018-09-16 Thread benjamin bulley
I encounter a dll error message while trying to run python. I uninstalled the program just to reinstall to find the same problem. Please help as I am quite new to this. -- https://mail.python.org/mailman/listinfo/python-list

Re: trying to connect the setarrange and blendshape input target weight while running the script am getting error in the 8th line. (for each in lip_val_list: )

2018-09-13 Thread Gary Herron
Your indentation of that line is incorrect. You also have indentation errors on lines 14 and 21.  (Possibly more, that's all the further I checked.)  Do you understand Python's indentation rules? In the future, you can do a lot better to help us help you. First, tell us the err

trying to connect the setarrange and blendshape input target weight while running the script am getting error in the 8th line. (for each in lip_val_list: )

2018-09-13 Thread christysonia
lf_main_attr = "head_icon.Lf_Sticky_Lips" rt_main_attr = "head_icon.Rt_Sticky_Lips" lip_val_list = [18, 14] lip_name_list = ['upperLip', 'lowerLip'] name_counter = 0 for each in lip_val_list: half_val = (each / 2) + 1 total_val = each + 1 div_val = 10.0 / half_val counter = 0 while(c

Re: on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium and getting error

2018-09-10 Thread dieter
alon.naj...@gmail.com writes: > on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium > and getting an error the Firefox browser is opened automatically :) it just > don't work I'm not getting the stock value on the print BTW it works on my PC

Re: perplexing error

2018-09-10 Thread Chris Angelico
On Tue, Sep 11, 2018 at 7:50 AM, Peter Pearson wrote: > On 8 Sep 2018 19:10:09 GMT, Stefan Ram wrote: >> Peter Pearson writes: >>>On 8 Sep 2018 17:25:52 GMT, Stefan Ram wrote: In such cases, I do: print( 'at position 1' ) >>>This approach is especially valuable when it turns out that >>

Re: perplexing error

2018-09-10 Thread Peter Pearson
On 8 Sep 2018 19:10:09 GMT, Stefan Ram wrote: > Peter Pearson writes: >>On 8 Sep 2018 17:25:52 GMT, Stefan Ram wrote: >>>In such cases, I do: >>>print( 'at position 1' ) >>This approach is especially valuable when it turns out that >>the file you're editing is not the file being included. > >

on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium and getting error

2018-09-10 Thread alon . najman
hi , on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium and getting an error the Firefox browser is opened automatically :) it just don't work I'm not getting the stock value on the print BTW it works on my PC with ChromeDriver - Traceback (most recent

Re: perplexing error

2018-09-09 Thread Sharan Basappa
On Sunday, 9 September 2018 00:02:49 UTC+5:30, Peter Otten wrote: > Sharan Basappa wrote: > > > I am running a small python code. The main module calls another data > > loader module. I keep this getting this error. > > > > AttributeError: 'str' objec

Re: perplexing error

2018-09-08 Thread Peter Pearson
On 8 Sep 2018 17:25:52 GMT, Stefan Ram wrote: > Sharan Basappa writes: >> 66 # get the label for each log >> 67 data_df['label'] = (data_df['label'] != '-').astype(int) >>---> 68 #logger.debug("data frame %s \n", data_df) >> 69 logger.debug("\n") >>

Re: perplexing error

2018-09-08 Thread Peter Otten
Sharan Basappa wrote: > I am running a small python code. The main module calls another data > loader module. I keep this getting this error. > > AttributeError: 'str' object has no attribute 'raw_data' > > I tried few things in the code and finally realiz

perplexing error

2018-09-08 Thread Sharan Basappa
I am running a small python code. The main module calls another data loader module. I keep this getting this error. AttributeError: 'str' object has no attribute 'raw_data' I tried few things in the code and finally realized that no matter the line number is 68 of da

Re: OpenSSL error

2018-09-06 Thread dieter
Peng Yu writes: > ... > from OpenSSL import rand, crypto, SSL > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenSSL/SSL.py", > line 118, in > SSL_ST_INIT = _lib.SSL_ST_INIT > AttributeError: 'module' object has no attribute 'SSL_ST_INIT' That

OpenSSL error

2018-09-06 Thread Peng Yu
Hi, I got the following error. Does anybody know how to fix it? Thanks. $ pip Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pip", line 7, in from pip._internal import main File "/Library/Frameworks/Python.framework/V

Re: Error installing libraries

2018-09-05 Thread Thomas Jollans
On 2018-09-03 09:10, ojas gupta wrote: > error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-to ols > > > Command ""c

Error installing libraries

2018-09-05 Thread ojas gupta
44d 1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz Installing collected packages: mysqlclient Running setup.py install for mysqlclient ... error Complete output from command "c:\users\ojas gupta\appdata\local\programs\python\python37\python.exe" -u -c "import se

Re: Error installing libraries

2018-09-04 Thread dieter
Gilmeh Serda writes: > On Mon, 03 Sep 2018 12:40:49 +0530, ojas gupta wrote: > >> error: Microsoft Visual C++ 14.0 is required. > > Wonder why it doesn't work? At least, the error message is clear: the process needs "Microsoft Visual C++ 14.0". It is insta

Re: Error installing libraries

2018-09-03 Thread Thomas Jollans
On 2018-09-03 09:10, ojas gupta wrote: > error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft > Visual C++ Build Tools": > http://landinghub.visualstudio.com/visual-cpp-build-tools > > > Command &quo

Error installing libraries

2018-09-03 Thread ojas gupta
/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz Installing collected packages: mysqlclient Running setup.py install for mysqlclient ... error Complete output from command "c:\users\ojas gupta\appdata\local\programs\python\python37\python.exe" -u -c "import set

Re: zpifile.py error - no crc 32 attribute

2018-08-24 Thread jacob m
On 2018-08-22 23:43, jacob m wrote: > > " import zlib > > print(zlib.__file__)" > > > > When I don't have the zlib uploaded to my Python3.7 library, I have the > > following error: > > "Traceback (most recent call last): > >File "

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread MRAB
On 2018-08-22 23:43, jacob m wrote: " import zlib print(zlib.__file__)" When I don't have the zlib uploaded to my Python3.7 library, I have the following error: "Traceback (most recent call last): File "./testx.py", line 2, in import zlib ModuleNotFou

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread Thomas Jollans
On 08/23/2018 12:43 AM, jacob m wrote: " import zlib print(zlib.__file__)" When I don't have the zlib uploaded to my Python3.7 library, I have the following error: "Traceback (most recent call last): File "./testx.py", line 2, in import zlib ModuleNotFou

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread Ashok Arora
jacob m wrote: > >> Hi guys, >> I have a problem with zipfile and zlib module, and hope to get some help. >> >> That's my error: >> "import zipfile >> File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in >> >

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread jacob m
" import zlib print(zlib.__file__)" When I don't have the zlib uploaded to my Python3.7 library, I have the following error: "Traceback (most recent call last): File "./testx.py", line 2, in import zlib ModuleNotFoundError: No module named 'zlib'&quo

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread jacob m
0 newly installed, 0 to remove and 0 not upgraded." Regards On 22 August 2018 at 13:12, jacob m wrote: > Hi guys, > I have a problem with zipfile and zlib module, and hope to get some help. > > That's my error: > "import zipfile > File "/home/lib/pytho

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread Peter Pearson
On Wed, 22 Aug 2018 13:12:59 +0200, jacob m wrote: [snip] > That's my error: > "import zipfile > File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in > crc32 = zlib.crc32 > AttributeError: module 'zlib' has no attribute 'crc

zpifile.py error - no crc 32 attribute

2018-08-22 Thread jacob m
Hi guys, I have a problem with zipfile and zlib module, and hope to get some help. That's my error: "import zipfile File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in crc32 = zlib.crc32 AttributeError: module 'zlib' has no attribute '

Re: Synax error in string assignment

2018-08-18 Thread Chris Angelico
; sent 4 is cool! Now it’s your turn.” > from nltk.tokenize import sent_tokenize > sent_tokenize_list = sent_tokenize(text) > len(sent_tokenize_list) > sent_tokenize_list > > Here is the error: > text = “this’s a sent tokenize test. this is sent two. is this sent th

Synax error in string assignment

2018-08-18 Thread Sharan Basappa
sent_tokenize_list = sent_tokenize(text) len(sent_tokenize_list) sent_tokenize_list Here is the error: text = “this’s a sent tokenize test. this is sent two. is this sent three? sent 4 is cool! Now it’s your turn.” ^ SyntaxError: invalid syntax BTW, the ^ operator pointing to the error is at text

Re: Multiprocessing "Pool" aborts without any error message or return code? (Python 3.6.4, cygwin 32 bit, Windows Server 2012)

2018-08-13 Thread Niels Kristian Jensen
fredag den 10. august 2018 kl. 15.35.46 UTC+2 skrev Niels Kristian Jensen: > Please refer to: > (cut) It appears, that Python is simply not supported on Cygwin (!): https://bugs.python.org/issue30563 Best regards, Niels Kristian -- https://mail.python.org/mailman/listinfo/python-list

Multiprocessing "Pool" aborts without any error message or return code? (Python 3.6.4, cygwin 32 bit, Windows Server 2012)

2018-08-10 Thread aenkaa
Please refer to: https://docs.python.org/3.6/library/multiprocessing.html the first example program. If I run it on Windows 10 (Python 3.6.4) or Linux Mint 18 (Python 3.5.2), it works as expected. On Windows Server 2012, however, I get no (none!) output, no matter if I run with admin rights or

Re: Error installing scripts in python 37-32

2018-07-22 Thread Mark Lawrence
On 22/07/18 14:04, ojas gupta wrote: Explaining the whole scenario in detail : I open command prompt and go to C: then I enter "pip install mysqlclient" (Double inverted commas is just for highlights .) After pressing enter key it installs some data and after a while an error comes

<    3   4   5   6   7   8   9   10   11   12   >