[Eric] error using git

Detlev Offenbach detlev at die-offenbachs.de
Tue May 7 17:49:35 BST 2019


Hi Ian,

this sounds really strange. However, I must admit, that the git support is not 
as heavily tested as the Mercurial support because the later is the VCS used 
for eric and its plug-ins. Maybe some other user here on the list may have 
some ideas.

Regards,
Detlev

Am Dienstag, 7. Mai 2019, 18:13:46 CEST schrieb Ian Proudler:
> Detlev,
> 
> I installed the non-snap version of eric as per your instructions. I
> opened the main python file of my code. I then clicked on the 'add to
> repository' button in the second row of the eric main window. Nothing
> happened. Clicking on the 'show external tools' button (main window
> right hand column) I saw that git was not present.I installed git using
> 'apt'.
> 
> I can't remember if I restarted eric or not. I clicked on the 'add to
> repository' button again and then various things happened but I may have
> misremembered the exact order. There was a pop up window that asked
> where to save a .e4p file. Then there was a window that listed all the
> files being versioned. Then a window that said I needed to  tell git my
> name and email address (via the command line) which I did.
> 
> The next time I used eric, I clicked on the 'git status' button (2nd
> row, main window). That's when I got the error message.
> 
> Today however the git buttons  are hidden except for the 'show log
> browser' one and the '>>' symbol. They are both greyed out and clicking
> on them does nothing.
> 
> This may not be relevant but I'm also getting a pop up window when I
> first login to the desktop saying there is problem with a system file.
> Clicking on the button 'report problem ,,,' makes the window disappear
> but nothing else seems to happen. I mention this because a similar thing
> (i.e. the OS got corrupted) happened the last time I tried to use python
> (also on Xnbuntu). This was the main reason I went for the snap version
> as I believe that that would have isolated the OS from the python
> installation.
> 
> Anyway, thanks for all your help,
> 
> Ian
> 
> On 06/05/2019 17:24, Detlev Offenbach wrote:
> > Hi Ian,
> > 
> > please give a step-by-step instruction to reproduce the issue. I just
> > tried it over here and it worked fine. However, I might have missed your
> > specific circumstances.
> > 
> > Detlev
> > 
> > Am Sonntag, 5. Mai 2019, 19:12:02 CEST schrieb 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
> >> -------------------------------------------------------------------------
> >> --- ---- <class 'AttributeError'>:
> >> '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/priva
> >> cy-> policy" VERSION_CODENAME=bionic>> 
> >>     UBUNTU_CODENAME=bionic
> >> 
> >> _______________________________________________
> >> Eric mailing list
> >> Eric at riverbankcomputing.com
> >> https://www.riverbankcomputing.com/mailman/listinfo/eric

-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the Eric mailing list