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

Current git crashes when updating pool #10

Closed
steinm opened this issue Nov 6, 2017 · 3 comments
Closed

Current git crashes when updating pool #10

steinm opened this issue Nov 6, 2017 · 3 comments

Comments

@steinm
Copy link

steinm commented Nov 6, 2017

I just called the pool mgr and updated it. I'm running horizon on debian sid

./horizon-pool-mgr
SELECT parts.uuid, parts.MPN, parts.manufacturer, packages.name, GROUP_CONCAT(tags.tag, ' '), parts.filename FROM parts LEFT JOIN tags ON tags.uuid = parts.uuid LEFT JOIN packages ON packages.uuid = parts.package WHERE parts.MPN LIKE ? AND parts.manufacturer LIKE ? AND (parts.entity=? or ?) GROUP BY parts.uuid ORDER BY parts.MPN ASC
SELECT parts.uuid, parts.MPN, parts.manufacturer, packages.name, GROUP_CONCAT(tags.tag, ' '), parts.filename FROM parts LEFT JOIN tags ON tags.uuid = parts.uuid LEFT JOIN packages ON packages.uuid = parts.package WHERE parts.MPN LIKE ? AND parts.manufacturer LIKE ? AND (parts.entity=? or ?) GROUP BY parts.uuid ORDER BY parts.MPN ASC
hello from thread
tags
entities
symbols
terminate called after throwing an instance of 'std::out_of_range'
what(): key 'unit' not found
Abgebrochen

@carrotIndustries
Copy link
Member

Did you add any new symbols to the pool? It'd be great if you could provide a backtrace:

 gdb ./horizon-pool-mgr
 catch throw
 run
 #when it crashes
 bt

@steinm
Copy link
Author

steinm commented Nov 6, 2017

I suppose I found the reason. I created an entity below the symbols folder instead of the entities folder. I just wonder why the file dialog opened the symbols folder in the first place when saving the entity.

@carrotIndustries
Copy link
Member

That was just a copy/paste issue, but in the long term the pool manager should prevent creating things in the wrong directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants