Comments (5)
assume the project is orphaned?
forked it and will give it a try:
https://github.com/wolfgangr/FCSpreadsheetTools
If anybody else is working on it, please lets get in contact to avoid redundant work.
from fcspreadsheettools.
@wolfgangr, no I did not use it for years.
Cool if you can use it and if it is only the one Python2 / Python3 compatibility issue
from fcspreadsheettools.
Hi, Wilfried,
nice to find you alive and in healthy condition, obvioulsy ;-)
Well, yes, there seems to be more to it than just changing "xrange" to "range".
Following python doc, this should be a straightforward no-brainer.
now I get
...~/.local/share/FreeCAD/Macro/SpreadsheetTools.FCMacro", line 269, in paste_from_clipboard
for n_line, line in zip(range(n_cells), cbtext_split[0:n_cells]):
TypeError: 'float' object cannot be interpreted as an integer
I think that that in the process of merging @realthunder 's "Link fork", spreadsheet enjoyed a huge progress in functionality, which, of course might trigger regression bugs.
I'll go and try to understand your code now...
from fcspreadsheettools.
I think that shit happens somewhere between line 257 and 337 - where the paste is going on.
after fixing the xrange issue, I get (sometimes)
...~/FreeCAD/Macro/SpreadsheetTools.FCMacro", line 269, in paste_from_clipboard
for n_line, line in zip(range(n_cells), cbtext_split[0:n_cells]):
TypeError: 'float' object cannot be interpreted as an integer
from the code lines before (well, I'm no python crack at all ...) I can't imagine where a float could arise.
other times (may be when there are no numbers in the source selection?)
I get pasted the format string as in the clipboard 4 cells below the actual selected paste area.
Looks like I have to learn debugging FreeCAD python macros to see what's going on....
from fcspreadsheettools.
OK, after gleaning over the code, I see that simple replacement of xrange
to range
might have restored some of it's previous behaviour.
It is in "works for me" condition and looks like it does what I want, if I carefully play with the tickmarks.
I think to keep it as part of "1.0", some investment into the maturity of the code might be fine.
Any need for that? If not, I'll leave it for now.
from fcspreadsheettools.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcspreadsheettools.