Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2023, 05:27 PM   #1
mi.
Junior Member
mi. began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle
Calibre Installer issue: SSH timeout

Hi,
I am trying to compile Calibre from source and create installer.

I am using ArchLinux in VMWare as my host machine.
I successfully ran bootstrap command, created VM. And then ran "./setup.py build_dep linux"

I can see its below debug message:
"VM Started, attach to its console with: sudo -u xyz screen -r home-xyz-Desktop-xyz..."
"Waiting for SSH server to come up..."
"SSH server failed to come up in 600 seconds"

I dont know why its not able to make SSH connection with virtual machine. Any idea?
mi. is offline   Reply With Quote
Old 03-17-2023, 10:58 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,001
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can you SSH into your vm? And how did you "make the VM"?
kovidgoyal is offline   Reply With Quote
Old 03-19-2023, 09:04 PM   #3
mi.
Junior Member
mi. began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle
I used:
“Python ../bypy linux —arch 64 vm”
mi. is offline   Reply With Quote
Old 03-19-2023, 09:59 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,001
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
And what happens when you try

python ../bypy linux —arch 64 shell
kovidgoyal is offline   Reply With Quote
Old 03-20-2023, 07:28 PM   #5
mi.
Junior Member
mi. began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle
similar error"

Quote:
similar error.

Quote:
\VM started, attach to its console with: sudo -u calibre screen -r home-calibre-Desktop-Cal-calibre-bypy-b-linux-64-vm
Waiting for monitor socket creation /home/calibre/Desktop/Cal/calibre/bypy/b/linux/64/vm/monitor.socket ...
Waiting for SSH server to come up...
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/calibre/Desktop/Cal/calibre/../bypy/__main__.py", line 51, in <module>
parsed_args.func(parsed_args)
File "/home/calibre/Desktop/Cal/calibre/../bypy/bypy/linux.py", line 41, in main
port = wait_for_ssh(vm)
File "/home/calibre/Desktop/Cal/calibre/../bypy/virtual_machine/run.py", line 270, in wait_for_ssh
port = ssh_port(spec)
File "/home/calibre/Desktop/Cal/calibre/../bypy/virtual_machine/run.py", line 235, in f
return func(path)
File "/home/calibre/Desktop/Cal/calibre/../bypy/virtual_machine/run.py", line 252, in ssh_port
return ssh_port_for_vm_dir(spec)
File "/home/calibre/Desktop/Cal/calibre/../bypy/virtual_machine/run.py", line 165, in ssh_port_for_vm_dir
raise TimeoutError(f'SSH server failed to come up in {timeout} seconds')
TimeoutError: SSH server failed to come up in 600 seconds
mi. is offline   Reply With Quote
Old 03-20-2023, 10:42 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,001
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Then you will need to figure out why qemu is not able to boot the VM on your machine. Start with rebooting the machine.
kovidgoyal is offline   Reply With Quote
Old 03-21-2023, 04:49 PM   #7
mi.
Junior Member
mi. began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle
If i do "lsmod | grep kvm" then i can see kvm_intel and kvm running.

I tried to remove kvm_intel but it gave error stating Module kvm_intel is n use. So it means that kvm is running and might be its not able to make ssh connection. May be ip address is not assigned or something. Let me check further.

Quote:
Originally Posted by kovidgoyal View Post
Then you will need to figure out why qemu is not able to boot the VM on your machine. Start with rebooting the machine.
mi. is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 6.0 send via e-mail timeout 10060 jovialsteve Devices 3 07-16-2022 02:46 AM
Can't execute Calibre msi installer DJeremyS Calibre 6 05-01-2015 11:31 AM
ISSUE: There is a problem with this Windows Installer package Eggplantus Calibre 5 04-14-2013 09:40 AM
Calibre 0.9.1 installer error bennied Calibre 1 10-08-2012 10:34 PM
Trivial installer issue george57l Calibre 1 11-15-2011 05:00 PM


All times are GMT -4. The time now is 06:02 PM.


MobileRead.com is a privately owned, operated and funded community.