Coder Social home page Coder Social logo

can't start client - gui about minarca HOT 19 CLOSED

satkas avatar satkas commented on May 29, 2024
can't start client - gui

from minarca.

Comments (19)

ikus060 avatar ikus060 commented on May 29, 2024

Hello @satkas

It might be related to a recent update in Debian Bookworm. I will try to reproduce in a lab. It's strange that you don't see anything in the log. Any error should be logged.

You may try a of thing for me.

  1. Start minarca in a terminal
    minarca ui
  2. Then try to kill it by pressing CTRL + C. This should terminate the process and print a stack trace similar to the following.
$ minarca ui
Traceback (most recent call last):
  File "minarca_client/main.py", line 478, in <module>
  File "minarca_client/main.py", line 474, in main
  File "minarca_client/main.py", line 269, in _ui
  File "tkvue/__init__.py", line 940, in _mainloop
  File "asyncio/runners.py", line 43, in run
  File "asyncio/base_events.py", line 574, in run_until_complete
  File "asyncio/base_events.py", line 541, in run_forever
  File "asyncio/base_events.py", line 1750, in _run_once
  File "selectors.py", line 468, in select
KeyboardInterrupt
[84071] Failed to execute script 'main' due to unhandled exception!

This will help me to understand what the process is doing and if it's stuck somewhere.

from minarca.

satkas avatar satkas commented on May 29, 2024

Hi
$ minarca ui
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
^CTraceback (most recent call last):
File "minarca_client/main.py", line 327, in
File "minarca_client/main.py", line 323, in main
File "minarca_client/main.py", line 168, in _ui
File "tkvue/init.py", line 928, in _mainloop
File "asyncio/runners.py", line 43, in run
File "asyncio/base_events.py", line 574, in run_until_complete
File "asyncio/base_events.py", line 541, in run_forever
File "asyncio/base_events.py", line 1750, in _run_once
File "selectors.py", line 464, in select
KeyboardInterrupt
[8073] Failed to execute script 'main' due to unhandled exception!

from minarca.

satkas avatar satkas commented on May 29, 2024

I edited the movie
https://satkas.waw.pl/minarca.webm

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

Thanks @satkas for your help. According to the stack trace, the application is running.

It possible the window for Minarca get created, but get hidden. You may try to list the window from x server using: xwininfo -tree -root when minarca ui is running.

Then look for something like this:

     0x40f657 (has no name): ()  920x615+3150+490  +3150+490
        1 child:
        0x5a003bf "Minarca Backup": ("minarca" "Minarca")  900x560+10+45  +3160+535

from minarca.

satkas avatar satkas commented on May 29, 2024

$ xwininfo -tree -root

xwininfo: Window id: 0x4a2 (the root window) (has no name)

Root window id: 0x4a2 (the root window) (has no name)
Parent window id: 0x0 (none)
42 children:
0x60000a "gnome-shell": ("gnome-shell" "Gnome-shell") 1x1+-200+-200 +-200+-200
1 child:
0x60000b (has no name): () 1x1+-1+-1 +-201+-201
0x601f6d (has no name): () 920x615+2516+313 +2516+313
1 child:
0x8001a9 "Minarca Backup": ("minarca" "Minarca") 900x560+10+45 +2526+358
1 child:
0x80004d (has no name): () 900x560+0+0 +2526+358
2 children:
0x800060 (has no name): () 900x488+0+72 +2526+430
4 children:
0x8000e1 (has no name): () 1x1+0+0 +2526+430
3 children:
0x8000f3 (has no name): () 1x1+0+0 +2526+430
2 children:
0x8000f7 (has no name): () 1x1+0+0 +2526+430
0x8000f4 (has no name): () 1x1+0+0 +2526+430
2 children:
0x8000f6 (has no name): () 1x1+0+0 +2526+430
0x8000f5 (has no name): () 1x1+0+0 +2526+430
0x8000e3 (has no name): () 1x1+0+0 +2526+430
4 children:
0x8000f0 (has no name): () 1x1+0+0 +2526+430
0x8000e9 (has no name): () 1x1+0+0 +2526+430
4 children:
0x8000ee (has no name): () 1x1+0+0 +2526+430
1 child:
0x8000ef (has no name): () 1x1+0+0 +2526+430
0x8000ed (has no name): () 1x1+0+0 +2526+430
0x8000ec (has no name): () 1x1+0+0 +2526+430
0x8000ea (has no name): () 1x1+0+0 +2526+430
0x8000e8 (has no name): () 1x1+0+0 +2526+430
0x8000e4 (has no name): () 1x1+0+0 +2526+430
2 children:
0x8000e6 (has no name): () 1x1+0+0 +2526+430
0x8000e5 (has no name): () 1x1+0+0 +2526+430
0x8000e2 (has no name): () 1x1+0+0 +2526+430
0x8000d4 (has no name): () 1x1+0+0 +2526+430
4 children:
0x8000de (has no name): () 1x1+0+0 +2526+430
2 children:
0x8000e0 (has no name): () 1x1+0+0 +2526+430
0x8000df (has no name): () 1x1+0+0 +2526+430
0x8000d7 (has no name): () 1x1+0+0 +2526+430
4 children:
0x8000dd (has no name): () 1x1+0+0 +2526+430
0x8000dc (has no name): () 1x1+0+0 +2526+430
0x8000db (has no name): () 1x1+0+0 +2526+430
0x8000d8 (has no name): () 1x1+0+0 +2526+430
0x8000d6 (has no name): () 1x1+0+0 +2526+430
0x8000d5 (has no name): () 1x1+0+0 +2526+430
0x80007b (has no name): () 1x1+0+0 +2526+430
3 children:
0x800082 (has no name): () 1x1+0+0 +2526+430
2 children:
0x800088 (has no name): () 1x1+0+0 +2526+430
1 child:
0x800089 (has no name): () 417x458+0+0 +2526+430
1 child:
0x80008a (has no name): () 417x458+0+0 +2526+430
12 children:
0x8000ce (has no name): () 367x28+25+402 +2551+832
3 children:
0x8000d3 (has no name): () 130x28+237+0 +2788+832
0x8000d1 (has no name): () 172x23+35+2 +2586+834
1 child:
0x8000d2 (has no name): () 1x1+0+0 +2586+834
0x8000cf (has no name): () 20x22+0+3 +2551+835
1 child:
0x8000d0 (has no name): () 1x1+0+0 +2551+835
0x8000c8 (has no name): () 367x28+25+368 +2551+798
3 children:
0x8000cd (has no name): () 130x28+237+0 +2788+798
0x8000cb (has no name): () 166x23+35+2 +2586+800
1 child:
0x8000cc (has no name): () 1x1+0+0 +2586+800
0x8000c9 (has no name): () 20x22+0+3 +2551+801
1 child:
0x8000ca (has no name): () 1x1+0+0 +2551+801
0x8000c2 (has no name): () 367x28+25+334 +2551+764
3 children:
0x8000c7 (has no name): () 130x28+237+0 +2788+764
0x8000c5 (has no name): () 187x23+35+2 +2586+766
1 child:
0x8000c6 (has no name): () 1x1+0+0 +2586+766
0x8000c3 (has no name): () 20x22+0+3 +2551+767
1 child:
0x8000c4 (has no name): () 1x1+0+0 +2551+767
0x8000bc (has no name): () 367x28+25+300 +2551+730
3 children:
0x8000c1 (has no name): () 130x28+237+0 +2788+730
0x8000bf (has no name): () 166x23+35+2 +2586+732
1 child:
0x8000c0 (has no name): () 1x1+0+0 +2586+732
0x8000bd (has no name): () 20x22+0+3 +2551+733
1 child:
0x8000be (has no name): () 1x1+0+0 +2551+733
0x8000b6 (has no name): () 367x28+25+266 +2551+696
3 children:
0x8000bb (has no name): () 130x28+237+0 +2788+696
0x8000b9 (has no name): () 125x23+35+2 +2586+698
1 child:
0x8000ba (has no name): () 1x1+0+0 +2586+698
0x8000b7 (has no name): () 20x22+0+3 +2551+699
1 child:
0x8000b8 (has no name): () 1x1+0+0 +2551+699
0x8000b0 (has no name): () 367x28+25+232 +2551+662
3 children:
0x8000b5 (has no name): () 130x28+237+0 +2788+662
0x8000b3 (has no name): () 168x23+35+2 +2586+664
1 child:
0x8000b4 (has no name): () 1x1+0+0 +2586+664
0x8000b1 (has no name): () 20x22+0+3 +2551+665
1 child:
0x8000b2 (has no name): () 1x1+0+0 +2551+665
0x8000aa (has no name): () 367x28+25+198 +2551+628
3 children:
0x8000af (has no name): () 130x28+237+0 +2788+628
0x8000ad (has no name): () 175x23+35+2 +2586+630
1 child:
0x8000ae (has no name): () 1x1+0+0 +2586+630
0x8000ab (has no name): () 20x22+0+3 +2551+631
1 child:
0x8000ac (has no name): () 1x1+0+0 +2551+631
0x8000a4 (has no name): () 367x28+25+164 +2551+594
3 children:
0x8000a9 (has no name): () 130x28+237+0 +2788+594
0x8000a7 (has no name): () 148x23+35+2 +2586+596
1 child:
0x8000a8 (has no name): () 1x1+0+0 +2586+596
0x8000a5 (has no name): () 20x22+0+3 +2551+597
1 child:
0x8000a6 (has no name): () 1x1+0+0 +2551+597
0x80009e (has no name): () 367x28+25+130 +2551+560
3 children:
0x8000a3 (has no name): () 130x28+237+0 +2788+560
0x8000a1 (has no name): () 115x23+35+2 +2586+562
1 child:
0x8000a2 (has no name): () 1x1+0+0 +2586+562
0x80009f (has no name): () 20x22+0+3 +2551+563
1 child:
0x8000a0 (has no name): () 1x1+0+0 +2551+563
0x800098 (has no name): () 367x28+25+96 +2551+526
3 children:
0x80009d (has no name): () 130x28+237+0 +2788+526
0x80009b (has no name): () 126x23+35+2 +2586+528
1 child:
0x80009c (has no name): () 1x1+0+0 +2586+528
0x800099 (has no name): () 20x22+0+3 +2551+529
1 child:
0x80009a (has no name): () 1x1+0+0 +2551+529
0x800092 (has no name): () 367x28+25+62 +2551+492
3 children:
0x800097 (has no name): () 130x28+237+0 +2788+492
0x800095 (has no name): () 119x23+35+2 +2586+494
1 child:
0x800096 (has no name): () 1x1+0+0 +2586+494
0x800093 (has no name): () 20x22+0+3 +2551+495
1 child:
0x800094 (has no name): () 1x1+0+0 +2551+495
0x80008b (has no name): () 367x28+25+28 +2551+458
3 children:
0x800091 (has no name): () 130x28+237+0 +2788+458
0x80008f (has no name): () 149x23+35+2 +2586+460
1 child:
0x800090 (has no name): () 1x1+0+0 +2586+460
0x80008c (has no name): () 20x22+0+3 +2551+461
1 child:
0x80008e (has no name): () 1x1+0+0 +2551+461
0x800083 (has no name): () 1x1+0+0 +2526+430
0x80007d (has no name): () 1x1+0+0 +2526+430
3 children:
0x800081 (has no name): () 1x1+0+0 +2526+430
0x800080 (has no name): () 1x1+0+0 +2526+430
0x80007e (has no name): () 1x1+0+0 +2526+430
0x80007c (has no name): () 1x1+0+0 +2526+430
0x800061 (has no name): () 850x438+25+25 +2551+455
7 children:
0x80007a (has no name): () 850x1+0+416 +2551+871
0x800077 (has no name): () 140x49+355+347 +2906+802
1 child:
0x800078 (has no name): () 140x49+0+0 +2906+802
0x800076 (has no name): () 850x1+0+325 +2551+780
0x80006a (has no name): () 850x164+0+141 +2551+596
3 children:
0x800072 (has no name): () 424x134+426+15 +2977+611
2 children:
0x800074 (has no name): () 374x23+25+86 +3002+697
1 child:
0x800075 (has no name): () 1x1+0+0 +3002+697
0x800073 (has no name): () 374x36+25+25 +3002+636
0x800071 (has no name): () 2x134+424+15 +2975+611
0x80006b (has no name): () 424x134+0+15 +2551+611
2 children:
0x800070 (has no name): () 374x23+25+86 +2576+697
0x80006c (has no name): () 374x36+25+25 +2576+636
0x800069 (has no name): () 850x1+0+120 +2551+575
0x800065 (has no name): () 850x25+0+75 +2551+530
1 child:
0x800066 (has no name): () 196x25+0+0 +2551+530
1 child:
0x800068 (has no name): () 1x1+0+0 +2551+530
0x800062 (has no name): () 850x75+0+0 +2551+455
0x80004e (has no name): () 900x72+0+0 +2526+358
2 children:
0x800055 (has no name): () 450x35+430+18 +2956+376
5 children:
0x80005f (has no name): () 52x35+398+0 +3354+376
0x80005e (has no name): () 80x35+318+0 +3274+376
0x80005d (has no name): () 152x35+166+0 +3122+376
0x80005c (has no name): () 102x35+64+0 +3020+376
0x800056 (has no name): () 64x35+0+0 +2956+376
0x800052 (has no name): () 201x52+30+10 +2556+368
0x800007 (has no name): () 1x1+0+0 +0+0
0x400027 (has no name): () 1x1+0+0 +0+0
0x800006 (has no name): () 1x1+0+0 +0+0
0x400025 (has no name): () 1x1+0+0 +0+0
0x800002 (has no name): () 1x1+0+0 +0+0
0x400024 (has no name): () 1x1+0+0 +0+0
0x400022 (has no name): () 1x1+0+0 +0+0
0x400021 (has no name): () 1x1+0+0 +0+0
0x40001f (has no name): () 1x1+0+0 +0+0
0x40001e (has no name): () 1x1+0+0 +0+0
0x40001c (has no name): () 1x1+0+0 +0+0
0x40001b (has no name): () 1x1+0+0 +0+0
0x400019 (has no name): () 1x1+0+0 +0+0
0x400018 (has no name): () 1x1+0+0 +0+0
0x400016 (has no name): () 1x1+0+0 +0+0
0x400015 (has no name): () 1x1+0+0 +0+0
0x400013 (has no name): () 1x1+0+0 +0+0
0x400012 (has no name): () 1x1+0+0 +0+0
0x400010 (has no name): () 1x1+0+0 +0+0
0x40000f (has no name): () 1x1+0+0 +0+0
0x40000d (has no name): () 1x1+0+0 +0+0
0x40000c (has no name): () 1x1+0+0 +0+0
0x40000a (has no name): () 1x1+0+0 +0+0
0x400009 (has no name): () 1x1+0+0 +0+0
0x600017 (has no name): () 1x1+-1+-1 +-1+-1
0x400007 (has no name): () 1x1+0+0 +0+0
0x600013 (has no name): () 1x1+-100+-100 +-100+-100
0x600011 (has no name): () 1x1+-1+-1 +-1+-1
0x600010 (has no name): () 1x1+-1+-1 +-1+-1
0x60000f (has no name): () 1x1+-100+-100 +-100+-100
0x60000e (has no name): () 1x1+-1+-1 +-1+-1
0x600008 (has no name): () 1x1+-100+-100 +-100+-100
0x600007 (has no name): () 1x1+-100+-100 +-100+-100
0x400003 "ibus-xim": () 1x1+0+0 +0+0
1 child:
0x400004 (has no name): () 1x1+-1+-1 +-1+-1
0x600006 "GNOME Shell": () 1x1+-100+-100 +-100+-100
0x600001 "gnome-shell": ("gnome-shell" "Gnome-shell") 10x10+10+10 +10+10
0x400001 "ibus-x11": ("ibus-x11" "Ibus-x11") 10x10+10+10 +10+10
0x200002 (has no name): () 10x10+0+0 +0+0
0x200001 "gsd-xsettings": ("gsd-xsettings" "Gsd-xsettings") 10x10+10+10 +10+10
0x600012 "mutter guard window": () 5760x1080+0+0 +0+0

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

So far, the only thing I can think of is the window being created outside the visible space of you desktop. The coordinate +2526+358 seams a bit far if you have a single monitor.

I found a couple of command line to move the windows.

$ xwininfo -tree -root | grep  'minarca'
   0x54003bf "Minarca Backup": ("minarca" "Minarca")  900x560+10+45  +0+397
$ xdotool windowactivate 0x54003bf
XGetWindowProperty[_NET_WM_DESKTOP] failed (code=1)
$ xdotool windowmove 0x54003bf 100 100

from minarca.

satkas avatar satkas commented on May 29, 2024

I also reinstalled the client but it didn't work
sudo apt reinstall minarca-client

So far, the only thing I can think of is the window being created outside the visible space of you desktop. The coordinate +2526+358 seams a bit far if you have a single monitor.

I found a couple of command line to move the windows.

$ xwininfo -tree -root | grep  'minarca'
   0x54003bf "Minarca Backup": ("minarca" "Minarca")  900x560+10+45  +0+397
$ xdotool windowactivate 0x54003bf
XGetWindowProperty[_NET_WM_DESKTOP] failed (code=1)
$ xdotool windowmove 0x54003bf 100 100

yes, the window showed up. But what causes this behavior?

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

yes, the window showed up.

Great !

But what causes this behavior?

It's a miss calculation of the window coordinate. Not sure exactly what is the culprit because we delegate this calculation to the widget toolkit. Do you have a particular setup that might interfere with the display. e.g.: Dual monitor, HiRes monitor, scaling, fractional scaling, etc.

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

A screenshot of your display settings might help alot. e.g.:

image

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

I did not manage to reproduce the problem, by enabling scaling or fractional scaling.

from minarca.

satkas avatar satkas commented on May 29, 2024

It was a strange case. Another monitor was connected to my docking station. This is where the client of the minarca landed.
Why did the minarc window land in the area of the second monitor? There were no such problems with other windows.

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

@satkas I will try to investigate with the widget toolkit project. Tkinter in this occurrence.

But I'm afraid that without a reliable way to reproduce the problem it won't be possible to get it fixed.

from minarca.

satkas avatar satkas commented on May 29, 2024

This is how my laptop connects to the docking station

  Creative
  Pebble  Ethernet
    |          |
    |          |
Docking  Station  ------------ HDMI---------------- Second Monitor ------------ another computer
             |
             |
             |
             |
  laptop (minarca client)
  connected to dock via usb-c.

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

If you still experience the issue with 4.5.4, could you try with this dev version: https://nexus.ikus-soft.com/repository/apt-dev-bookworm/pool%2Fm%2Fminarca-client%2Fminarca-client_4.5.5.dev1%2Bg4274637_amd64.deb

I remove the code that center the window.

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

@satkas Did you get the chance to test the development version I provided ? I will integrate the change in the next release if it work for you.

from minarca.

satkas avatar satkas commented on May 29, 2024

I'm sorry for the lack of response. I'm on vacation and I have a docking station at work (the problem occurred on the instance at work). I think I'll be able to test the new version next week. thank you for the information

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

@satkas Did you manage to test it again ?

from minarca.

satkas avatar satkas commented on May 29, 2024

Hi @ikus060
Seems good. now the window appears in the upper left corner

from minarca.

ikus060 avatar ikus060 commented on May 29, 2024

@satkas Thanks for testing. I will merge this change soon.

from minarca.

Related Issues (10)

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.