Comments (9)
In fact, all my mappings - hitherto just fine - are now "not well formed".
from mik.
@bondjimbond sorry, I don't have time to test, but can you clarify that if you use MIK to generate content (i.e, not run its checks), do things work as expected? Perhaps the problem is with the check code. But, as to why it would suddenly stop working like it used to, I have no idea.
from mik.
Nope, it crashes out.
Fatal error: Uncaught mik\exceptions\MikErrorException in /Users/brandon/sfuvault/mik/mik:105
Stack trace:
#0 /Users/brandon/sfuvault/mik/src/fetchers/Csv.php(94): {closure}(8, 'Undefined index...', '/Users/brandon/...', 94, Array)
#1 /Users/brandon/sfuvault/mik/src/fetchers/Csv.php(130): mik\fetchers\Csv->getRecords()
#2 /Users/brandon/sfuvault/mik/mik(131): mik\fetchers\Csv->getNumRecs()
#3 {main}
thrown in /Users/brandon/sfuvault/mik/mik on line 105
from mik.
Have their been any code changes since it stopped working?
from mik.
None. The only difference is that I am running the same .ini file with a new metadata CSV -- but no changes to the mapping file, which is the file that's throwing errors.
from mik.
I'm sorry, I can't think of why that is happening. Not sure if @MarcusBarnes has any insights.
from mik.
Ack, looks like an OpenOffice problem. Somehow it's saving my files without quoting the cells, even though they're opening with quotes. What the heck.
from mik.
What happened:
- Allowed my Mac to install Numbers
- Numbers made itself the default program for CSVs
- ???
- Numbers messed up my recently-opened CSVs even though they were only opened and saved with OpenOffice
Solution:
- Make sure CSV default is OpenOffice
- Copy an older mapping CSV
- Rewrite
- Seems to work now
from mik.
Good to hear it was a Numbers problem. Can't go wrong with LibreOffice, in my experience.
from mik.
Related Issues (20)
- include_migrated_from_uri hard-codes SFU URL HOT 11
- regex_replace filter not available? HOT 9
- Postwritehook suggestion: reorganize output by filetype? HOT 3
- CDM toolchains extracting wrong files due to repeating ID numbers HOT 6
- Toolchain: CONTENTdm compound PDFs HOT 33
- CSV Compound Child metadata ignored HOT 7
- Make extensions of page images configurable in CSV Book and Newspaper toolchains HOT 1
- Test using PHP 7.2 and 7.3
- CsvBooks doesn't like periods in filenames HOT 17
- checkconfig doesn't detect missing CSV input file
- Simple Archive toolchain HOT 72
- OAI toolchain error: "Undefined namespace prefix" HOT 1
- OAI toolchain error: "No such file or directory" HOT 1
- OAI-PMH Filegetter only works for DC HOT 11
- OAI: If item identifier has special characters, temp metadata filename doesn't match filegetter HOT 4
- Islandora 8: Create a toolchain that produces YAML config files for CSV migrations HOT 1
- CsvCompound fails to create directories HOT 1
- Delimiter problem in CSV Newspapers toolchain? HOT 15
- Mysterious failures in the CSV Newspaper toolchain HOT 8
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 mik.