Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV export/import function #8

Closed
Idrasil opened this issue Dec 16, 2014 · 4 comments
Closed

CSV export/import function #8

Idrasil opened this issue Dec 16, 2014 · 4 comments
Assignees
Labels

Comments

@Idrasil
Copy link

Idrasil commented Dec 16, 2014

Hello,
When using the PySolo - Database window, I get an error when trying to import a CSV file (File "pysolo_dv.pyo", line 999 in OnImportFromCSV Attribute Error: 'DAMlist'object has no attribute 'append'

I get this error even if I create a database, export it in CSV, restart the software and import the CSV.

Platform win 8.1.

Best,

Andrea

@ggilestro ggilestro added the Bug label Dec 18, 2014
@ggilestro ggilestro self-assigned this Dec 18, 2014
@ggilestro
Copy link
Member

Are you using the version currently on github?

@Idrasil
Copy link
Author

Idrasil commented Jan 14, 2015

Sorry for the late reply!

I used the compiled version on pysolo.net (1.0)

I also installed Python 2.7 32 bits and:

  • wxPython3.0 win32 python 2.7
  • matplotlib 1.4.2 win32 py2.7
  • numpy 1.9.1 win32 py2.7
  • scipy 0.15.0 win32 py2.7

in that order and tried to run the pysolo.py from the release on github and failed to start the software:
Screenshot of shell: http://imgur.com/j5dzmsS

I am new with Python so I don't know if I missed a step...

Best!

@Idrasil
Copy link
Author

Idrasil commented Jan 14, 2015

I installed the following packages: six, dateutil and pyparsing.
got a new error:

C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master>pysolo.py
Traceback (most recent call last):
File "C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master\pysolo.py", line 61, in
app=MyApp()
File "C:\Python27\lib\site-packages\wx-3.0-msw\wx_core.py", line 8628, in init
self._BootstrapApp()
File "C:\Python27\lib\site-packages\wx-3.0-msw\wx_core.py", line 8196, in _BootstrapApp
return core.PyApp__BootstrapApp(_args, *_kwargs)
File "C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master\pysolo.py", line 42, in OnInit
from pysolo_db import pySolo_DBFrame
File "C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master\pysolo_db.py", line 8, in
from default_panels import CustTableGrid, gridlib, SavePreferenceFile, FileDrop
File "C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master\panels\default_panels.py", line 33, in
import wxmpl
File "C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master\wxmpl.py", line 25, in
from matplotlib.axes import _process_plot_var_args
ImportError: cannot import name _process_plot_var_args

@ggilestro
Copy link
Member

It seems in matplotlib 1.4.2 that class has moved. I've fix it in the developmental version; you should either you the github version or else you can fix it yourself by changing line 25 in the file C:\Data\EPFL\Datas\Fly project\Pysolo\pySolo-master\wxmpl.py

Replace
from matplotlib.axes import _process_plot_var_args
with
from matplotlib.axes._base import _process_plot_var_args

nbeaver added a commit to nbeaver/wxmpl that referenced this issue Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants