boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
169 stars 60 forks source link

Need to support python3 #78

Closed boakley closed 4 years ago

boakley commented 6 years ago

If you try to install with python3 you will get the following error:

File "C:\...\robotframework-hub\setup.py", line 5, in <module>
        execfile('rfhub/version.py')
    NameError: name 'execfile' is not defined

If you run directly from the repository, python3 -m rfhub ... gives the following error:

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.5/runpy.py", line 133, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/boakley/Dropbox/git/robotframework-hub/rfhub/__init__.py", line 4, in <module>
    import kwdb
ImportError: No module named 'kwdb'
joaonc commented 6 years ago

Indeed without Python 3 support this project will soon be dead.. it appears this repo is no longer maintained.

Does anyone know of a fork to this project that's actively updated?

This is a really cool project and would be a shame to let it die 😞

boakley commented 6 years ago

I hope to be able to dedicate some time to it during my vacation in a couple of weeks.

On Mon, May 21, 2018 at 12:12 PM, Joao Coelho notifications@github.com wrote:

Indeed without Python 3 support this project will soon be dead.. it appears this repo is no longer maintained.

Does anyone know of a fork to this project that's actively updated?

This is a really cool project and would be a shame to let it die 😞

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/boakley/robotframework-hub/issues/78#issuecomment-390719731, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEmYvzUKG6P99AeEg55GFZqRxlcC-JVks5t0vV0gaJpZM4SuVJq .

louislewatcn commented 6 years ago

Hi, I have used Fitnesse for a long time , which is a web based key-word test framework of Java. But the requirements is JDK1.6 , and I want to find an alternative. It seems it is very good one but it is not ready yet. You planning is amazing as Fitnesse functions If need more suggestion on it, is to include integrate Sikuli (image recognition) simple API such as click an image on screen or remote screen (/path/to/image), and verify (/path/to/image) on screen or remote screen. Very glad to see your project here.

joaonc commented 6 years ago

Any chance this will happen? To make things easier, you could even drop python 2 support for the newer versions and folks on P2 would use the current version.

boakley commented 6 years ago

sorry, I just haven't had much time. I've done the work, I just haven't had time to test it and package it up and create new version for pypi.

On Tue, Jul 17, 2018 at 3:19 PM Joao Coelho notifications@github.com wrote:

Any chance this will happen? To make things easier, you could even drop python 2 support for the newer versions and folks on P2 would use the current version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/boakley/robotframework-hub/issues/78#issuecomment-405714286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEmYvpfMj67i47PYWwBQJDc22XpAnKoks5uHkbLgaJpZM4SuVJq .

databobek commented 5 years ago

There is a pull request fixing that -- it's about the imports. Python3 works a tad differently in that regard.

joaonc commented 5 years ago

Any luck finding the time for this @boakley ?

Rue1983 commented 5 years ago

Just looking for a solution. As long as it supports python3 I think everyone will be glad to improve it.

MaciejWiczk commented 4 years ago

Just looking for a solution. As long as it supports python3 I think everyone will be glad to improve it.

Any luck finding the time for this @boakley ?

Hi Guys. I hope @boakley, wouldn't mind that I mention alternative/ fully python 3 solution rfhub2. It's in early stage, but it should work on most of the cases.

james-powis commented 4 years ago

We are 19 days from python2 ending support, and also my corporate requirements dictate everything must be under some level of support... Is there any hope of having this functional under ptyhon3 by end of Year? I see RF Hub2 is out there as a competing standard.

I can get this running in a container, but all the imports throw exceptions due to all libraries now being exclusively python3 compliant.

boakley commented 4 years ago

The code in the github repo works with python3. I simply haven't pushed a new version to pypi.

On Thu, Dec 12, 2019 at 12:16 PM James Powis notifications@github.com wrote:

We are 19 days from python2 ending support, and also my corporate requirements dictate everything must be under some level of support... Is there any hope of having this functional under ptyhon3 by end of Year? I see RF Hub2 is out there as a competing standard.

I can get this running in a container, but all the imports throw exceptions due to all libraries now being exclusively python3 compliant.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/boakley/robotframework-hub/issues/78?email_source=notifications&email_token=AAISMYRN4CCQW5QPHGHJ6G3QYJ5XBA5CNFSM4EVZKJVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXROLA#issuecomment-565122860, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAISMYXRDNCIEQOGAPM5I5DQYJ5XBANCNFSM4EVZKJVA .

boakley commented 4 years ago

version 1.0 is out, and it requires python 3