Comments (4)
The advantage of strace is that it captures everything. The major downside of strace is that it captures -everything- and you have to wade through it.
I looked for ENOENT in an strace dump, and came up with these:
$ grep ENOENT strace.txt
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/chrclass/ascii", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/spool/lp/admins/lp/printers", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/spool/lp/interface", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
access("/home/josefcub/lotus.bcf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/josefcub/.l123cnf", R_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/josefcub/.terminfo", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xfff9d424) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "c:\\cmd0000.tmp", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xfff9e530) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/self/cwd/root/lotus/123.v10/ri/USA-English/license.ri", O_RDONLY) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/proc/self/cwd/root/lotus/log/123usage.log", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xfff9daac) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/proc/self/cwd/root/lotus/log/123usage.log", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xfff9dabc) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/self/cwd/root/lotus/log/123usage.log", O_WRONLY|O_CREAT, 0666) = -1 ENOENT (No such file or directory)
I haven't had much time to look at this since you fixed starting it up. I intend to attempt to figure out what else in the filesystem it needs and where, since I know 123 for DOS (as of r2.2 anyway, the only version I've kept since childhood) has everything in one dir, but this release definitely seems to have a more coherent structure to work through.
Hope this helps!
from 123elf.
Ah-ha - thanks for the debugging output. Believe it or not, I think it's not a bug!
I think if you don't specify a file on the commandline, it will try to open ~/auto123.wk3
-- your default worksheet.
If you put a worksheet there, then the error will go away. If you specify a file, there is no error:
e.g. $ ./123 -f unix -w $PWD/root/lotus/123.v10/smpfiles/TABLES.WK3
I think this is what it is trying to say in the manual (try man ./root/lotus/man/man1/123.1
), but it isn't very clear!
from 123elf.
Hmm, maybe I'm wrong, this section seems to say that it should not give an error:
123
This command runs 1-2-3 with all the defaults that you selected via the setup123 config‐
uration utility. If there is no autoretrieve file in your default 1-2-3 directory (spec‐
ified in /Worksheet Global Default Dir), 1-2-3 retrieves no file and displays a blank
worksheet.
I don't know, I'll try to trace through what it's doing.
from 123elf.
Nope - it was a bug, file locking didn't work properly :)
Unfortunately if you've run 123 before, it might have created the file ~/auto123.wk3
because of the broken locking.
from 123elf.
Related Issues (20)
- Investigate SIGWINCH handler HOT 4
- Macro / step not visible HOT 6
- BREAK Function & NUM Indicator are Disabled HOT 3
- Exploitable Stack Overflow HOT 6
- Add LICENSE HOT 3
- Segmentation fault (core dumped) HOT 5
- 'Ctrl-Z' Forces Exit to terminal losing all data HOT 6
- Exiting graph display from within a macro HOT 3
- Adding a Data Legend can mess up the graph display. HOT 1
- Math Error HOT 9
- Wiki: How to enter a formula that starts with a cell reference? HOT 2
- lotus123r3_1.0-4bionic_i386.deb does not install on 32bit system HOT 1
- Installation gets errors while extracting files HOT 6
- PIC files? HOT 4
- Appreciation; signal handling issues; typo in linux/unix flags translation? HOT 8
- Function status missing range name HOT 5
- Not a source port?
- Linux Debian 12 Bookworm Launched
- Make /File Import use a larger buffer
- Not working in fbterm 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 123elf.