[Eric] error using git

2019-05-05 Thread Ian Proudler

I am getting the following error when trying to use git (v2.17.1).

(Apologies if this not the correct place to report the issue. I briefly 
saw an email address when the error first occurred but can't remember it)



2019-05-05, 17:58:58

:
'NoneType' object has no attribute 'vcsDiff'

  File 
"/home/ian/eric_venv/lib/python3.6/site-packages/eric6/VCS/ProjectHelper.py", 
line 544, in _vcsDiff

    self.vcs.vcsDiff(self.project.ppath)


Version Numbers:
  Python 3.6.7, 64-Bit
  Qt 5.12.2
  PyQt 5.12.1
  sip 4.19.15
  QScintilla 2.11.1
  WebEngine 69.0.3497.128
  eric6 19.5 (rev. 68256afbba26)

Platform: linux
3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0]

Desktop: XFCE

Plugins Version Numbers:
  PluginAbout 19.5
  PluginCodeStyleChecker 19.5
  PluginEricapi 19.5
  PluginEricdoc 19.5
  PluginSyntaxChecker 19.5
  PluginTabnanny 19.5
  PluginTranslator 19.5
  PluginVcsGit 19.5
  PluginVcsMercurial 19.5
  PluginVcsPySvn 19.5
  PluginVcsSubversion 19.5
  PluginVmListspace 19.5
  PluginVmTabview 19.5
  PluginWizardDotDesktop 19.5
  PluginWizardE5MessageBox 19.5
  PluginWizardEricPlugin 19.5
  PluginWizardPyRegExp 19.5
  PluginWizardQColorDialog 19.5
  PluginWizardQFileDialog 19.5
  PluginWizardQFontDialog 19.5
  PluginWizardQInputDialog 19.5
  PluginWizardQMessageBox 19.5
  PluginWizardQRegExp 19.5
  PluginWizardQRegularExpression 19.5
  PluginWizardSetup 19.5

Distribution Info:
  /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"

  /etc/os-release
  NAME="Ubuntu"
  VERSION="18.04.2 LTS (Bionic Beaver)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 18.04.2 LTS"
  VERSION_ID="18.04"
  HOME_URL="https://www.ubuntu.com/";
  SUPPORT_URL="https://help.ubuntu.com/";
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
  VERSION_CODENAME=bionic
  UBUNTU_CODENAME=bionic

___
Eric mailing list
Eric@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/eric


[Eric] more on snap segmentation fault

2019-05-05 Thread Ian Proudler

I have discovered one can run a snap app with gdb.

Using the command ' snap run --gdb eric-ide.eric' I get the error trace 
below.


Does this shed any light on the issue?

Ian

.

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x7f7263e2cc59 in ?? ()
   from /snap/eric-ide/85/usr/lib/x86_64-linux-gnu/dri/i965_dri.so
(gdb)
Continuing.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
(gdb) [Thread 0x7f726fb24700 (LWP 5253) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


___
Eric mailing list
Eric@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/eric


[Eric] segmentation fault

2019-05-05 Thread Ian Proudler

Hi,

I had Eric 19.04 running under snap. However I messed up the git 
repository so I removed Eric and reinstalled.


Now I get a segmentation fault when I try to launch Eric.

I have removed Eric and reinstalled it several times (using the Xubuntu 
software app and manually from the command line with reboots between 
removal and reinstallation) but nothing works.


In case it is important, the working version created a folder called 
'42' under ~/snap/eric-ide whereas the new version created a file called 
'85'.


I note that the command on the start menu is:

env 
BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/eric-ide_eric.desktop 
/snap/bin/eric-ide.eric %U


but there is no file 
/var/lib/snapd/desktop/applications/eric-ide_eric.desktop


Running just ' /snap/bin/eric-ide.eric %U' also produces a segmentation 
fault.


I have Skype installed as a snap package and that works OK.

I'm using Xubuntu 18.04.2 LTS

Any ideas?

Many thanks,

Ian


___
Eric mailing list
Eric@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/eric


[Eric] Ubuntu Snap Version and os.system

2019-05-03 Thread Ian Proudler

Hi,

I have installed Eric-IDE on an Ubuntu machine. It is a snap package.

The IDE is awesome.

However I am having a problem using os.system().

Specifically I want to make a 'beep' sound. I have 'speaker-test' on my 
machine and it works from a terminal. Unfortunately given the snap setup 
there is no 'speaker-test' in /snap/eric-ide/42/usr/bin/.


Is there anything I can do about this?

Many thanks,

Ian

___
Eric mailing list
Eric@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/eric