Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run tartube.py #2

Closed
mbnoimi opened this issue May 27, 2019 · 11 comments
Closed

Unable to run tartube.py #2

mbnoimi opened this issue May 27, 2019 · 11 comments

Comments

@mbnoimi
Copy link

mbnoimi commented May 27, 2019

Unable to run tartube.py

$ python3 --version
Python 3.6.7
evander@evander ~/Desktop/tartube $ python3 tartube.py 
Traceback (most recent call last):
  File "tartube.py", line 32, in <module>
    from lib import mainapp
ImportError: cannot import name 'mainapp'
evander@evander ~/Desktop/tartube $ 
  • Linux Mint 19.3 xfce
  • Commit: cdaa2ba
@axcore
Copy link
Owner

axcore commented May 27, 2019

'python3 tartube.py' doesn't work for me either, but 'python tartube.py' works just fine.

Why does python3 code only run in the python2 interpreter? It's a mystery to me, too :)

@mbnoimi
Copy link
Author

mbnoimi commented May 28, 2019

python tartube.py doesn't work too!

$ python tartube.py 
Traceback (most recent call last):
  File "tartube.py", line 32, in <module>
    from lib import mainapp
ImportError: No module named lib
$ python --version
Python 2.7.15rc1

@axcore
Copy link
Owner

axcore commented May 28, 2019

I fixed 'python3 tartube.py', but it causes some new Python errors, so now I'm trying to fix them.

@axcore
Copy link
Owner

axcore commented May 28, 2019

I uploaded some new code. On a fresh install of Debian, I used the following procedure to install Tartube:

su
apt-get update
apt install python3-pip
exit
python3 -m pip install tartube

Using code downloaded directly from github, I used this command to run Tartube without installing anything:

python3 tartube.py

@mbnoimi
Copy link
Author

mbnoimi commented May 28, 2019

Using code downloaded directly from github, I used this command to run Tartube without installing anything:

python3 tartube.py

This time I didn't test pip but I run python3 tartube.py and the result still the same!

$ python3 tartube.py 
Traceback (most recent call last):
  File "tartube.py", line 32, in <module>
    from lib import mainapp
ImportError: cannot import name 'mainapp'

commit: 424ccec

@axcore
Copy link
Owner

axcore commented May 28, 2019

Which operating system are you using?

@mbnoimi
Copy link
Author

mbnoimi commented May 28, 2019

Linux Mint 19.3 xfce

Which operating system are you using?

@axcore
Copy link
Owner

axcore commented May 29, 2019

Hmmm... I just made a new installation of Mint xfce 19.1. I didn't install any software, just downloaded Tartube v0.1.007 from git (using the green 'Clone or download' button), extracted the zip file, changed directory, and ran 'python3 tartube.py'

xfce

@ghost
Copy link

ghost commented Jun 5, 2019

I get this trying to run it in Windows 7

# tartube.py
Traceback (most recent call last):
  File "C:\Portable Software\tartube\tartube.py", line 32, in <module>
    from lib import mainapp
  File "C:\Portable Software\tartube\lib\mainapp.py", line 24, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

@axcore
Copy link
Owner

axcore commented Jun 6, 2019

I haven't tried running anything on MS Windows yet. The link below describes how to install PyGObject, but it's not a simple install:

https://pygobject.readthedocs.io/en/latest/getting_started.html

At some point I'll create a proper installer for MS Windows, but it's pointless at the moment because of the frequent crashes.

@axcore
Copy link
Owner

axcore commented Jun 25, 2019

The installer for MS Windows is now available. I hope it works for you!

https://sourceforge.net/projects/tartube/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants