Re: [mnemosyne-proj-users] Can't install mnemosyne 2.6 on ubuntu 17.10 have the errors shown below.

2018-01-29 Thread Jim Fuqua
Thanks, Peter.  *sudo python3 setup.py install* from the* Mnemosyne-2.6* 
folder worked. I also changed the permissions of setup.py to execute, but 
don't know if that was necessary but it worked. 

I spent half a day yesterday not doing it correctly.  With your help, it 
took five minutes.

Jim Fuqua

On Monday, January 29, 2018 at 10:11:17 AM UTC-6, Peter Bienstman wrote:
>
> To install, can you use ‘python3 setup.py install’?
>
>  
>
> Cheers,
>
>  
>
> Peter
>
>  
>
> *From:* mnemosyne-...@googlegroups.com  [mailto:
> mnemosyne-...@googlegroups.com ] *On Behalf Of *Jim Fuqua
> *Sent:* 29 January 2018 00:57
> *To:* mnemosyne-proj-users 
> *Subject:* [mnemosyne-proj-users] Can't install mnemosyne 2.6 on ubuntu 
> 17.10 have the errors shown below.
>
>  
>
> Don't know what I am doing, but I have tried the following:
>
>  
>
> jim@jim-dell:~/Downloads/mnemosyne-master$ sudo python setup.py
>
>   File "setup.py", line 22
>
> "Changes to this script", file=ofi)
>
>   ^
>
> SyntaxError: invalid syntax
>
> jim@jim-dell:~/Downloads/mnemosyne-master$ 
>
>  
>
> setup.py without sudo gives this error:
>
> jim@jim-dell:~/Downloads/mnemosyne-master$ python3 setup.py
>
> /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown 
> distribution option: 'app'
>
>   warnings.warn(msg)
>
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>
>or: setup.py --help [cmd1 cmd2 ...]
>
>or: setup.py --help-commands
>
>or: setup.py cmd --help
>
>  
>
> error: no commands supplied
>
>  
>
>  
>
> THIS OPENS mnemosyne 2.6 as root: (seemes to work ok as superuser, but 
> gives the following messages)
>
> jim@jim-dell:~/Downloads/mnemosyne-master$ sudo make
>
> cd mnemosyne/pyqt_ui && make
>
> make[1]: Entering directory 
> '/home/jim/Downloads/mnemosyne-master/mnemosyne/pyqt_ui'
>
> pyrcc5 mnemosyne.qrc -o mnemosyne_rc.py
>
> make[1]: Leaving directory 
> '/home/jim/Downloads/mnemosyne-master/mnemosyne/pyqt_ui'
>
> cd mnemosyne/pyqt_ui && pyrcc5 -o mnemosyne_rc.py mnemosyne.qrc
>
> # For debugging: running the code in place.
>
> PYTHONPATH=. python3 mnemosyne/pyqt_ui/mnemosyne -d dot_mnemosyne2
>
> Warning: Could not import OpenGL. Might cause a black screen on some Linux 
> distributions. Try installing python3-opengl in that case.
>
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>
> libpng warning: iCCP: known incorrect sRGB profile
>
> libpng warning: iCCP: known incorrect sRGB profile
>
> libpng warning: iCCP: known incorrect sRGB profile
>
> libpng warning: iCCP: known incorrect sRGB profile
>
> libpng warning: iCCP: known incorrect sRGB profile
>
> [0128/112714.782644:ERROR:nss_util.cc(94)] Failed to create 
> /home/jim/.pki/nssdb directory.
>
> QIODevice::write (QProcess): device not open
>
> QIODevice::write (QProcess): device not open
>
> QXcbConnection: XCB error: 3 (BadWindow), sequence: 797, resource id: 
> 13486085, major code: 40 (TranslateCoords), minor code: 0
>
> QIODevice::write (QProcess): device not open
>
> QIODevice::write (QProcess): device not open
>
> QIODevice::write (QProcess): device not open
>
>  
>
>  
>
> When running make without sudo I get this error:
>
> An unexpected error has occurred.
>
> Please forward the following info to the developers:
>
>  
>
> Traceback (innermost last):
>
>   File "mnemosyne/pyqt_ui/mnemosyne", line 262, in 
>
> debug_file=options.debug_file)
>
>   File 
> "/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/__init__.py", 
> line 200, in initialise
>
> self.activate_components()
>
>   File 
> "/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/__init__.py", 
> line 278, in activate_components
>
> self.component_manager.current("config").activate()
>
>   File 
> "/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/configuration.py",
>  
> line 107, in activate
>
> self.set_defaults()
>
>   File 
> "/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/configuration.py",
>  
> line 212, in set_defaults
>
> self.save()
>
>   File 
> "/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/configuration.py",
>  
> line 270, in save
>
> ((key, repr(value)) for key, value in self.items()))
>
>  sqlite3.OperationalError: attempt to write a readonly database
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mnemosyne-proj-users+unsubscr...@googlegroups.com .
> To post to this group, send email to mnemosyne...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mnemosyne-proj-users/defdac16-aac3-4a50-8e9e-301cd451dd22%40googlegroups.com
>  
> 

RE: [mnemosyne-proj-users] Can't install mnemosyne 2.6 on ubuntu 17.10 have the errors shown below.

2018-01-29 Thread Peter Bienstman
To install, can you use ‘python3 setup.py install’?

Cheers,

Peter

From: mnemosyne-proj-users@googlegroups.com 
[mailto:mnemosyne-proj-users@googlegroups.com] On Behalf Of Jim Fuqua
Sent: 29 January 2018 00:57
To: mnemosyne-proj-users 
Subject: [mnemosyne-proj-users] Can't install mnemosyne 2.6 on ubuntu 17.10 
have the errors shown below.

Don't know what I am doing, but I have tried the following:

jim@jim-dell:~/Downloads/mnemosyne-master$ sudo python setup.py
  File "setup.py", line 22
"Changes to this script", file=ofi)
  ^
SyntaxError: invalid syntax
jim@jim-dell:~/Downloads/mnemosyne-master$

setup.py without sudo gives this error:
jim@jim-dell:~/Downloads/mnemosyne-master$ python3 setup.py
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution 
option: 'app'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied


THIS OPENS mnemosyne 2.6 as root: (seemes to work ok as superuser, but gives 
the following messages)
jim@jim-dell:~/Downloads/mnemosyne-master$ sudo make
cd mnemosyne/pyqt_ui && make
make[1]: Entering directory 
'/home/jim/Downloads/mnemosyne-master/mnemosyne/pyqt_ui'
pyrcc5 mnemosyne.qrc -o mnemosyne_rc.py
make[1]: Leaving directory 
'/home/jim/Downloads/mnemosyne-master/mnemosyne/pyqt_ui'
cd mnemosyne/pyqt_ui && pyrcc5 -o mnemosyne_rc.py mnemosyne.qrc
# For debugging: running the code in place.
PYTHONPATH=. python3 mnemosyne/pyqt_ui/mnemosyne -d dot_mnemosyne2
Warning: Could not import OpenGL. Might cause a black screen on some Linux 
distributions. Try installing python3-opengl in that case.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[0128/112714.782644:ERROR:nss_util.cc(94)] Failed to create 
/home/jim/.pki/nssdb directory.
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
QXcbConnection: XCB error: 3 (BadWindow), sequence: 797, resource id: 13486085, 
major code: 40 (TranslateCoords), minor code: 0
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open


When running make without sudo I get this error:
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "mnemosyne/pyqt_ui/mnemosyne", line 262, in 
debug_file=options.debug_file)
  File 
"/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/__init__.py", line 
200, in initialise
self.activate_components()
  File 
"/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/__init__.py", line 
278, in activate_components
self.component_manager.current("config").activate()
  File 
"/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/configuration.py", 
line 107, in activate
self.set_defaults()
  File 
"/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/configuration.py", 
line 212, in set_defaults
self.save()
  File 
"/home/jim/Downloads/mnemosyne-master/mnemosyne/libmnemosyne/configuration.py", 
line 270, in save
((key, repr(value)) for key, value in self.items()))
 sqlite3.OperationalError: attempt to write a readonly database

--
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
mnemosyne-proj-users+unsubscr...@googlegroups.com.
To post to this group, send email to 
mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/defdac16-aac3-4a50-8e9e-301cd451dd22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mnemosyne-proj-users+unsubscr...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/0479c18957eb4c99a4ed2d5911917335%40xmail102.UGent.be.
For more options, visit https://groups.google.com/d/optout.