Bitcoin Forum
December 03, 2024, 07:58:16 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bug? /usr/bin/bitcoind ""  (Read 6260 times)
mizerydearia (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 513



View Profile
September 18, 2010, 10:19:22 PM
Last edit: September 19, 2010, 10:31:56 PM by mizerydearia
 #1

When I execute
Code:
/usr/bin/bitcoind
bitcoin daemon starts as expected.

When I execute
Code:
/usr/bin/bitcoind ""
error: couldn't connect to server

How come?  Is this a bug?

Satoshi: May we have a bug tracking system please? (size reduced since it was noticed by satoshi and is no longer necessary to stand out, which was meant as a bit humorous anyhow.)

Workaround for my gentoo linux init script:
Code:
BITCOIN_OPTS="-min"
which will then execute as `bitcoind "-min"`
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
September 18, 2010, 11:00:56 PM
Last edit: January 22, 2018, 06:04:14 AM by LZ
 #2

So we have to choose something. May be Mantis?

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
mizerydearia (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 513



View Profile
September 18, 2010, 11:42:52 PM
 #3

I sent sourceforge-based message to Satoshi suggesting enabling MantisBT or Trac.  Perhaps he will notice it.
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
September 19, 2010, 03:16:54 PM
 #4

When I execute
Code:
/usr/bin/bitcoind
bitcoin daemon starts as expected.

When I execute
Code:
/usr/bin/bitcoind ""
error: couldn't connect to server

How come?  Is this a bug?

Satoshi: May we have a bug tracking system please?

Workaround for my gentoo linux init script:
Code:
BITCOIN_OPTS="-min"
which will then execute as `bitcoind "-min"`

How is this a bug? I may be reading it completely wrong but:
Code:
/usr/bin/bitcoind
starts the daemon whereas
Code:
/usr/bin/bitcoind ""
calls the rpc method "" in the running daemon which is not there, so you get the can't connect. If it were there you'd get:
Code:
error: {"code":-32601,"message":"Method not found"}

Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2311


Chief Scientist


View Profile WWW
September 19, 2010, 03:19:57 PM
 #5

I agree with nelisky-- not a bug.  Here's what the unix cat command has to say about "":
Code:
> cat ""
cat: : No such file or directory

How often do you get the chance to work on a potentially world-changing project?
satoshi
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 7424


View Profile
September 19, 2010, 07:58:11 PM
Merited by lucky80 (10), Micio (1)
 #6

I don't know anything about any of the bug trackers.  If we were to have one, we would have to make a thoroughly researched choice.

We're managing pretty well just using the forum.  I'm more likely to see bugs posted in the forum, and I think other users are much more likely to help resolve and ask follow up questions here than if they were in a bug tracker.  A key step is other users helping resolve the simple stuff that's not really a bug but some misunderstanding or confusion.

I keep a list of all unresolved bugs I've seen on the forum.  In some cases, I'm still thinking about the best design for the fix.  This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them.
BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
September 19, 2010, 08:18:18 PM
 #7

Maybe, they could be made sticky?
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
September 19, 2010, 08:59:17 PM
 #8

I don't know anything about any of the bug trackers.  If we were to have one, we would have to make a thoroughly researched choice.

We're managing pretty well just using the forum.  I'm more likely to see bugs posted in the forum, and I think other users are much more likely to help resolve and ask follow up questions here than if they were in a bug tracker.  A key step is other users helping resolve the simple stuff that's not really a bug but some misunderstanding or confusion.

I keep a list of all unresolved bugs I've seen on the forum.  In some cases, I'm still thinking about the best design for the fix.  This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them.

There are many, many bug trackers out there, and I've worked with a good bunch of them. The good thing about any of these is organization, and preventing other users from posting duplicate bug reports (well, to the point where the user looks for them first Smiley ).

But what I would really see improving things as we go on is git (or bazaar, or another decentralized source tracking system) and a door to give satoshi patches for consideration. This goes for both bugs and enhancements. In the end, as long as the sole keeper or the bitcoin key is satoshi, we just need whatever means of communication he feels better with. Forums, you say? Well, good enough, I guess.

But something like trac (http://trac.edgewall.org/) would really help keeping things organized, and I'm sure everyone would appreciate it.
mizerydearia (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 513



View Profile
September 19, 2010, 10:39:49 PM
Last edit: September 19, 2010, 11:55:49 PM by mizerydearia
 #9

I agree with using something like trac or mantisbt.  I suggest we try one of those two and if it helps improve things, then continue using it.  Otherwise it it doesn't seem to work, we still have the forum and nothing is lost.

Also, since `bitcoind ""` is not a bug, then for my gentoo linux ebuild init script to exec as that (dependent on /etc/conf.d/bitcoin containing BITCOIN_OPTS="") is the bug and I will fix that.
Fixed!
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
September 20, 2010, 03:14:47 AM
 #10

As I know Trac is not so multilingual as MantisBT.
So I prefer MantisBT, moreover, I already used it.
But if Satoshi prefer forum - we will use forum. Smiley

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
nimnul
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile WWW
September 20, 2010, 07:15:00 PM
 #11

I vote for Trac.

mizerydearia (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 513



View Profile
September 20, 2010, 10:19:26 PM
 #12

As long as Bitcoin community doesn't contain 10,000+ developers, trac seems suitable.
Trac can communicate directly with the SVN repository and track live changesets that are linked to ticket IDs.
http://retrospectiva.org/ looks interesting and it is based on ror, therefore it is obviously a serious bug tracker for adults
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
September 20, 2010, 10:23:29 PM
 #13

As I know Trac is not so multilingual as MantisBT.
So I prefer MantisBT, moreover, I already used it.
But if Satoshi prefer forum - we will use forum. Smiley

You mean multilingual as in programming languages or spoken languages? Because for the latter I think it's in everyone's benefit we stick to English, and as for the former, I don't see how that can be an issue.

I never used MantisBT, but I'm always up for learning something new. Having said that, the one most people are comfortable with would be my first choice.
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
September 21, 2010, 01:59:25 AM
 #14

I am about interface languages. Yes, most reports should be in English.
But an interface in the native language - it is very nice. Do you agree?

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
September 21, 2010, 02:03:36 AM
 #15

I am about interface languages. Yes, most reports should be in English.
But an interface in the native language - it is very nice. Do you agree?

Well, I don't know what your native language is, but most tech terms don't have real translations to Portuguese, and instead translators use some sound-alike replacement that is usually both lame and wrong. I'll take english for any multi-lingual computer related project, thank you Smiley

But I understand that often people's grasp of the English language is less than perfect, and makes their life easier to have native language interfaces, so yeah, I agree, but my interface will remain in English, regardless.
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
September 21, 2010, 02:13:07 AM
 #16

We use English, not because it is a certain standard, so it is not. But because it is more common.

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!