Giter VIP home page Giter VIP logo

Comments (7)

HelioGuilherme66 avatar HelioGuilherme66 commented on September 23, 2024

Try to install 1.7.2 a see if the problem still happens.
Try to delete the configuration file at C:\Users\your username\ApplicationData\robotframework (not sure if this th correct path name)

from ride.

BartoszLeczycki avatar BartoszLeczycki commented on September 23, 2024

Ok thank you very much Helio I Will try to do it in this way

from ride.

BartoszLeczycki avatar BartoszLeczycki commented on September 23, 2024

I have changed few things - I installed everything for Pyhton 2.7 because for Python 3.6 it was not resounde ever after change locations and ride-version ,

chromedriver==2.24.1
Pygments==2.2.0
robotframework==3.0.4
robotframework-ride==1.5.2.1
robotframework-selenium2library==3.0.0
robotframework-seleniumlibrary==3.1.1
selenium==3.12.0
six==1.11.0
wxPython==4.0.1

after start
ride.py
I am geeting Apache License and even if I put values in it and try to start ride.py one more time I am getting same note - my note looks like below:

Copyright 2018 My_name

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Have you got any idea Helio ?
I read on the Apache site that the license should look like above

from ride.

HelioGuilherme66 avatar HelioGuilherme66 commented on September 23, 2024

Something strange with your installation.
First you have to be sure you are using Python2.7. Always use python -m pip list
And to start ride, see if this is working python -m robotide.__init__.
And robotframework-ride==1.5.2.1 should run with wxPython==2.8.12.1.
With your current setup, you should get an error that wxPython is not installed!

Another strange thing you have (not related with RIDE) is chromedriver==2.24.1. This is an old version, so it is better to uninstall it, and use the downloaded webdriver (outside of pip).

from ride.

BartoszLeczycki avatar BartoszLeczycki commented on September 23, 2024

Successfully uninstalled chromedriver-2.24.1
2)

C:\WINDOWS\system32>python --version
Python 2.7.15
C:\WINDOWS\system32>python -m pip list
Package                         Version
------------------------------- -------
pip                             10.0.1
Pygments                        2.2.0
robotframework                  3.0.4
robotframework-ride             1.5.2.1
robotframework-selenium2library 3.0.0
robotframework-seleniumlibrary  3.1.1
selenium                        3.12.0
setuptools                      39.0.1
six                             1.11.0
C:\WINDOWS\system32>python -m robotide.__init__
wxPython not found.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
  1. so pip uninstall wxPython and than
C:\WINDOWS\system32>pip install http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
Collecting http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
  Downloading http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/ (242kB)
    100% |################################| 245kB 295kB/s
  Cannot unpack file c:\users\bartos~1.lec\appdata\local\temp\pip-unpack-y2dxis\2.8.12.1 (downloaded from c:\users\bartos~1.lec\appdata\local\temp\pip-req-build-ggclnb, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of c:\users\bartos~1.lec\appdata\local\temp\pip-req-build-ggclnb
C:\WINDOWS\system32>pip install http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
Collecting http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
  Downloading http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/ (242kB)
    100% |################################| 245kB 295kB/s
  Cannot unpack file c:\users\bartos~1.lec\appdata\local\temp\pip-unpack-y2dxis\2.8.12.1 (downloaded from c:\users\bartos~1.lec\appdata\local\temp\pip-req-build-ggclnb, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of c:\users\bartos~1.lec\appdata\local\temp\pip-req-build-ggclnb

C:\WINDOWS\system32>pip install git+http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
Collecting git+http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
  Cloning http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/ to c:\users\bartos~1.lec\appdata\local\temp\pip-req-build-gzvtcw
fatal: repository 'https://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/' not found
Command "git clone -q http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/ c:\users\bartos~1.lec\appdata\local\temp\pip-req-build-gzvtcw" failed with error code 128 in None

So in step no 4 there is a problem => git clone -q ailed with error code 128 in None
So I have tried to install it in 2 ways, second way looks good but there is some error related with lenght of filename. Maybe you konw how to solve this issue ?

from ride.

HelioGuilherme66 avatar HelioGuilherme66 commented on September 23, 2024

wxPython 2.8.12.1 is installed outside pip. It has own installer, for example Unicode for python2.7 64bit. You have to install the unicode version and it must match the "bitness" of your python.

from ride.

BartoszLeczycki avatar BartoszLeczycki commented on September 23, 2024

image

I installed it - it is for Python 2.7 - so I have everything to work with robotframework - but if I try to ride.py I am getting still same apache license 2.0 - maybe I am editing it in incorrect way (this Apache license)
But on the other hand if i try C:\python27\python.exe -c "from robotide import main; main()"
I am getting :

You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/

but I don't know why because I have installed probably correct wxPython

from ride.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.