question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GInga takes ages to load

See original GitHub issue

(Python 3) When I start ginga, it shows a blank screen for ~30 seconds, before it is actually ready to go.

2018-03-15 10:25:15,976 | I | main.py:364 (main) | Chosen toolkit (qt5) family is 'qt'
2018-03-15 10:25:16,949 | D | Task.py:1012 (startall) | startall called
2018-03-15 10:25:16,949 | D | Task.py:1037 (startall) | starting threads in thread pool
2018-03-15 10:25:16,950 | D | Task.py:926 (taskloop) | Starting worker thread loop.
[...]
2018-03-15 10:25:52,975 | D | ImageView.py:1522 (get_rgb_object) | times: total=0.0047
2018-03-15 10:25:52,975 | D | ImageViewQt.py:172 (render_image) | redraw pixmap=<PyQt5.QtGui.QPixmap object 
2018-03-15 10:25:52,975 | D | ImageViewQt.py:175 (render_image) | drawing to pixmap
2018-03-15 10:25:52,975 | D | ImageViewQt.py:149 (_render_offscreen) | data shape is 664x664x4
2018-03-15 10:25:52,986 | D | ImageViewQt.py:252 (update_image) | updating window from pixmap
2018-03-15 10:25:52,986 | D | ImageView.py:1265 (redraw_now) | widget 'colorbar' redraw (whence=0) delta=0.0

The full log is attached. ginga.log

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:29 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
olebolecommented, Mar 22, 2018

These are not the config files, but the examples. In Debian, examples belong to the package documentation and therefore should be located in /usr/share/doc/<<package>>/examples.

0reactions
pllimcommented, Mar 22, 2018

@olebole , what is the motivation for having the config files in usr/share/doc instead of using the ones that come with Ginga installation? They seem to be included by default when I check PyPI tarball.

Anyway, I don’t see problem for you to sed it in a way that works for Debian. Even if you don’t patch it, when generate_cfg_example() cannot find the file, it simply throws a warning and returns empty string, so you can simply comment out warnings.warn() in that function as well. The resultant incomplete docstring only affects offline help pages, which are never displayed unless you click “Help” when not connected to Internet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow startup on Windows · Issue #832 · ejeschke/ginga · GitHub
On the same machine, running Anaconda python 3.7.3, ginga takes about 40... ... replacing roboto with courier but I'm afraid it still took...
Read more >
Developing with Ginga — ginga v3.4.1
Let's take a look at a local plugin to understand the API for ... with the Ginga package and can be loaded and...
Read more >
Welcome to the New Age – A Review of Ginga (S)
Ginga takes place on a much, much smaller scale than any Ultraman series before, or arguably since. The characters all are childhood friends ......
Read more >
How to Play Jenga - YouTube
Setup: Build the tower in the loading tray, alternating each layer's ... The last player to take a turn without making the tower...
Read more >
Gingka Hagane | Beyblade Wiki - Fandom
Gingka Hagane, known as Ginga Hagane (鋼銀河(ハガネギンガ), Hagane Ginga) in Japan ... Madoka takes both Gingka and Kenta to the B-Pit, the Beyblade...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found