QGC hangs on startup

For everything that doesn't fit into the other (sub-) forums

QGC hangs on startup

Postby bavaria360 » Sun Jan 24, 2016 9:00 pm

Hi guys,

I have a very strange problem with QGC and don't know where to ask for a solution.
Maybe you've heard this before or can give me a hint.

System: WIN 7/64 bit and AQM4, AG QGC 1.6.3.1

Everything was fine and somwhere during configuration of the M4 the QGC crashed.
Now even after disconnecting the M4 and a reboot, the software always hangs during startup at the same point.
The procedure on the splash screen says: "Restoring last view state".
Also no luck with a fresh download in a separate folder.
What can I do?

Thanks
Jürgen
bavaria360
 
Posts: 6
Joined: Sun Jan 24, 2016 8:52 pm

Re: QGC hangs on startup

Postby kinderkram » Sun Jan 24, 2016 9:11 pm

Delete/move/rename the entries of Qgroundcontrol in \User\AppData\Roaming
They contain ini files which will be created on first start.
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: QGC hangs on startup

Postby Max » Sun Jan 24, 2016 9:36 pm

I would try what Norbert suggested. You can also use the command line to switch configs or start with a new one.

Code: Select all
>qgroundcontrol_aq.exe -h

Usage: qgroundcontrol_aq.exe [options]
Ground control station for AutoQuad flight controller and other MAVLink compatible robots.

Options:
  -?, -h, --help  Displays this help.
  -v, --version   Displays version information.
  --fresh         Back up then delete all program settings and start fresh
                  (also see -swap). NOTE that only ONE BACKUP VERSION IS KEPT!
  --swap          Back up current settings, then restore and use previosly
                  backed-up settings. If no backup exists, acts same as -fresh.
  --nobak         When used with --fresh or --swap, do NOT back up current
                  settings first (this preserves the previous backup, if any,
                  but you will LOOSE ALL CURRENT SETTINGS!).
  --console       Keep the command-line console open/attached after startup
                  (useful for debug, etc).  Redirect output to a file to create
                  a log, like this: `qgroundcontrol_aq --console >>qgclog.txt`


-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: QGC hangs on startup

Postby bavaria360 » Sun Jan 24, 2016 10:51 pm

Thank you guys, that did the trick.
Next time I'll also try command line ;-)
bavaria360
 
Posts: 6
Joined: Sun Jan 24, 2016 8:52 pm

Re: QGC hangs on startup

Postby kinderkram » Sun Jan 24, 2016 11:18 pm

The command line is good for testing the serial connection. In your case it tried to restore the previous view.
I had a similar incident solved by changing CURRENT_VIEW in the ini file and that solved the crashes.
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests