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

Failed Start @ Ubuntu 22.04 LTS Python3 #64

Open
Pommes16 opened this issue Dec 21, 2022 · 3 comments
Open

Failed Start @ Ubuntu 22.04 LTS Python3 #64

Pommes16 opened this issue Dec 21, 2022 · 3 comments

Comments

@Pommes16
Copy link

Pommes16 commented Dec 21, 2022

After successful installation and authentification, i met a problem at start up by running

$  GoSync

Error message:

Traceback (most recent call last):
  File "/usr/local/bin/GoSync", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/GoSync/GoSync.py", line 38, in main
    controller = GoSyncController()
  File "/usr/local/lib/python3.10/dist-packages/GoSync/GoSyncController.py", line 171, in __init__
    selectionPage = SelectionPage(nb, self.sync_model)
  File "/usr/local/lib/python3.10/dist-packages/GoSync/GoSyncSelectionPage.py", line 37, in __init__
    headerFont = wx.Font(11.5, wx.SWISS, wx.NORMAL, wx.NORMAL)
TypeError: Font(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 1 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'float'
  overload 4: argument 1 has unexpected type 'float'
  overload 5: argument 1 has unexpected type 'float'
  overload 6: argument 1 has unexpected type 'float'
  overload 7: argument 1 has unexpected type 'float'

Any one knows how to fix this?

@Pommes16 Pommes16 changed the title Failed Installation 22.04 LTS Python3 Failed Start @ Ubuntu 22.04 LTS Python3 Dec 21, 2022
@ferraroluc
Copy link

ferraroluc commented Feb 22, 2023

I have the same problem. It could be a dependencies version problem.

In my case, I am using Manjaro Linux. And I tried both the PIP and the AUR version. Both with the same problem.

@ferraroluc
Copy link

So, to make it work, I changed line 37 of the file GoSyncSelectionPage.py to:

headerFont = wx.Font(11, wx.SWISS, wx.NORMAL, wx.NORMAL)

Also, since some options were not visible, I adjusted the size from line 111 of the file GoSyncController.py to:

wx.Frame.__init__(self, None, title="GoSync", size=(490,700), style=mainWindowStyle)

@hschauhan
Copy link
Owner

Thanks @ferraroluc. That is the right fix. I will fix this in repository.

balaramadurai added a commit to balaramadurai/gosync that referenced this issue Jun 6, 2023
balaramadurai added a commit to balaramadurai/gosync that referenced this issue Jun 6, 2023
balaramadurai added a commit to balaramadurai/gosync that referenced this issue Jun 6, 2023
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

3 participants