Comments (24)
Hi,
I'll take a look at this ASAP, and get back to you; the code may not be triggering the correct conversion algorithm.
from aspace-import-excel.
@amberjewel : With the very small test case I created
test_dates.xlsx
I was unable to reproduce your issue. Which version of ArchiveSpace are you working with? Would you be able to attach an example of your spreadsheet?
Thanks,
Bobbi
from aspace-import-excel.
from aspace-import-excel.
Hi, the attachment didn't come through :-(
(I tested on v1.5.3, btw, but that shouldn't have mattered...)
from aspace-import-excel.
from aspace-import-excel.
aspace_import_excel_test2.xlsx
from aspace-import-excel.
There we go. I'm adjusting to GitHub as a user - I've only ever lurked before.
from aspace-import-excel.
Got it! I may not be able to get back to you before tomorrow.
Cheers,
from aspace-import-excel.
Thank you. We're trying to test this every which way before we go live with the plugin, and I appreciate any assistance.
from aspace-import-excel.
Testing every which way is a good idea 😄
Here's what I see so far:
In my tiny test, the date cell is formatted as "general".
In your spreadsheet, the date cell is formatted as "Custom" "Type: yyy-mm-dd" I'm not an excel guru (she's out today 🙁 ), so I don't know what the customizing does, but perhaps behind the scenes those yyy-mm-dd becomes a DateTime object, resulting in that time information being included when my code comes to process it, whereas perhaps when it's general, it comes through to my code as a date simple string?
I see that when I try to add a row in your spreadsheet, it converts 1984-04-06 to a Date, no matter what I do about it! This doesn't happen with my spreadsheet; I don't know enough about Excel to know how to turn it off!
Hopefully tomorrow I can grab a small amount of our Excel guru's time, because if we can figure out how to turn that off, it will go faster for you than waiting for me to make a change in the ingest code, test it, put it up on GitHub, etc.
Til tomorrow,
Bobbi
from aspace-import-excel.
from aspace-import-excel.
Hi, Amber,
Just as I was getting ready to go home for the night, a different Excel guru cruised by.
She suggested that the automatic date stuff might be caused by you using a different version of Excel than the one we used to create the template. Some investigation showed that the begin and end date columns are defined in our template as having the format "General"; if the columns are set to "Text", the automatic date stuff doesn't happen!
It will take me a little while tomorrow to get the enhanced template up on github (there is a vetting process, like doing some testing, you know 😃 ). Be warned that if (at least in the version of Excel I'm using) you change the formatting of those columns with cells of the YYYY-MM-DD format already entered, you'll get some VERY strange results.
from aspace-import-excel.
from aspace-import-excel.
Hi, Amber,
In one of those "D'OH!" moments, it occurred to me that I could upload the revised template here, so you could try it out. Here you go! You Get It First 😃
aspace_import_excel_template.xlsx
And thanks for your kind words; it's so rewarding to be working on something people actually use and need.
from aspace-import-excel.
from aspace-import-excel.
from aspace-import-excel.
Hi, Amber,
The plugin should work with 2.x (at least I coded it to do so, and tested it locally!).
Cheers,
Bobbi
from aspace-import-excel.
from aspace-import-excel.
from aspace-import-excel.
Hi Amber,
I'm Dave, a co-worker of Bobbi's. Would you be able to provide us with the spreadsheet?
I think what's happening is that you're hitting the time-out just because something in 2.x got slower or similar, and just fell past the boundary. I'd like to verify this; it certainly might be something else, after all. If that is the problem, chunking it up is probably the right move; I don't think there's really a meaningful way to stream-process Excel files, afaik.
from aspace-import-excel.
from aspace-import-excel.
Hmm, if it's attached here, I think github swallowed it - if you want to email it to dave UNDERSCORE mayo AT harvard DOT com, I'll poke at it (maybe tomorrow!)
from aspace-import-excel.
from aspace-import-excel.
I've committed the template spreadsheet; now at v1.4.
from aspace-import-excel.
Related Issues (20)
- Problem with ASpace Service starting after Plugin install HOT 12
- Processing stopped at row 6 [Error(s) parsing Excel File No processible data rows found!] HOT 11
- The file you have chosen is not an Excel Spreadsheet HOT 3
- Uploading Multiple Digital Objects to Archival Objects as import HOT 2
- Enhancements when importing archival objects with containers? HOT 3
- Ref ID not found error HOT 3
- please help with install issue HOT 20
- install issues, Bundler could not find compatible versions for gem "bundler" HOT 51
- Updating existing archival objects? HOT 3
- Search/match for agents is too loose HOT 1
- Importing Language to Archival Object Basic Info Rather than Language Notes HOT 2
- Could not find gem 'rubyXL (= 3.3.29) java' with aspace-import-excel v2.1.17 on AS 2.6.0 HOT 5
- Duplicate Entries after Import and long import time HOT 3
- Series of error upon import HOT 7
- xlink namespace in extref causes scopecontent note import to fail HOT 5
- Compatibility with AS v2.7.0? HOT 9
- Ref ID not importing into resource record HOT 2
- Language of materials note not importing into resource record HOT 6
- Won't Close If You Miss The File First Try
- Could not find gem 'rubyXL (= 3.3.29) java' with aspace-import-excel v3.0.4 on AS 2.8.1 HOT 2
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 aspace-import-excel.