{"action":"created","issue":{"url":"https://api.github.com/repos/Qucs/qucs/issues/627","repository_url":"https://api.github.com/repos/Qucs/qucs","labels_url":"https://api.github.com/repos/Qucs/qucs/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/Qucs/qucs/issues/627/comments","events_url":"https://api.github.com/repos/Qucs/qucs/issues/627/events","html_url":"https://github.com/Qucs/qucs/issues/627","id":192676845,"number":627,"title":" Qucs uses QUCSDIR unconditionally","user":{"login":"guitorri","id":1388949,"avatar_url":"https://avatars.githubusercontent.com/u/1388949?v=3","gravatar_id":"","url":"https://api.github.com/users/guitorri","html_url":"https://github.com/guitorri","followers_url":"https://api.github.com/users/guitorri/followers","following_url":"https://api.github.com/users/guitorri/following{/other_user}","gists_url":"https://api.github.com/users/guitorri/gists{/gist_id}","starred_url":"https://api.github.com/users/guitorri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guitorri/subscriptions","organizations_url":"https://api.github.com/users/guitorri/orgs","repos_url":"https://api.github.com/users/guitorri/repos","events_url":"https://api.github.com/users/guitorri/events{/privacy}","received_events_url":"https://api.github.com/users/guitorri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-30T20:55:15Z","updated_at":"2016-12-01T15:17:38Z","closed_at":null,"body":"From #353.\r\n\r\n> \r\n> It is/will be a common situation that a Windows user, which has previously installed Qucs, uses the portable version without uninstalling the old version first. The result will be that some/many things will be taken from the old version, as seen above. IMHO, the portable version should have a qucs.bat file in the base directory that unsets QUCSDIR and then launches Qucs. And/or even better a startup message that inform the user that QUCSDIR is set and this should not normally be.\r\n> \r\n> I didn't look at the installer but I think it should make sure that QUCSDIR is either not set (best) or set to the newest Qucs (but this may break the old install)."},"comment":{"url":"https://api.github.com/repos/Qucs/qucs/issues/comments/264199885","html_url":"https://github.com/Qucs/qucs/issues/627#issuecomment-264199885","issue_url":"https://api.github.com/repos/Qucs/qucs/issues/627","id":264199885,"user":{"login":"in3otd","id":9018179,"avatar_url":"https://avatars.githubusercontent.com/u/9018179?v=3","gravatar_id":"","url":"https://api.github.com/users/in3otd","html_url":"https://github.com/in3otd","followers_url":"https://api.github.com/users/in3otd/followers","following_url":"https://api.github.com/users/in3otd/following{/other_user}","gists_url":"https://api.github.com/users/in3otd/gists{/gist_id}","starred_url":"https://api.github.com/users/in3otd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in3otd/subscriptions","organizations_url":"https://api.github.com/users/in3otd/orgs","repos_url":"https://api.github.com/users/in3otd/repos","events_url":"https://api.github.com/users/in3otd/events{/privacy}","received_events_url":"https://api.github.com/users/in3otd/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T15:17:38Z","updated_at":"2016-12-01T15:17:38Z","body":"> need to understand what QUCSDIR is trying to implement.\r\n\r\nyep, I think we already tried to understand why that variable exists and did not find a unique explanation; my impression is that different people (ab)used it for different purposes.\r\nMy understanding is that currently setting `QUCSDIR` is not *needed* to have Qucs properly working.\r\n\r\n> `QUCSDIR` is (supposed to be) a user variable. so a user should not set it, unless required.\r\n\r\nI'll tend to agree, especially for the Linux world but for Windows we have a problem: in the past the Qucs Windows installer set the `QUCSDIR` environment variable, so now every Windows user has this variable set, and very likely the user does not know/remember that this variable is set.\r\nNow, when ey tries the current Qucs \"portable\" version, the `QUCSDIR` variable will point to the old installed version and so things may/will not work as they should. This is why I wanted to explicitly inform the user that \"someone\" has previously set `QUCSDIR` for em and this may not be what em wanted."}}
{"actor":{"display_login":"in3otd"}}